Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root Filesytem error on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
joeymittens
n00b
n00b


Joined: 13 Apr 2006
Posts: 34

PostPosted: Thu Apr 13, 2006 6:14 pm    Post subject: Root Filesytem error on boot Reply with quote

installed gentoo 2.6.15 r1 on ibm thinkpad t40

dev/hda1 * boot +32M - ext2 filesystem, created with mke2fs
dev/hda2 swap +512M
dev/hda3 root +rest of drive -ext3 filesystem, created with mke2fs -j

the entire installation runs pefectly, installs grub. system boots up to this error:

* Checking root filesystem ...
fsck.ext3: No such file or directory while trying to open /dev/ROOT
/dev/ROOT:
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 trying running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

* Filesystem couldn't be fixed :( [ !! ]
Give root password for maintenance
(or type Control-D to continue):



I'm pretty sure the harddisk drive is fine so obvioulsy i'm doing something wrong somewhere. I tried it with Ext2 and Ext3 filesystems with no. I followed the installation guide precisely so i'm not sure where I could have gone wrong? Any suggestions as to what i should be looking for right now?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Thu Apr 13, 2006 6:25 pm    Post subject: Reply with quote

joeymittens,

Welcome to Gentoo.

You have skipped the step in the installl guide that says to edit your /etc/fstab.
The words BOOT, ROOT, and SWAP, in /dev/ROOT ext... need to be replaced with your actual partitions.
Also check that the filesystem type is correct.

As the prompt says, give the root password to fix it.
You will need to do
Code:
mount -o rw,remount /dev/hda3
to make the filesystem writable.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


Last edited by NeddySeagoon on Thu Apr 13, 2006 6:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu Apr 13, 2006 6:25 pm    Post subject: Reply with quote

Hi and welcome to the forums.

You forgot to edit /etc/fstab and replace the /dev/ROOT, /dev/BOOT and /dev/SWAP entries with the concrete partitions. You need to boot with the live-cd, mount the partitions and edit the file. If you mount the partitions under /mnt/gentoo, do nano -w /mnt/gentoo/etc/fstab.

NeddySeagoon: today your trigger finger is quicker than mine! :wink:
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh


Last edited by jmbsvicetto on Thu Apr 13, 2006 6:45 pm; edited 3 times in total
Back to top
View user's profile Send private message
ska_p_te
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2003
Posts: 110
Location: G @ B

PostPosted: Thu Apr 13, 2006 6:26 pm    Post subject: Reply with quote

could you output your /etc/fstab.

In your /etc/fstab you have to replace root by hda3

Code:

/dev/root
become
/dev/hda3
/dev/boot
/dev/hda1
/dev/swap
/dev/hda2


Please output your /etc/fstab

greetz
ska!
Back to top
View user's profile Send private message
joeymittens
n00b
n00b


Joined: 13 Apr 2006
Posts: 34

PostPosted: Thu Apr 13, 2006 6:27 pm    Post subject: Reply with quote

haha i saw that and i was comtemplating doing that....


now i feel stupid....Thanks for the quick replys!
Back to top
View user's profile Send private message
ska_p_te
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2003
Posts: 110
Location: G @ B

PostPosted: Thu Apr 13, 2006 6:34 pm    Post subject: Reply with quote

Add [SOLVED] when your problem is solved

greetz

ska!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43012
Location: 56N 3W

PostPosted: Thu Apr 13, 2006 6:42 pm    Post subject: Reply with quote

joeymittens,

There are no stupid questions (except maybe the ones never asked) but plenty of stupid answers.
Linux is a community, we all learn from one another by asking anout things we don't know or don't work for us.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Apr 14, 2006 3:48 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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