From c396044083fbb70cd292ec66ea2796ae86630853 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 5 Mar 2009 16:05:09 +0000 Subject: Add support for a "harddrive" boot entry to chainload the first HD bootloader --- draklive | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/draklive b/draklive index 78d0cce..c678738 100755 --- a/draklive +++ b/draklive @@ -88,9 +88,14 @@ sub build_syslinux_cfg { (map { my ($name, $cmdline) = @$_; $name =~ s/\s/_/g; - "label " . ($name || $title), - " kernel $kernel", - " append initrd=$initrd $append $cmdline"; + if ($name eq "harddisk") { + "label " . $name, + " localboot 0x80"; + } else { + "label " . ($name || $title), + " kernel $kernel", + " append initrd=$initrd $append $cmdline"; + } } group_by2('' => '', @{$live->{system}{boot_entries}})), "", ); -- cgit v1.2.1