Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows won't boot #100

Open
kurokirasama opened this issue Jun 4, 2022 · 7 comments
Open

windows won't boot #100

kurokirasama opened this issue Jun 4, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@kurokirasama
Copy link

Describe the bug

Hello, I burned a windows 7 iso with:

sudo ./woeusb-5.2.4.bash --device /home/kira/temp/windows_home_premium.iso /dev/sdc

the procedure looked fine, so I went to the windows pc, boot from usb and the screen got stuck in "starting windows" logo.

What did I do wrong?

The iso is OK because I could used in virtualbox without issues. The usb stick should be fine too since I installed my current ubuntu from there.

To Reproduce

Steps to reproduce the behavior:

Already explained

Expected behavior

Windows PC should boot from usb.

Teminal output

If applicable, add terminal output to help explain your problem. Please avoid pasting screenshots whenever possible.

WoeUSB v5.2.4
==============================
Info: Mounting source filesystem...
Info: Wiping all existing partition table and filesystem signatures in /dev/sdc...
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Info: Ensure that /dev/sdc is really wiped...
Info: Creating new partition table on /dev/sdc...
Info: Creating target partition...
Info: Making system realize that partition table has changed...
Info: Wait 3 seconds for block device nodes to populate...
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
Info: Mounting target filesystem...
Info: Copying files from source media...
Writing "/tmp/woeusb-target-20220604-104307-Saturday.Cbu9J1/./sources/install.swm" (part 1 of 2): 0 MiB of 5444 MiB (0%) written
Writing "/tmp/woeusb-target-20220604-104307-Saturday.Cbu9J1/./sources/install2.swm" (part 2 of 2): 4093 MiB of 5444 MiB (75%) written
Finished writing split WIM part 2 of 2
Warning: Source media seems to be Windows 7-based with EFI support, applying workaround to make it support UEFI booting
Info: Installing GRUB bootloader for legacy PC booting support...
Installing for i386-pc platform.
Installation finished. No error reported.
Info: Installing custom GRUB config for legacy PC booting...
Info: Done :)
Info: The target device should be bootable now
Info: Unmounting and removing "/tmp/woeusb-source-20220604-104307-Saturday.WmbqEZ"...
Info: Unmounting and removing "/tmp/woeusb-target-20220604-104307-Saturday.Cbu9J1"...

Environment

  • OS: Ubuntu 20.04.4 LTS x86
  • Bash: 5.0.17(1)-release (x86_64-pc-linux-gnu)
  • WoeUSB: 5.2.4

Additional context

Add any other context about the problem here.

@kurokirasama kurokirasama added the bug Something isn't working label Jun 4, 2022
@JonnyTech
Copy link
Contributor

Try using the NTFS option.

@kurokirasama
Copy link
Author

Try using the NTFS option.

You mean like this:

sudo ./woeusb-5.2.4.bash --target-filesystem  NTFS --device /home/kira/temp/windows_home_premium.iso /dev/sdc

?

@kurokirasama
Copy link
Author

kurokirasama commented Jun 4, 2022

Here's the result, but I'm facing same issue:

WoeUSB v5.2.4
==============================
Info: Mounting source filesystem...
Info: Wiping all existing partition table and filesystem signatures in /dev/sdc...
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Info: Ensure that /dev/sdc is really wiped...
Info: Creating new partition table on /dev/sdc...
Info: Creating target partition...
Info: Making system realize that partition table has changed...
Info: Wait 3 seconds for block device nodes to populate...
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.
--2022-06-04 11:15:40--  https://cdn.jsdelivr.net/gh/pbatard/rufus@b30e3b387a3ca7a5e2fddebcc2c8f9538a89b868/res/uefi/uefi-ntfs.img
Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 104.16.89.20, 104.16.88.20, 104.16.86.20, ...
Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|104.16.89.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1048576 (1,0M) [application/octet-stream]
Saving to: ‘/tmp/WoeUSB.tempdir.JcxCIP/uefi-ntfs.img’

uefi-ntfs.img                                   100%[=====================================================================================================>]   1,00M  --.-KB/s    in 0,08s   

2022-06-04 11:15:40 (13,1 MB/s) - ‘/tmp/WoeUSB.tempdir.JcxCIP/uefi-ntfs.img’ saved [1048576/1048576]

2048+0 records in
2048+0 records out
1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,123303 s, 8,5 MB/s
Info: Mounting target filesystem...
Info: Copying files from source media...
Warning: Source media seems to be Windows 7-based with EFI support, applying workaround to make it support UEFI booting
Info: Installing GRUB bootloader for legacy PC booting support...
Installing for i386-pc platform.
Installation finished. No error reported.
Info: Installing custom GRUB config for legacy PC booting...
Info: Done :)
Info: The target device should be bootable now
Info: Unmounting and removing "/tmp/woeusb-source-20220604-111530-Saturday.XeyjkE"...
Info: Unmounting and removing "/tmp/woeusb-target-20220604-111530-Saturday.1moElM"...

I'll try a windows 10 iso now...

@JonnyTech
Copy link
Contributor

Hello, I burned a windows 7 iso with:

Hang on, Windows 7? Is your system a modern USB3 type spec? Windows 7 probably won't have the drivers to access the USB drive. You need to research how to embed the correct drivers within the installer, specifically the boot.wim file to boot correctly.

@kurokirasama
Copy link
Author

ok, thanks! I have not used windows in a long time so I'm a little bit outdated in my knowledge

@Nadawr
Copy link

Nadawr commented Jul 18, 2022

Use uefi or leacy but i use cmos and it boot normally but i use ntfs and mbr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants