diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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}})), "", ); |