You are not logged in.

#1 2009-04-10 14:11:10

kanonmat
Member
From: Linköping, Sweden
Registered: 2008-10-30
Posts: 31

Filesystem Check Failed

This is i386 on a hp nc6220 laptop.
Due to a fawlty /etc/fstab with multiple partitions having "1" in the pass column, I got the:
******************* FILESYSTEM CHECK FAILED ************* message at boot after the forced check after 22 mounts.
fsck reports the filesystems are clean, though. I tried fsck from systemrescuecd. I have separate / /boot and /home partitions. I think it's only the / partition that's affected, but I don't know. / and /home are ext3 on locigal volumes. /boot is an ext2.

I didnt find any solution in the forums, so I copied (just cp -r) / to a folder in /home, did mkfs.ext3 on / and copied everything back, changed the entries in fstab for the partition to be mounted as ext2. I thought maybe the journal wasn't working right. I didnt expect it to work, I didn't pay any attention to symlinks. Same message at boot.

1) After fsck has made the root partition unbootable, how does one repair it? Is there a solution?
2) Should I just reinstall and copy config files back or is there a better way to proceed from here?

Last edited by kanonmat (2009-04-10 14:12:08)


hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.

Offline

#2 2009-04-11 00:29:08

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Filesystem Check Failed

kanonmat,

I think its to messy to try to recover.

I suggest reinstalling, if possible to another partition, keeping the old one as a backup of some files taht might be useful.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2009-04-11 02:58:06

CursedMonkey
Member
Registered: 2008-08-30
Posts: 45

Re: Filesystem Check Failed

Try and repair it. Umount the partition and run

e2fsck -p /dev/hd??

Where /dev/hd?? is your partition.

Got that from http://bbs.archlinux.org/viewtopic.php?id=27984

Offline

#4 2009-04-11 05:27:59

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: Filesystem Check Failed

I got this a while ago, and the problem was that my fstab was using LABEL= and UUID= lines when those devices weren't for whatever reason listed in /dev/disk/by-label and by-uuid. Check /dev/ to make sure that the devices your fstab lists are available (enter your root password when you hit the error to get into the single-user system).

Offline

#5 2009-04-11 07:41:36

kanonmat
Member
From: Linköping, Sweden
Registered: 2008-10-30
Posts: 31

Re: Filesystem Check Failed

I tried e2fsck -fp on the partitions before, same thing. I shouldn't have copied / back and forth.
You were right Ranguvar. I had the wrong uuid for /boot in my fstab. It boots now, but I have some other problems. startx for my user couldn't create lock file in /tmp.tX0-lock  (I then allowed write permission to /tmp.) Then Xorg.0.log couldn't be moved to Xorg.0.log.old. Is this a suid problem?

**EDIT** Reinstalling fails too. conf files are empty and screen is filled with: "chroot: cannot run command 'passwd': No such file or directory"
**EDIT** Reinstalling works when I don't use hwdetect.

Last edited by kanonmat (2009-04-23 21:51:05)


hp 6910p laptop // phenomII965, gigabyte GA-MA790XT-UD4P mobo, 8600gt desktop.
Sometimes I play xonotic, sometimes I sleep.

Offline

Board footer

Powered by FluxBB