LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices



Reply
 
Search this Thread
Old 07-02-2013, 07:46 PM   #1
malloc
Member
 
Registered: Jul 2010
Posts: 111

Rep: Reputation: 4
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).
 
Old 07-02-2013, 09:27 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,094

Rep: Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809Reputation: 809
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 17 -- custom entry does not show up in grub menu. People'spoet Linux - Kernel 3 06-13-2012 03:49 AM
grub doesn't show boot menu, just goes directly into Linux ? trien27 Fedora 27 10-14-2010 10:55 PM
[SOLVED] Dual boot, grub doesn"t show vista, no menu.lst mike11 Linux - Newbie 4 11-22-2009 08:56 PM
GRUB does not show windows in boot menu mansoor323 Linux - Newbie 1 09-11-2009 11:31 PM
Why kernel didn't show in GRUB menu? yzhong Linux - Newbie 1 11-27-2008 06:31 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration