Results 1 to 5 of 5
I have a 2Gb DT Kingston secure USB stick which somehow I have contrived to partially reformat using Gparted - however it now only shows 15Mb of unallocated space and ...
- 10-31-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
Can't reformat USB stick drive
I have a 2Gb DT Kingston secure USB stick which somehow I have contrived to partially reformat using Gparted - however it now only shows 15Mb of unallocated space and that's it - I cannot seem to get the full empty 2Gb back again.
Is it because it used to have windows based secure software on it - has it 'locked down' the drive so it's now useless?
I just want to have 2Gb of EXT type space!
- 11-01-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 448
with the stick inserted, try
fdisk -l
should show the name--sda, or sdb or whatever: suppose sda
fdisk /dev/sda
p: shows existing partitions
d: to delate one by one
w: to writeback with no partitions
q: to quit
then do it again with fdisk
fdisk /dev/hda
n: to make new partition
p: primary
1: first
(accept defaults)
w:
q:
then make a file system
fsck.ext3 /dev/sda
should have you up and running againthe sun is new every day (heraclitus)
- 11-01-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
I checked the device in Gparted - it's definitely hdd, yet I get:
ed@ed-desktop ~ $ fdisk /dev/hdd
Unable to open /dev/hdd
- 11-08-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,485
You cannot format a mounted drive. You need to umount it first, then you can repartition and/or reformat it.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-08-2009 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
it's not mounted as none of it is allocated
it just seems odd that it used to be 2Gb, and now it only shows 15Mb total


Reply With Quote
