LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub.conf and kernel panic...GGGRRRRRRR (https://www.linuxquestions.org/questions/linux-newbie-8/grub-conf-and-kernel-panic-gggrrrrrrr-283281/)

10xOXR 01-28-2005 08:39 AM

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

10xOXR 01-28-2005 10:00 AM

This is really getting me annoyed..... <sigh>

comprookie2000 01-28-2005 03:25 PM

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


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