On Sun, Jul 29, 2012 at 1:28 AM, Adam Carter <adamcart...@gmail.com> wrote: > 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? >
Does it not display any errors? This menu entry looks good to me (only difference here is kernel version, UUIDs and root partition). Sounds like it may not be installed correctly... just to confirm here are the few things you should have to do: 1. Edit "/etc/default/grub" Perhaps disable quiet stuff and any graphical settings just for now. 2. Run "grub2-mkconfig -o /boot/grub2/grub.cfg" 3. Run "grub2-install --no-floppy /dev/sda" If you have another hard drive it's possible the order is different from when you installed grub, but this would give an error