LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2005, 09:39 AM   #1
10xOXR
Member
 
Registered: Nov 2003
Location: Scotland
Distribution: Gentoo 2005.0
Posts: 49

Rep: Reputation: 15
Angry grub.conf and kernel panic...GGGRRRRRRR


Hi there,

After a (relatively) problem free install of Gentoo 2004.3 on my laptop I decided to install it on my mainbox. It's a AMD64 2400+ with 512Mb DDR400 and a 200Gb SATA disk on the primary SATA port and 2 cd drives on IDE1.

All went well with the main install, the liveCD recognised and used the SATA drive as /dev/sda.

I partitioned as follows:

Code:
/dev/sda1               /windows        ntfs            noatime,user,umask=0000                 0 1
/dev/sda5               /boot           ext3            defaults,noatime        1 2
/dev/sda7               /               reiserfs        noatime                 0 1
/dev/sda6               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      auto            noauto,user             0 0
where /dev/sda1 is the main NTFS partition and all the others reside on the /dev/sda2 extended partition.

So when it came to it I put the following in my grub.conf:

Code:
default 1
timeout 30
splashimage=(hd0,4)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.10-gentoo-r6
root (hd0,4)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/sda7 vga=791

title=Windows XP Home Edition
rootnoverify (hd0,0)
makeactive
chainloader +1
I think that this looks OK, and Windows will boot from the grub loader without any problems, but when I try to start Gentoo I get this crap!!!

Code:
vfs: cannot open root device "sda7" or unknown-block(0,0) please append a correct "root=" boot option
kernel panic - not syncing: vfs: unable to mount root fs on unknown-block(0,0)
Please help, I have no idea what I'm doing wrong!

TIA

Chris

Last edited by 10xOXR; 01-28-2005 at 11:23 AM.
 
Old 01-28-2005, 11:00 AM   #2
10xOXR
Member
 
Registered: Nov 2003
Location: Scotland
Distribution: Gentoo 2005.0
Posts: 49

Original Poster
Rep: Reputation: 15
This is really getting me annoyed..... <sigh>
 
Old 01-28-2005, 04:25 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Did you compile support for both ext3 and reiserfs directly into the kernel and check the sata stuff + make sure the syntax is O.K in grub.conf,are you using udev?See if this helps

Last edited by comprookie2000; 01-28-2005 at 04:37 PM.
 
  


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
Grub = Kernel panic iirish Linux - Newbie 4 04-22-2005 10:11 AM
Grub Kernel Panic CloudBuilder Linux - General 3 02-07-2005 06:11 PM
Grub w/ Gentoo 2.6.3 - Kernel Panic smehi Linux - Newbie 3 03-22-2004 12:39 AM
grub.conf and Kernel Panic!! phekno Linux - Software 4 10-16-2003 12:08 AM
Grub.conf - Kernel Panic. liguorir Linux - Software 2 06-29-2003 02:03 PM


All times are GMT -5. The time now is 01:03 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration