pub enum BootMode {
Hybrid,
Windows,
WindowsNtXp,
Windows2000,
IsolinuxLinux,
UefiOnly,
}Expand description
The four boot-record families bootsmith understands. Resolved from
ModeRequest::Auto via bootsmith-iso inspection, or supplied directly by
the user.
Variants§
Hybrid
Raw write of a hybrid ISO9660 image. Most modern Linux/BSD distros.
Windows
MBR + active FAT32 + bootmgr-loading PBR + file copy. Win 7 through 11.
WindowsNtXp
NT-family XP/2003-style install USB using GRUB4DOS + FiraDisk: RAM-map the original ISO as a virtual CD, expose it to protected-mode setup with FiraDisk, and drive-swap so the internal HDD is first.
Windows2000
Windows 2000 (NT 5.0) install USB. Same GRUB4DOS + RAM-mapped ISO
chain as [WindowsNtXp], but with SVBus in place of FiraDisk —
FiraDisk’s SCSI miniport collides with the NT 5.0 storage stack
(0x7B INACCESSIBLE_BOOT_DEVICE / 0xC0000034). See
docs/WIN2K_SVBUS.md.
IsolinuxLinux
MBR + active FAT32 + syslinux boot code + file copy. Older Linux ISOs that aren’t hybrid (e.g. some isolinux-only distros).
UefiOnly
GPT + ESP + EFI directory copy. Modern UEFI-only installers.