vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I am totally new to Usenet :-) so don't be angry for me :-) I have a problem with my gentoo, I mean, J have a problem with kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, compiled, copied to /boot (I' ve made two options in GRUB to boot new and old kernel) and I receive a error message during initialization : "can't mount root device, check "root" option in your GRUB" (it's not exactly like that but I don't remember) What's wrong ? |
| |||
| On Wed, 30 Jun 2004 02:54:11 +0200, Radek <radi_boss@tlen.pl> wrote: >Hello, >I am totally new to Usenet :-) so don't be angry for me :-) >I have a problem with my gentoo, I mean, J have a problem with >kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >compiled, copied to /boot (I' ve made two options in GRUB to boot new and >old kernel) and I receive a error message during initialization : >"can't mount root device, check "root" option in your GRUB" >(it's not exactly like that but I don't remember) >What's wrong ? Post the backup copy of your previous working grub.conf, and your new grub.conf so we can take a look. Chris |
| |||
| On Wed, 30 Jun 2004 08:19:14 +0800, Chris Severn wrote: > On Wed, 30 Jun 2004 02:54:11 +0200, Radek <radi_boss@tlen.pl> wrote: > >>Hello, >>I am totally new to Usenet :-) so don't be angry for me :-) >>I have a problem with my gentoo, I mean, J have a problem with >>kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >>compiled, copied to /boot (I' ve made two options in GRUB to boot new and >>old kernel) and I receive a error message during initialization : >>"can't mount root device, check "root" option in your GRUB" >>(it's not exactly like that but I don't remember) >>What's wrong ? > > Post the backup copy of your previous working grub.conf, and your new > grub.conf so we can take a look. > > Chris Check your grub.conf to make sure it's pointing to your boot partition, and try reinstalling grub. |
| |||
| Stevan Blacklock wrote: > On Wed, 30 Jun 2004 08:19:14 +0800, Chris Severn wrote: > > >>On Wed, 30 Jun 2004 02:54:11 +0200, Radek <radi_boss@tlen.pl> wrote: >> >> >>>Hello, >>>I am totally new to Usenet :-) so don't be angry for me :-) >>>I have a problem with my gentoo, I mean, J have a problem with >>>kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >>>compiled, copied to /boot (I' ve made two options in GRUB to boot new and >>>old kernel) and I receive a error message during initialization : >>>"can't mount root device, check "root" option in your GRUB" >>>(it's not exactly like that but I don't remember) >>>What's wrong ? >> >>Post the backup copy of your previous working grub.conf, and your new >>grub.conf so we can take a look. >> >>Chris > > > Check your grub.conf to make sure it's pointing to your boot partition, > and try reinstalling grub. > Remember that when using grub the first harddrive is 0 and THE FIRST PARTITION is also 0. Eg. hd(0,0). Check so you havn't made the most common misstake with grub naming the partition as you're use to when writing /dev/hda# Here is my grub file: title=Gentoo Linux 2.6 kernel root (hd0,2) kernel (hd0,2)/boot/2.6.5-gentoo-r1-4 root=/dev/hda6 The first root is the /boot partition, the "root=/dev/hda6" is the / partition. |
| |||
| Radek wrote: > Hello, > I am totally new to Usenet :-) so don't be angry for me :-) > I have a problem with my gentoo, I mean, J have a problem with > kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, > compiled, copied to /boot (I' ve made two options in GRUB to boot new and > old kernel) and I receive a error message during initialization : > "can't mount root device, check "root" option in your GRUB" > (it's not exactly like that but I don't remember) > What's wrong ? It's possible that you forgot to include your filesystem drivers into kernel. Check if you are using filesystem support (ext2, ext3, reiserfs) statically. Do not use modules for filesystem. |
| |||
| Huebner Andreas wrote: > Radek wrote: > >> Hello, >> I am totally new to Usenet :-) so don't be angry for me :-) >> I have a problem with my gentoo, I mean, J have a problem with >> kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >> compiled, copied to /boot (I' ve made two options in GRUB to boot new and >> old kernel) and I receive a error message during initialization : >> "can't mount root device, check "root" option in your GRUB" >> (it's not exactly like that but I don't remember) >> What's wrong ? > > It's possible that you forgot to include your filesystem drivers into > kernel. > Check if you are using filesystem support (ext2, ext3, reiserfs) > statically. Do not use modules for filesystem. If the drivers ARE present within the kernel it is also possible that entries within your /etc/fstab file are not properly specified. |
| |||
| On Sat, 17 Jul 2004 10:13:15 GMT, "Trevor M. Lango" <tmlango@sbcglobal.net> wrote: >Huebner Andreas wrote: > >> Radek wrote: >> >>> Hello, >>> I am totally new to Usenet :-) so don't be angry for me :-) >>> I have a problem with my gentoo, I mean, J have a problem with >>> kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >>> compiled, copied to /boot (I' ve made two options in GRUB to boot new and >>> old kernel) and I receive a error message during initialization : >>> "can't mount root device, check "root" option in your GRUB" >>> (it's not exactly like that but I don't remember) >>> What's wrong ? >> >> It's possible that you forgot to include your filesystem drivers into >> kernel. >> Check if you are using filesystem support (ext2, ext3, reiserfs) >> statically. Do not use modules for filesystem. > >If the drivers ARE present within the kernel it is also possible that >entries within your /etc/fstab file are not properly specified. He's having problems with his root device, which means he can't even see the partition which /etc/ is on. It doesn't sound like an fstab problem to me. Definately sounds like a filesystem kernel support or grub.conf problem. Chris |
| |||
| Huebner Andreas wrote: > Radek wrote: > >> Hello, >> I am totally new to Usenet :-) so don't be angry for me :-) >> I have a problem with my gentoo, I mean, J have a problem with >> kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, >> compiled, copied to /boot (I' ve made two options in GRUB to boot new and >> old kernel) and I receive a error message during initialization : >> "can't mount root device, check "root" option in your GRUB" >> (it's not exactly like that but I don't remember) >> What's wrong ? > > > It's possible that you forgot to include your filesystem drivers into > kernel. > Check if you are using filesystem support (ext2, ext3, reiserfs) > statically. Do not use modules for filesystem. Try adding root=/dev/hdxx to the kernel line in the grub.conf file. Substitute the actual partition of your root for hdxx. Look at the grub.conf.sample file for examples. Ivar |
| ||||
| If that doesn't work, try doing the same in /etc/fstab (you will need to manually mount your root partition in run level 1). This worked for me. Kari "Ivar Ylvisaker" <ylvisaki@erols.com> wrote in message news:40f95de1$0$10394$61fed72c@news.rcn.com... > Huebner Andreas wrote: > > Radek wrote: > > > >> Hello, > >> I am totally new to Usenet :-) so don't be angry for me :-) > >> I have a problem with my gentoo, I mean, J have a problem with > >> kernel 2.6.7-r6 (gentoo dev sources). I' ve configured it as usual, > >> compiled, copied to /boot (I' ve made two options in GRUB to boot new and > >> old kernel) and I receive a error message during initialization : > >> "can't mount root device, check "root" option in your GRUB" > >> (it's not exactly like that but I don't remember) > >> What's wrong ? > > > > > > It's possible that you forgot to include your filesystem drivers into > > kernel. > > Check if you are using filesystem support (ext2, ext3, reiserfs) > > statically. Do not use modules for filesystem. > > Try adding root=/dev/hdxx to the kernel line in the grub.conf file. > Substitute the actual partition of your root for hdxx. > Look at the grub.conf.sample file for examples. > > Ivar |