BAD BLOCKS please help

Lee Braiden lee_b at digitalunleashed.com
Sun Jul 10 12:28:23 UTC 2005


On Sunday 10 Jul 2005 05:42, Stephen R Laniel wrote:
> 1) drop down to single-user mode with 'sudo shutdown now'.

"sudo init 1" will get you to single-user mode.  "shutdown" does exactly that.

> 2) remount the disk read-only with 'mount -o remount,ro /'
> (assuming that the disk you're checking is mounted at the
> root).
> 3) run e2fsck -c /dev/hda , substituting your own disk's
> device node for '/dev/hda'.

-c runs the badblocks program, so you'll want to look at running that manually 
on filesystems other than ext[23].

-- 
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050710/e52a5252/attachment.sig>


More information about the ubuntu-users mailing list