« Ventrilo version 3(.03) on Gentoo (2009 temporary)QuickList: Kernel Upgrade for Gentoo »

Linux - check disk for errors

2008/11/07

  10:45:37 am, by   , 70 words  
Categories: 3D

Linux - check disk for errors

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

No feedback yet


Form is loading...

April 2024
Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
 << <   > >>
Entries concerning computer ...

Search

  XML Feeds

powered by b2evolution