LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   GRUB does not start nor show a menu (https://www.linuxquestions.org/questions/gentoo-87/grub-does-not-start-nor-show-a-menu-4175468241/)

malloc 07-02-2013 06:46 PM

GRUB does not start nor show a menu
 
GRUB doesn't show a menu or boot automatically. I have to manually load the kernel, initrd and then boot. What argument or option do I need to give GRUB in grub.conf to make this happen automatically? That is, either show a menu or just boot?

My system has:

/dev/sda1 as /boot (not encrypted)
/dev/sda2 as / (encrypted)

grub.conf:

Code:

default 0
timeout 5

root (hd0,0)
kernel /3.8.13
initrd /initramfs.cpio.gz

GRUB installation procedure used:

cryptsetup luksOpen /dev/sda2 root
vgchange -ay
mount encrypted device (/dev/sda2) at /mnt/gentoo
mount proc and mount --rbind sys and dev under /mnt/gentoo
chroot to /mnt/gentoo
mount /dev/sda1 /boot
cat /proc/mounts > /etc/mtab
grub-install --no-floppy /dev/sda

/boot (/dev/sda1) contains a directory grub, with grub.conf and symlink from menu.lst to grub.conf.

The kernel does boot, all the way, when I manually type the exact same commands that are in my grub.conf (kernel, initrd and boot).

yancek 07-02-2013 08:27 PM

Do you have hiddenmenu in the grub.conf file? If it is not commented out (#), do that. Is the entry above what you have in the grub.conf file? There is no title line which is what you will see in the menu.


All times are GMT -5. The time now is 08:41 AM.