LinuxQuestions.org
Help answer threads with 0 replies.
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 01-05-2013, 09:13 PM   #1
malloc
Member
 
Registered: Jul 2010
Posts: 111

Rep: Reputation: 4
GRUB fails to boot


I have recently followed the following guides:

http://en.gentoo-wiki.com/wiki/DM-Cr..._Configuration
http://www.gentoo.org/doc/en/handboo...?part=1&chap=6

After POST, GRUB loads but does nothing.

When I try to specify the kernel by hand with: "kernel /boot/vmlinuz root=/dev/sda5" (however I also tried different root options, like /dev/mapper/root and sda7) I get "Error 15: File not found"

sda1, sda2, sda3 are Windows/recovery partitions, sda4 is extended, sda5 is my root, sda6 is swap and sda7 is my root.

My /boot/grub/grub.conf is:

Code:
defaults 0
timeout 5

title=Gentoo
kernel /boot/vmlinuz root=/dev/mapper/root
initrd /boot/initramfs.cpio.gz

title=Windows NT
root (hd0,0)
savedefaults
makeactive
chainloader +1

Last edited by malloc; 01-05-2013 at 09:36 PM.
 
Old 01-06-2013, 06:20 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
When you say

Quote:
After POST, GRUB loads but does nothing.
what do you mean? Do you get a blank screen? Or does the menu appear, but if you try to boot any of the options, you're returned to the menu?

I also hope you mean http://www.gentoo.org/doc/en/handboo...p=10#doc_chap2, not the "mirrorlist" page you posted from the Gentoo handbook... I assume you followed all the instruction on that page to set up grub?
 
Old 01-06-2013, 06:21 AM   #3
cyberpatrol
Member
 
Registered: Dec 2012
Posts: 75

Rep: Reputation: Disabled
Looks like you have your system encrypted with dm-crypt/LUKS.

So try this one:
Code:
kernel /boot/vmlinuz cryptdevice=/dev/sdaX:root root=/dev/mapper/root
And add this line to the Linux section:
Code:
root (hd0,Y)
Where X is your root partition and Y your boot partition. I guess X=7 and Y=4.

Last edited by cyberpatrol; 01-06-2013 at 06:25 AM.
 
  


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
fails to boot after grub daisychick Linux - Newbie 2 04-25-2012 08:51 AM
GRUB fails to boot any OS kemtnbkr Linux - Newbie 3 02-18-2011 09:47 AM
GRUB fails to boot OS shahgols Linux - General 7 01-04-2007 03:08 PM
GRUB LILO Boot loader fails mefrmdelhi Debian 1 09-21-2006 01:32 PM
GRUB dual boot with two diff kernels fails at boot mosquito_dk Linux - Software 3 09-06-2004 09:18 AM


All times are GMT -5. The time now is 08:52 PM.

Main Menu
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