mkimage-profiles/features.in/grub/cfg.in/95sdab_bios.cfg
Anton Midyukov b9bbd4c38e grub: Add items boot with local drive for grub-pc (iso)
use/grub/localboot, use/grub/sdab similar to use/syslinux/localboot,
use/syslinux/sdab.
2021-04-23 23:19:37 +07:00

20 lines
393 B
INI

if [ "$grub_platform" = "pc" ]; then
menuentry "Boot from 1st hard/flash drive" {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd0)
chainloader +1
set root="$oldroot"
}
menuentry "Boot from 2st hard/flash drive" {
insmod part_msdos
insmod chain
set oldroot="$root"
set root=(hd1)
chainloader +1
set root="$oldroot"
}
fi