Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
root filesystem error on startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Tue Jan 27, 2004 9:00 am    Post subject: root filesystem error on startup Reply with quote

Ever since I updated portage and ran etc-update, my system has been buggy as hell. I've been steadily working my way through the errors, but have come upon one I can't figure out.

When I reboot, I get this error:
Quote:
* Checking root filesystem...
fsck.ext3: No such file or directory while trying to open /dev/hda4
/dev/hda4:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

* Filesystem couldn't be fixed :(
Then it asks me for root password for maintenance.

I've checked my /etc/fstab, and it looks correct.
Quote:
/dev/hda4 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
proc /proc proc defaults 0 0


What is the problem here and why is it trying to read root as ext2?
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Tue Jan 27, 2004 9:33 am    Post subject: Re: root filesystem error on startup Reply with quote

Hmm, I'm not sure, but I can at least give you an answer to
CDRuzin wrote:
why is it trying to read root as ext2?

It doesn't realy matter. ext3 is just ext2 with something extra (a journal).

So you can just read/write an ext3 partition using ext2. However, if your kernel is aware of ext3 (which it should), it should indeed detect it as ext3.

Maybe the ext3 driver isn't build into the kernel? or isn't in the initrd?
Back to top
View user's profile Send private message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Tue Jan 27, 2004 6:25 pm    Post subject: Reply with quote

I knew ext2 and ext3 were similar to each other, but I thought the kernel could tell them apart? And it was working like a charm before portage went all gimpy on me. I updated portage and ran etc-update, which changed some conf files I told it to leave alone. That screwed up portage BIG time. I had to use the portage_rescue tarball to save it. However, now I have this new problem.

I know the kernel has support for ext3 since it worked fine before the portage crap-out.

I don't have an initrd anywhere in etc. I also noticed my etc-update.conf file is blank. And my devfsd.conf file is empty. There's also nothing inside of my devfs.d directory. Could this be my problem?
Back to top
View user's profile Send private message
CDRuzin
n00b
n00b


Joined: 22 Jan 2004
Posts: 35
Location: AR-USA

PostPosted: Wed Jan 28, 2004 3:46 am    Post subject: Reply with quote

I figured out what the problem was and fixed it. My devfsd.conf was empty. Man, portage chopped up a bunch of my conf files. So I booted from the LiveCD, mounted the hard drive, went under /usr/portage/sys-fs/devfsd/files and copied the devfsd.conf in there over the old one. Now everything works like a charm... again. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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