diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-11-12 12:46:01 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-11-12 12:46:01 +0000 |
commit | ff3494386c4109b22a8b9d3ad96838a1a89e2858 (patch) | |
tree | f6e223750c8bb14a4f4f4b2097ef54ec84d49cca | |
parent | ff507f298b565878fd89a22e10dc4f8159e3b6a7 (diff) | |
download | drakiso-ff3494386c4109b22a8b9d3ad96838a1a89e2858.tar drakiso-ff3494386c4109b22a8b9d3ad96838a1a89e2858.tar.gz drakiso-ff3494386c4109b22a8b9d3ad96838a1a89e2858.tar.bz2 drakiso-ff3494386c4109b22a8b9d3ad96838a1a89e2858.tar.xz drakiso-ff3494386c4109b22a8b9d3ad96838a1a89e2858.zip |
draklive: change syslinux 'harddisk' menu entry to use chain loading.
The syslinux localboot option doesn't work in VirtualBox or with quite
a few BIOS implementations.
-rwxr-xr-x | draklive | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -98,7 +98,7 @@ sub build_syslinux_cfg { $name =~ s/\s/_/g; if ($name eq "harddisk") { "label " . $name, - " localboot 0x80"; + " com32 chain.c32 hd0 exit"; } else { "label " . ($name || $title), " kernel $kernel", @@ -767,6 +767,7 @@ sub build_iso_image { 'isolinux=' . $live->get_builddir . $live->{prefix}{build}{boot} . '/syslinux', 'isolinux/isolinux.cfg=' . $isolinux_cfg, 'isolinux/isolinux.bin=/usr/lib/syslinux/isolinux.bin', + 'isolinux/chain.c32=/usr/lib/syslinux/chain.c32', 'isolinux/gfxboot.c32=/usr/lib/syslinux/gfxboot.c32', 'isolinux/ldlinux.c32=/usr/lib/syslinux/ldlinux.c32', 'isolinux/libcom32.c32=/usr/lib/syslinux/libcom32.c32', |