« Ventrilo version 3(.03) on Gentoo (2009 temporary) | QuickList: Kernel Upgrade for Gentoo » |
to check a mounted drive
telinit 1 # single user mode, closes all programs + network
mount -o remount,ro / # remount read only
fsck -f /dev/hd.. # run the checker
or: e2fsck -f /dev/hd..
mount -o remount,rw / # read-write again.
runlevel # see the current/previous runlevel
telinit 3 # use the previous runlevel in this command
badblocks -s -v -w /dev/hdd1
BETTER:
e2fsck -c -c -k -f -v -p /dev/hdd1