Author Topic: Reformatting "Windows" USB memory sticks  (Read 1859 times)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Reformatting "Windows" USB memory sticks
« Reply #15 on: January 21, 2010, 04:23:35 PM »
Done that.  But the sr0 partition is still there.

Quote
[howard@crocus ~]$ fdisk -l

Disk /dev/sda: 4038 MB, 4038066176 bytes
125 heads, 62 sectors/track, 1017 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table


/dev/sr0 is where?

The disk has been wiped according to the output above .......

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Reformatting "Windows" USB memory sticks
« Reply #16 on: January 21, 2010, 04:38:57 PM »
To reinstate the MBR and Partition Table

fdisk /dev/sd?      (sda from above)
m                           (for help)
o                          (create a new DOS partition Table)
w                          (to write to the disk)
q                           (to quit)


Remove the disk, wait and reinsert, and run
fdisk /dev/sd?    (sda from above)

You should now see a different report ......  a partition table which will allow you to create and format partition encompassing the whole disk.

You can go through the above and not select "w" and the disk will not be written to -- if you want to try a 'dry run'.

If you want to add a partition while using fdisk you can also choose that option --  n  -- or use the PCLOS PCC to add the partition.

regards.

Offline tuxalish

  • Hero Member
  • *****
  • Posts: 553
  • Voulez vous couchez avec moi?
Re: Reformatting "Windows" USB memory sticks
« Reply #17 on: January 21, 2010, 04:45:59 PM »
Quote
Done that.  But the sr0 partition is still there.

Howard, I'm confused. If I'm not mistaken, /dev/sr0 should be your optical drive (CD/DVD writer/burner). If you indeed have an optical drive, you want to keep /dev/sr0 intact.




I don't need no steenking Windows --tuxalish