0

I want to create a MS-Windows bootable usb using linux (I'm using rpi4 to do it). I formatted the usb mass-storage-device as follow:

df -h 
sudo umount /dev/sda1
udo mkfs.ntfs  /dev/sda1

Then I used Woeusb to create a bootable key. The problem is, when I open the Bios menu the usb key is not mentioned in the list of options.

Is there any other solution to create an efficient MS-Windows usb bootable using linux commands or another tools that I can use on rpi4?

sudo fdisk -l /dev/sda
Disk /dev/sda: 28.7 GiB, 30765219840 bytes, 60088320 sectors
Disk model: Ultra Fit       
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8ce29cf2

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1           8192 60087295 60079104 28.7G  7 HPFS/NTFS/exFAT
/dev/sda2       60087296 60088319     1024  512K  e W95 FAT16 (LBA)

Boot 1

Boot folder:

boot2

4
  • I added to my question
    – P.A
    Dec 12, 2020 at 16:17
  • Try setting the boot flag for your second partition. fdisk /dev/sda -> a -> 2 -> w -> q Dec 12, 2020 at 16:23
  • Disk /dev/sda: 28.7 GiB, 30765219840 bytes, 60088320 sectors Disk model: Ultra Fit Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x8ce29cf2 Device Boot Start End Sectors Size Id Type /dev/sda1 8192 60087295 60079104 28.7G 7 HPFS/NTFS/exFAT /dev/sda2 * 60087296 60088319 1024 512K e W95 FAT16 (LBA)
    – P.A
    Dec 12, 2020 at 16:43
  • But still the same issue with the bios.
    – P.A
    Dec 12, 2020 at 16:44

1 Answer 1

0

After trying many solutions and different tools to create a bootable usb key to reinstall windows on my laptop. I finally discovered a great and amazing article Creating a Bootable Windows 10 UEFI USB Drive Using Linux which resolved the issue and I can create a bootable key sucessfully.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .