Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 8:45 am    Post subject: mounting Reply with quote

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
View user's profile Send private message
kraaij
n00b
n00b


Joined: 07 Aug 2002
Posts: 66
Location: Maastricht, The Netherlands

PostPosted: Sun Aug 25, 2002 9:24 am    Post subject: Re: mounting Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 9:43 am    Post subject: Re: mounting Reply with quote

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
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sun Aug 25, 2002 9:52 am    Post subject: Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 10:01 am    Post subject: Re: mounting Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 10:18 am    Post subject: Re:mounting Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Aug 25, 2002 1:11 pm    Post subject: Re:mounting Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 3:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 3:04 pm    Post subject: mountin Reply with quote

Partition table in Gentoo? Must have missed it entirely...
Point me right please!

sven
Back to top
View user's profile Send private message
TripKnot
Apprentice
Apprentice


Joined: 29 May 2002
Posts: 213

PostPosted: Sun Aug 25, 2002 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Aug 25, 2002 5:16 pm    Post subject: Re: mountin Reply with quote

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
View user's profile Send private message
svenne
n00b
n00b


Joined: 21 Aug 2002
Posts: 7

PostPosted: Sun Aug 25, 2002 10:10 pm    Post subject: Re: mounting Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Aug 25, 2002 10:20 pm    Post subject: Re: mounting Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum