diff --git a/doc/Hybrid-Boot/README.md b/doc/Hybrid-Boot/README.md index 72b711e..61b8002 100644 --- a/doc/Hybrid-Boot/README.md +++ b/doc/Hybrid-Boot/README.md @@ -135,28 +135,27 @@ Copy [winre-uefi.bcd](winre-uefi.bcd) and [winre-bios.bcd](winre-bios.bcd): ## Windows Hybrid Boot Windows can not be booted from BIOS and UEFI with the same configuration. - The above procedure enables Windows to boot using UEFI. -Do *not* use `sgdisk` for MBR modifications, -because it wipes the MBR boot code of GRUB. - -### Boot from BIOS +### Boot in BIOS Windows needs an MBR to boot from BIOS: - printf 'label-id:0x4b534944\n1,0x7fff,ee\n0x8000,0xf8000,27' | sfdisk -Y dos $dev + sgdisk --hybrid=3 $dev + printf DISK | dd bs=1 seek=440 conv=notrunc of=$dev If you try to boot without the above configuration, the following message appears in the blink of an eye: ata1 master: Unknown device -### Boot from UEFI +### Boot in UEFI Remove the hybrid MBR: - printf 'label-id:0x00000000\n1,,ee' | sfdisk -Y dos $dev + echo start=1,type=ee | sfdisk -Y dos $dev + +Do *not* use `sgdisk` because it wipes the MBR boot code of GRUB. If you try to boot without the above configuration, the following message appears: