In windows im used to run chkdsk /?. How do i do the same in linux? I want to attached a usb hdd and check it. is that possible?
In windows im used to run chkdsk /?. How do i do the same in linux? I want to attached a usb hdd and check it. is that possible?
Just an average web developer.
Use fsck (file system check) command.
http://en.wikipedia.org/wiki/Fsck
.
PC - Ubuntu 15.04 64bit Desktop
HP Pav G60-236US 3GB RAM Laptop, Ubuntu 15.04 64bit and Win7 Home
"So Daddy, how come you telling me stealing not right when YOU copying DVDs? How come? How Come?"
RIP Ramesh ...
man fsck
that will give u the instructions on how to use the command, notice you may need sudo priveleges to run the command.
Im new to linux yow. nuh mek it suh bad starr. I dont want to check my primary hdd. I connected a usb hdd and I want to check it. "fsck" does not tell me how to do that.
Just an average web developer.
thats exactly why he told u that particular command...
wen u go to terminal and type in "man fsck" and you will get a manual on using the fsck command and then from that you'll understand how to do the check.
However just to make it a little easier for you the command would be something like
except you replace sda1 with usb1Code:fsck /dev/sda1
or also try
though that second command i'm not too sure about, however theoretically it should workCode:fsck /etc/media/drivename
Remember 'man' though, it is your friend within the command line.
Last edited by Skillachi; Nov 16, 2008 at 07:40 PM.
Laptop: HP DV6700t - Core 2 Duo T9300 2.5Ghz, 3GB RAM, Nvidia 8400m GS, 250GB HDD. Ubuntu 12.04 and Windows 7
Phone: Samsung Galaxy Nexus
When he mentioned man fsck, he meant you should open up the terminal program (command line box) and type that command to see the manual page for the fsck command. You would get something like this:
http://www.manpages.com/man/fsck/
.
PC - Ubuntu 15.04 64bit Desktop
HP Pav G60-236US 3GB RAM Laptop, Ubuntu 15.04 64bit and Win7 Home
"So Daddy, how come you telling me stealing not right when YOU copying DVDs? How come? How Come?"
RIP Ramesh ...
O! Ok. Ill try it out after I finish watching Saw 5. LOL
Just an average web developer.
Nov/17/08: I dont think that fsck can check a windows partitioned hdd in linux. But i managed to installed xp in vmware and deal with it.
Just an average web developer.
by windows partitioned you mean ntfs or fat32? I know it can do fat32, and i beleive there is fsck.ntfs for ntfs partitions. As specified in the man page for fsck you need to declare the filesystem type with use
I am not trying to be difficult, but sometimes jus giving the answer is not the best thing, especially when someone is trying to do something out of the norm, after you research it and complete the tasks you would have learned so much more including how to do it, vs. copying and pasting a command