View previous topic :: View next topic |
Author |
Message |
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 8:45 am Post subject: mounting |
|
|
Hello guys,
I get stuck in the boot with the following message:
Ext2-fs: ide0(3,3): couldn´t mount because of unsupported optional features (4)
XFS: bad magic number
XFS: SB validate failed
Kernel panic: VFS: unable to mount root fs on 03:03
sven |
|
Back to top |
|
|
kraaij n00b
Joined: 07 Aug 2002 Posts: 66 Location: Maastricht, The Netherlands
|
Posted: Sun Aug 25, 2002 9:24 am Post subject: Re: mounting |
|
|
svenne wrote: | Hello guys,
I get stuck in the boot with the following message:
Ext2-fs: ide0(3,3): couldn´t mount because of unsupported optional features (4)
XFS: bad magic number
XFS: SB validate failed
Kernel panic: VFS: unable to mount root fs on 03:03
sven |
What filesystem is root? XFS? Does your kernel support xfs? Or are you trying to mount it as ext2?
Maybe you can put up your grub configuration.
Grtx,
Anton. |
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 9:43 am Post subject: Re: mounting |
|
|
Hi and thanks,
I used the ext3 filesystem on my partitions, with the command mke2fs -j
The grub menu.lst is like this:
default 0
timeout 30
splashimage=(hd0,2) /boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,2)
kernel /boot/bzImage root=/dev/hda4
#Dual boot with Win Me
title=Windows ME
root (hd0,0)
chainloader +1
grub setup:
root (hd0,2)
setup (hd0) |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Aug 25, 2002 9:52 am Post subject: |
|
|
I think that the default /etc/fstab file assumes that your / partition is XFS. If you used ext3 on all of yours, make sure you've changed the appropriate lines in fstab. I got the same message when I forgot to change XFS to ext3. |
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 10:01 am Post subject: Re: mounting |
|
|
Wedge_ wrote: | I think that the default /etc/fstab file assumes that your / partition is XFS. If you used ext3 on all of yours, make sure you've changed the appropriate lines in fstab. I got the same message when I forgot to change XFS to ext3. |
I checked /etc/fstab and it was wrong:
swap was just swap (didnt change that)
boot was ext2 and root was xfs
changed both of them to ext 3
but the boot did stop with the same error....
sven |
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 10:18 am Post subject: Re:mounting |
|
|
and here is my /etc/fstab:
/dev/hda3 /boot ext3 noauto, noatime
/dev/hda4 / ext3 noatime
/dev/hda2 none swap sw
/dev/cdroms/
cdrom0 /mnt/cdrom iso 9660 noauto, ro
proc /proc proc defaults
maybe something strange here? |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Aug 25, 2002 1:11 pm Post subject: Re:mounting |
|
|
fstab itself would not matter when mounting the root file system. The kernel tries all available file systems to mount it (which is why you see the XFS messages after the ext2 error). Did you build ext3 support into the kernel rather than as a module? Did you create the partition table in Gentoo? Can you put the install CD back in, boot from it and then mount the partition correctly?
svenne wrote: | and here is my /etc/fstab:
/dev/hda3 /boot ext3 noauto, noatime
/dev/hda4 / ext3 noatime
/dev/hda2 none swap sw
/dev/cdroms/
cdrom0 /mnt/cdrom iso 9660 noauto, ro
proc /proc proc defaults
maybe something strange here? |
|
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 3:02 pm Post subject: |
|
|
Thank for your answer,
I can mount ok from the boot disk.
And I suspect that I have not enabled support for ext3 in the kernel...
How do I do to get back to the webconfig menu so I can re-compile the kernel?
Have looked but did not find any hints....
sven |
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 3:04 pm Post subject: mountin |
|
|
Partition table in Gentoo? Must have missed it entirely...
Point me right please!
sven |
|
Back to top |
|
|
TripKnot Apprentice
Joined: 29 May 2002 Posts: 213
|
Posted: Sun Aug 25, 2002 5:00 pm Post subject: |
|
|
To get back to your setup and recompile the kernel:
Boot with the gentoo CD
follow the drive mounting and chrooting instructionsfrom the setup guide to back into your new setup
then skip ahead to the kernel configuration instructions and follow them. You want to add ext3 support under the filesystems submenu. |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sun Aug 25, 2002 5:16 pm Post subject: Re: mountin |
|
|
I should have said "partition" instead of "partition table". I have heard of similar problems when partition tables are created/modified for use under Linux by Partition Magic. If you are able to mount the partition from the install disk, you are probably OK in this regard. TripKnot's steps should get you back to kernel compile.
svenne wrote: | Partition table in Gentoo? Must have missed it entirely...
Point me right please!
sven |
|
|
Back to top |
|
|
svenne n00b
Joined: 21 Aug 2002 Posts: 7
|
Posted: Sun Aug 25, 2002 10:10 pm Post subject: Re: mounting |
|
|
Thank you, I am almost up and running...but I lack DVFS support. Where do I find it in the menuconfig?
I am impressed of the knowhow and willingness to help a linux beginner!
sven |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Aug 25, 2002 10:20 pm Post subject: Re: mounting |
|
|
svenne wrote: | I lack DVFS support. Where do I find it in the menuconfig? |
See https://forums.gentoo.org/faq.php#9. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|