PC with /home crashed; how to do surface ext2/3 fsck at every single boot ?
Hello,
ext2 is dead. Crash, and now recovering I dont know how. :( I guess testdisk, I hope it can read and repair the partition :( My question : how to do surface ext2/3 fsck at every single boot ? |
Use tune2fs to set the maximum number of mounts between fsck checks to 1 for that partition. If the partition is /dev/hda2 then the command is:
tune2fs -c 1 /dev/hda2 See: man tune2fs You should do this is on an umounted filesystem. ------------------ Steve Stites |
Quote:
I crashed the main partition now with testdisk what a crap program ... windows has good recovery program, but with testdisk :( 300 GB ... that's hard |
Quote:
---------------- Steve Stites |
Quote:
is that it just does the fixing of the headers of the disk, and not a very clean and complete surface checking/fixing automatic of the disk (for instance windows xp has a 5 points checking, last long, but after you have a very clean disk) |
All times are GMT -5. The time now is 11:19 AM. |