Morten Nilsen wrote: >Christopher Thorjussen wrote: > > >>What fsck command could/should I run >> >> > >badblocks (man badblocks) > >Cheers, > > I had the same problem a week ago. If you use badblocks you have to remember to specify the blocksize in order to get a useable result.
If you use ext2 or ext3, a easier approach is probably to use e2fsck -c. This will run badblocks and mark the badblocks as bad automaticly. If you want you can use a couple of extra switches: e2fsck -cCfy (C = show progress, f = force check, y = answer 'yes' to all questions). All this is of course explained in "man e2fsck". Of course you should be aware that important data may be lost for ever by running this operation, so do a backup first. Since i did not have a TSL rescue disk i used a Knoppix disc to do this from, however, you should probably do this from some kind of rescue disk, or at least with the disk in question unmounted. Hope this can help. :) *----------------------------------------------------------------------* | Joacim Christiansen +47 90 63 05 90 [EMAIL PROTECTED] | | | | Student at NTNU - Norwegian University of Science and Technology | | Department of Computer and Information Science (IDI) | *----------------------------------------------------------------------* _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
