Fdisk screwup

Roberto Ragusa mail at robertoragusa.it
Sat May 9 08:38:08 UTC 2009


Jim wrote:
> FC10
> 
> I was  trying to setup a usb stick to fat16 FS , using Fdisk, I deleted
> the partition and was going to make a new one, did a 'w' to disk.
> But when I open fdisk /dev/sdc and do a 'l' , it lists only SunOS type
> partitions, how do I get back to where it lists the 'fat16' partition
> type ?
> 
> I have used fdisk many times but have never got it to display SunOS
> partition types.

Fdisk should act correctly on a completely erased disk:

  head -c 10000000 /dev/zero >/dev/sdc

will zero a few megabytes and make the disk to appear perfectly clean.

(be careful with this stuff!)

Best regards.

-- 
   Roberto Ragusa    mail at robertoragusa.it




More information about the fedora-list mailing list