You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
284 B
14 lines
284 B
3 years ago
|
if [ "$grub_platform" = "pc" ]; then
|
||
|
menuentry $"Boot from hard drive" --id 'harddisk' {
|
||
|
insmod part_msdos
|
||
|
insmod chain
|
||
|
set oldroot="$root"
|
||
|
if [ "$root" = hd0 ]
|
||
|
then set root=(hd1)
|
||
|
else set root=(hd0)
|
||
|
fi
|
||
|
chainloader +1
|
||
|
set root="$oldroot"
|
||
|
}
|
||
|
fi
|