1 |
I've installed grub2 on a single disk system, using |
2 |
http://en.gentoo-wiki.com/wiki/Grub2 as a guide. However, when i start |
3 |
the system it drops straight to the grub2 command prompt. The system |
4 |
has /boot is ext2 on sda1, and / is ext4 on sda3. The grub.cfg seems |
5 |
ok to me assuming the --set=root is for a temporary root (since from |
6 |
grub's perspective, /boot is /) before the OS loads from the real |
7 |
root. |
8 |
|
9 |
### BEGIN /etc/grub.d/10_linux ### |
10 |
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class |
11 |
gnu --class os $menuentry_id_option 'gnulinux-simple-<root's UUID>' { |
12 |
load_video |
13 |
insmod gzio |
14 |
insmod part_msdos |
15 |
insmod ext2 |
16 |
set root='hd0,msdos1' |
17 |
if [ x$feature_platform_search_hint = xy ]; then |
18 |
search --no-floppy --fs-uuid --set=root |
19 |
--hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 |
20 |
--hint-baremetal=ahci0,msdos1 <boot's UUID> |
21 |
else |
22 |
search --no-floppy --fs-uuid --set=root <boot's UUID> |
23 |
fi |
24 |
echo 'Loading Linux 3.5.0-gentoo ...' |
25 |
linux /vmlinuz-3.5.0-gentoo root=/dev/sda3 ro |
26 |
} |
27 |
|
28 |
I would have expected it to at least display the menu for a while then |
29 |
die when i select a menu item rather than drop to the command prompt |
30 |
straight away. |
31 |
|
32 |
Have I made some newbie error? |