Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've found some instructions for this, but it seems the fsck options are outdated. Currently I am trying:

mke2fs -n /dev/sdc4  

then using the blocks listed in this:

fsck -y -b 163840 /dev/sdc4  

Actually, as I look at the fsck help, it would seem it should work, but when I run it, I get

invalid option -- b

why isnt this working?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try e2fsck -y -b 163840 /dev/sdc4.

fsck is just a wrapper to the appropriate checker program for the filesystem. On my 10.04 box fsck does not take a -b option, but e2fsck does.

share|improve this answer
    
perfect, thanks man. if anyone else is doing this, it does have to be root –  fightermagethief Apr 17 '11 at 18:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.