summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-12 12:46:01 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-12 12:46:01 +0000
commitff3494386c4109b22a8b9d3ad96838a1a89e2858 (patch)
treef6e223750c8bb14a4f4f4b2097ef54ec84d49cca
parentff507f298b565878fd89a22e10dc4f8159e3b6a7 (diff)
downloaddrakiso-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-xdraklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive b/draklive
index 4c7b927..d3f3ef8 100755
--- a/draklive
+++ b/draklive
@@ -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',