[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fdisk screwup



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]