Click to See Complete Forum and Search --> : Linux Checkdisk


J Lindroos
10-10-2001, 03:50 PM
I have a problem. Suddenly I could'nt start my Linux system. It justed hanged up. Well I booted a CD with a ready-to-boot system and from there I mounted my Linux-partition to reach my system files from there. I have done it before and it worked. This time, when moving into the directory my linux was mounted on, and ls gives me some error about that the filesystem had some error. Is there any app for Linux like DOS' scandisk?

Thanks
/J Lindroos

slacker_x
10-10-2001, 04:12 PM
take a look at the fsck program.

bdg1983
10-10-2001, 04:30 PM
To repair a ext2 filesystem

fsck -a /dev/hda# (for automatic repair)

fsck -p /dev/hda# (for prompted repair)

Best to read the fsck man page though.

Of course I've never had to use fsck. ReiserFS :)