I've installed grub2 on a single disk system, using
http://en.gentoo-wiki.com/wiki/Grub2 as a guide. However, when i start
the system it drops straight to the grub2 command prompt. The system
has /boot is ext2 on sda1, and / is ext4 on sda3. The grub.cfg seems
ok to me assuming the --set=root is for a temporary root (since from
grub's perspective, /boot is /) before the OS loads from the real
root.

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class
gnu --class os $menuentry_id_option 'gnulinux-simple-<root's UUID>' {
        load_video
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='hd0,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root
--hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1
--hint-baremetal=ahci0,msdos1  <boot's UUID>
        else
          search --no-floppy --fs-uuid --set=root <boot's UUID>
        fi
        echo    'Loading Linux 3.5.0-gentoo ...'
        linux   /vmlinuz-3.5.0-gentoo root=/dev/sda3 ro
}

I would have expected it to at least display the menu for a while then
die when i select a menu item rather than drop to the command prompt
straight away.

Have I made some newbie error?

Reply via email to