From ff3494386c4109b22a8b9d3ad96838a1a89e2858 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 12 Nov 2016 12:46:01 +0000 Subject: 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. --- draklive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- cgit v1.2.1