Marking bad sectors

Jim Byrnes jf_byrnes at comcast.net
Sat Mar 6 02:53:26 UTC 2010


Brian wrote:
> On Fri 05 Mar 2010 at 13:54:33 -0600, Jim Byrnes wrote:
>
>> I have a netbook with  a Crucial 64GB SSD in it.  There are some bad
>> blocks in the first GB of the drive.  Right now that is freespace. What
>> can I use to get them marked as bad?
>
> e2fsck -c
>
Tried that with the below result:

ubuntu at ubuntu:~$ sudo e2fsck -c /dev/sda1
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: Attempt to read block from filesystem resulted in short read 
while trying to open /dev/sda1
Could this be a zero-length partition?


Regards, Jim




More information about the ubuntu-users mailing list