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

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
oshman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2005
Posts: 124
Location: Houston, TX

PostPosted: Fri Jul 22, 2005 3:12 am    Post subject: e2fsck problem Reply with quote

I get an error during boot saying:

Code:
mounting /dev/hda3 e2fsck: cannot continue aborting
Fsck could not correct all errors, manual repair needed


I thought I activated all necessary tools for ext3 in the kernel but apparently not.

Anyone know how to fix this?

Thnx
_________________
Fujitsu Lifebook S6520 Core 2 Duo
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Fri Jul 22, 2005 12:33 pm    Post subject: Reply with quote

After that error you should either be at a login prompt, or at a root console.
If you get a prompt, log in with your root password and do a
Code:
/sbin/fsck.ext3 /dev/hda3

Answer any questions fsck might ask you (usually the right answer is yes).
Reboot after this is through.

That should be all, good luck!
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
oshman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2005
Posts: 124
Location: Houston, TX

PostPosted: Fri Jul 22, 2005 10:00 pm    Post subject: Reply with quote

Thanks for the reply,

I ran

Code:
 /sbin/fsck.ext3 /dev/hda3


It said somthing about e2fsck doing harm to a mounted file system. Since this is a new install I went ahead and ran it. It finished with no errors but I still get the problem at boot.

Is there a way for e2fsck to be started automatically during boot?

Thanx,

oshman
_________________
Fujitsu Lifebook S6520 Core 2 Duo
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sat Jul 23, 2005 6:47 pm    Post subject: Reply with quote

oshman wrote:
Is there a way for e2fsck to be started automatically during boot?

Actually, this is already done.

The error message you are seeing happens when fsck encounters errors which can't be fixed without the user interacting (because there may be data lost).

Try explicitly umounting the partition before you run the above command.
If it is the root (/) partition, this won't work (because / must always be mounted, and the fsck binary lives on /sbin). In that case, boot with the livecd and run it from there.
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
katsiki
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 233
Location: Pasadena, CA (USA)

PostPosted: Sun Jul 24, 2005 7:02 am    Post subject: Reply with quote

Check your kernel logs for errors. There may be a fundamental hardware, driver, filesystem, OS, or other software problem. What does your /etc/fstab look like?
Back to top
View user's profile Send private message
oshman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2005
Posts: 124
Location: Houston, TX

PostPosted: Sun Jul 24, 2005 6:41 pm    Post subject: Reply with quote

Thanks for the response. katsiki was right - there was just a problem with /etc/fstab. I had the ext3 partition listed as /boot - I just removed the boot and make the other reiser partition into /home. That took care of it.
_________________
Fujitsu Lifebook S6520 Core 2 Duo
Back to top
View user's profile Send private message
katsiki
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 233
Location: Pasadena, CA (USA)

PostPosted: Sun Jul 24, 2005 7:14 pm    Post subject: Reply with quote

Great! Then you can add [SOLVED] or somesuch to the Subject line. Best wishes with your new install.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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