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

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to