[ubuntu-in] Bad sectors

Prakash Advani prakash at ubuntu.com
Mon Jun 20 12:28:58 UTC 2011


mkfs.ext4 -c

The -c is the option for checking for bad blocks..

For partition use cfdisk /dev/sda (if /dev/sda is the drive you want to 
partition.

You can also use fdisk or gparted (graphics)

Hope this helps.

Regards
Prakash

On 06/17/2011 08:30 AM, Lalremlien Neitham wrote:
> There are some (18) bad sectors in my friends Asus EEE PC 1000HA. 
> Windows (XP) cannot be loaded, but Ubuntu can be. Is there any way to 
> fix those bad sectors? I have retrieved all the data, and entirely 
> erased and used the HDD. How do I partition the single partition 
> (ext4)? Thanks.

-- 
Prakash Advani | http://cityblogger.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20110620/d27aafc1/attachment.html>


More information about the ubuntu-in mailing list