LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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, 08:27 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
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



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 02:49 AM
grub doesn't show boot menu, just goes directly into Linux ? trien27 Fedora 27 10-14-2010 09:55 PM
[SOLVED] Dual boot, grub doesn"t show vista, no menu.lst mike11 Linux - Newbie 4 11-22-2009 07:56 PM
GRUB does not show windows in boot menu mansoor323 Linux - Newbie 1 09-11-2009 10:31 PM
Why kernel didn't show in GRUB menu? yzhong Linux - Newbie 1 11-27-2008 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:36 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
Open Source Consulting | Domain Registration