summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive11
1 files 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}})),
"",
);