Tuesday, May 09, 2006

adventures with fsck

Copying files with "Roxio Restore" on XP - system hangs if any other app tries to access DVD drive. And left a corrupted file on /dev/hda1 - /mnt/WinF, ext3.

On boot in Linux, "check forced" "try manual fsck" at some point, and it was taking a looooong time - thought it hung. So, booted with Mandrake CD1, "rescue" at boot prompt, got a shell, mounted the root partition, edited /etc/fstab to comment out mounting /dev/hda1, deleted the corrupted files, booted normally. Then man fsck, gave

fsck -t ext3 /dev/hda1

The filesytem still had errors.

Corrected the errors when it asked, finished in around 15 minutes or less. Phew!

1 comment:

  1. If left alone, saispace2 boots up after 5-6 minutes. It takes 3 minutes "stuck" at 19.9% for hde8, and 2 min without any progress-bar for hda1, but it does the disk checks and does boot up eventually...