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.

20 lines
417 B

3 years ago
if [ "$grub_platform" = "pc" ]; then
menuentry $"Boot from 1st hard/flash drive" --id 'sda' {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd0)
chainloader +1
set root="$oldroot"
}
menuentry $"Boot from 2nd hard/flash drive" --id 'sdb' {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd1)
chainloader +1
set root="$oldroot"
}
fi