[syslinux] [Patch]: disk.c32
Gert Hulselmans
gerth at zytor.com
Sat Mar 6 14:25:30 PST 2010
Booting a drive with Syslinux installed and running disk.c32 in qemu, will
show some garbage characters for drive 0xE0:
$ qemu -boot c -hda /dev/sdb
The following patch (by pam) fixes it (it is fixed in HDT long time ago).
- Gert Hulselmans
diff --git a/com32/modules/disk.c b/com32/modules/disk.c
index e94a36b..62914f4 100644
--- a/com32/modules/disk.c
+++ b/com32/modules/disk.c
@@ -33,7 +33,7 @@ int main(int argc __attribute__ (( unused )),
err = get_drive_parameters(d);
/* Do not print output when drive does not exists */
- if (err == -1)
+ if (err == -1 || !d->cbios)
continue;
if (err) {
More information about the Syslinux
mailing list