if [ "$grub_platform" = "pc" ]; then menuentry $"Boot from hard drive" { 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