[clug] Getting rid of a partition on a USB drive

Owen rcook at pcug.org.au
Sun Apr 10 02:48:17 MDT 2011

> Hi all,
> Thanks for the great suggestions so I had a go at it this afternoon
> but
> still no luck. I'm running UBUNTU 10 so the suggested drivers (eg.
> launchPadRemoval) don't work on this machine.
> Below is the /var/log/messages content when I plug in the USB drive.
> These messages don't mean much to me. Does it help anyone else?  I
> still
> only have a 480mb and 1.5mb drives but where has the rest of the 2gb
> gone? Its a LEGEND memory stick if that helps.
> Thanks.

> Apr 10 17:38:29 john-laptop kernel: [ 8233.314288] sd 6:0:0:0: [sdc]
> Attached SCSI removable disk
> Apr 10 17:38:29 john-laptop kernel: [ 8233.315717] sd 6:0:0:1: [sdd]
> Attached SCSI removable disk


# fdisk -l

you should get all your hdd plus the details of /dev/sdc and /dev/sdd.
If necessary, unmount both

# fdisk /dev/sdc

press p (for print) and then delete any partitions

Now when you press 'p' it should show nothing

So now go ahead and add whatever partition(s) you want

Set the type

write it out

Them format your new partition(s)

GParted should do the same, from a gui

See what happens


More information about the linux mailing list