Lines 42-50
Link Here
|
42 |
return $grub_part; |
42 |
return $grub_part; |
43 |
} |
43 |
} |
44 |
|
44 |
|
45 |
my $boot = mnt2dev("/boot") ? "" : "/boot"; |
45 |
my $bootdev = mnt2dev("/boot"); |
|
|
46 |
my $boot = $bootdev ? "" : "/boot"; |
46 |
my $root = getroot; |
47 |
my $root = getroot; |
47 |
my $grub_part = dev2grub $root; |
48 |
my $grub_part = dev2grub($bootdev ? $bootdev : $root); |
48 |
die "Can't convert grub partition\n" unless $grub_part; |
49 |
die "Can't convert grub partition\n" unless $grub_part; |
49 |
|
50 |
|
50 |
sub add_memtest { |
51 |
sub add_memtest { |