LinHES Forums http://forums.linhes.org/ |
|
force a disk check at boot http://forums.linhes.org/viewtopic.php?f=5&t=3898 |
Page 1 of 1 |
Author: | graysky [ Mon Mar 21, 2005 6:05 pm ] |
Post subject: | force a disk check at boot |
I asked this and it was answered before the forums went down, but I think the thread wasn't backed-up. Anyway, what's the correct syntax to get fsck to do a check/repair of all my partitions at the next boot? Thanks! |
Author: | gr8nash [ Tue Mar 22, 2005 10:26 am ] |
Post subject: | |
well this is how you check 1 partition.. i run it on all partitions except for the swap if i think there is a problem Code: fsck -f /dev/hda1
fsck -f /dev/hda3 fsck -f /dev/hda4 |
Author: | cesman [ Tue Mar 22, 2005 10:40 am ] |
Post subject: | |
Ahhh... You probably don't want to do that. If you want to fsck the partitions, boot off the CD and run fsck from the CD. You'll want to given fsck the correct fs type. |
Author: | graysky [ Wed Mar 23, 2005 5:19 pm ] |
Post subject: | |
Someone posted a command that forced the same check I got when I booted from the CD and did it manually. I didn't write it down since it was in the forum. Anyway, anyone know how to accomplish this? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |