Marking bad sectors

Karl Larsen klarsen1 at gmail.com
Sat Mar 6 12:46:54 UTC 2010


On 03/05/2010 07:53 PM, Jim Byrnes wrote:
> 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
>
>    
         It looks like you may have an unmounted partition, a bad patch 
with lots of bad sectors, or other things wrong.

     I would look at /dev/sda1 with a liveCD or just the CD with Ubuntu 
on it. Tell it to turn on but not install anything. Look at the 
partition and check if it looks like all the other partitions.

         Consider using dd to copy this partition to another empty 
partition.

73 Karl





More information about the ubuntu-users mailing list