[SeaBIOS] [PATCH] Support multiple hard disks in boot list.
Kevin O'Connor
kevin at koconnor.net
Thu Jul 20 16:22:19 CEST 2017
On Thu, Jul 13, 2017 at 05:30:43PM -0700, Gaurav Poothia wrote:
> Hi Kevin,
> I also tried this patch to fallback from non bootable SCSI disk to
> bootable SCSI disk with Windows installed. That worked too.
> So while we cannot see the Windows bootloader source it sure seems to
> be honoring the DL values other than 0x80
Thanks. I tried a handful of images I had handy and found a bunch of
failures (see testing patch I used below).
lilo - failed
freedos - failed subtly
winxp - failed
winvista - success
fedora 13 disk - failed
Unfortunately, I don't think this is a change that could be made
without near universal support. As, when it does fail, it fails in a
very cryptic way. I think it would be more pain for users than gain.
-Kevin
--- a/src/boot.c
+++ b/src/boot.c
@@ -731,7 +731,7 @@ do_boot(int seq_nr)
break;
case IPL_TYPE_HARDDISK:
printf("Booting from Hard Disk...\n");
- boot_disk(0x80, 1);
+ boot_disk(0x81, 1);
break;
case IPL_TYPE_CDROM:
boot_cdrom((void*)ie->vector);
More information about the SeaBIOS
mailing list