What if instead of using special soft like Unetbootin or Rufus do the following way. Unpack Iso, then select and copy files to the stick via file manager. Will such stick be bootable? If so then what system can be booted this way (Windows, Linux or any)?
-
1It's common practice to search on google/SU for the answer (especially for easy and common questions), before posting here. Make sure to read [How to ask](https://superuser.com/help/how-to-ask) guide. – Service Desk Bunny May 26 '22 at 07:47
2 Answers
It may be bootable, but it depends.
For UEFI, it will indeed be bootable as long as the ISO file included the "EFI" directory with the correct contents – and as long as the USB stick is formatted as FAT32. (Not NTFS or exFAT. Some firmwares may support those but only FAT is standard.)
You can actually make a Windows USB stick this way, after using DISM to split the oversized Install.wim so that it fits on FAT32. (It may also work for Linux distributions, but I haven't really tried.)
For BIOS (aka "legacy boot") it's harder, as the disk needs to have the correct boot sectors (MBR and VBR), which need to match whatever bootloader is included in the disk. For example, if you're making a Windows 10 USB stick, it'll have the "BOOTMGR" file that's the main bootloader – but BIOS can't find that file on its own, it relies on the disk's own VBR to do that.
All of this can be done relatively easily, though – for Windows you have bootsect to install the MBR and VBR, for Linux you might use extlinux or grub-install. Indeed some Linux distributions like Slax come as simple file archives that you extract into a FAT32 disk and use an included batch script to write the Syslinux MBR/VBR onto it.
- 426,297
- 64
- 894
- 966
-
1Note that if OP has a modern UEFI system, they usually won't need to split `install.wim` as almost all the modern UEFI firmwares (I have validated that the ones from Asus, Gigabyte and Intel do), support NTFS for UEFI. So all that's needed to create a Windows installation drive for a modern system is to format a USB Flash Drive to NTFS and extract the Windows ISO content there. And at least for Debian and Ubuntu, when booting in UEFI mode, just extracting the content to a FAT32 formatted drive will also work. – Akeo May 26 '22 at 12:49
While copying the files is 99% of the task, it is not enough for creating a bootable USB - the disk must be correctly formatted and the partition table correctly created.
For example, for creating a Windows 10 bootable USB, it must be first prepared using the built-in diskpart utility as follows:
Run the Command Prompt (CMD) and enter the
diskpartcommandIn the diskpart window, type
list diskto find your USB device. I assume that your hard disk is number0and the USB is number1.Type the following series of commands :
select disk 1 clean (to format the drive) create partition primary select partition 1 active (to activate the current partition) format fs=ntfs exit
You may now copy the folders and files inside the DVD or ISO to the USB. This will make your USB drive bootable in Windows 10.
- 455,459
- 31
- 526
- 924