I'm trying to build myself a multi-OS-boot USB flash drive, incl. Windows and Linux OS's.
I am using Linux as the tool/utiliy machine.
Win10 ISO file
I've tried the following:
dd if=my.iso of=/dev/sda3 bs=1Mto "burn" the ISO directly to the partition. But the partiton is somehow not readable by neither WinPE or EFI. Running
diskpartin WinPE list the partition as
lsblklist the partition as
FS=udf. EFI cannot see it when I try to browse to the partition for the efi boot file.
- Mounted the ISO file and tried both
cpto copy all files and folders to the partition (formated as FAT32). But
targave a lot of permissions errors on many of the files and
cpcouldn't copy the
/sources/install.wimas it's above 4GB!
- Tried to copy files/foldes to the partition formated as NTFS. Now I could copy everything but now the EFI cannot read the \EFI subfolder so I have to do a
bcdbootfrom WinPE, but it give the error
Failure when attempting to copy boot files. Not sure if it cannot find source files or the target EFI partition on the usb flash drive (could not assign drive-letter to it from
I ran out of ideas....help!
I guess I could just copy
c:\bootmgr.efi to the EFI parition and make a boot entry for it (using
systemd-boot) but it doesn't know which parititon Windows is installed to, i assume bscboot would fix that, right?