how do I remove extra annoying partition from USB stick

This is a discussion on how do I remove extra annoying partition from USB stick within the Linux General forums, part of the Linux Forums category; HI All, I have a PQI U339Pro USB thumb drive. It comes with an extra 10 Meg partition with usb ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-13-2007
ToddAndMargo
 
Posts: n/a
Default how do I remove extra annoying partition from USB stick

HI All,

I have a PQI U339Pro USB thumb drive. It comes
with an extra 10 Meg partition with usb utilities
targeted at M$Windows users.

How do I get rig of this turkey!

Many thanks,
-T
Reply With Quote
  #2 (permalink)  
Old 08-13-2007
Gregory Shearman
 
Posts: n/a
Default Re: how do I remove extra annoying partition from USB stick

ToddAndMargo wrote:

> HI All,
>
> I have a PQI U339Pro USB thumb drive. It comes
> with an extra 10 Meg partition with usb utilities
> targeted at M$Windows users.
>
> How do I get rig of this turkey!
>
> Many thanks,
> -T


man fdisk

--
Regards,

Gregory.
Gentoo Linux - Penguin Power
Reply With Quote
  #3 (permalink)  
Old 08-13-2007
ToddAndMargo
 
Posts: n/a
Default Re: how do I remove extra annoying partition from USB stick

Gregory Shearman wrote:
> ToddAndMargo wrote:
>
>> HI All,
>>
>> I have a PQI U339Pro USB thumb drive. It comes
>> with an extra 10 Meg partition with usb utilities
>> targeted at M$Windows users.
>>
>> How do I get rig of this turkey!
>>
>> Many thanks,
>> -T

>
> man fdisk
>


fdisk says it can not write to the drive.
Any other ideas?

Reply With Quote
  #4 (permalink)  
Old 08-13-2007
Marc
 
Posts: n/a
Default Re: how do I remove extra annoying partition from USB stick

ToddAndMargo wrote:

> Gregory Shearman wrote:
>> ToddAndMargo wrote:
>>
>>> HI All,
>>>
>>> I have a PQI U339Pro USB thumb drive. It comes
>>> with an extra 10 Meg partition with usb utilities
>>> targeted at M$Windows users.
>>>
>>> How do I get rig of this turkey!
>>>
>>> Many thanks,
>>> -T

>>
>> man fdisk
>>

>
> fdisk says it can not write to the drive.
> Any other ideas?


Did you try sudo gparted ?
I had a'secured' USB stick from work, and it only worked with windows.
With gparted, I threw out all partitions.
Once the stick was completely empty, I created a new fat32 partition.
Now I can use the stick in both windows and linux environments

--
Marc
Reply With Quote
  #5 (permalink)  
Old 08-13-2007
Lew Pitcher
 
Posts: n/a
Default Re: how do I remove extra annoying partition from USB stick

On Aug 13, 11:56 am, ToddAndMargo <ToddAndMa...@NoSpam.verizon.net>
wrote:
> Gregory Shearman wrote:
> > ToddAndMargo wrote:

>
> >> HI All,

>
> >> I have a PQI U339Pro USB thumb drive. It comes
> >> with an extra 10 Meg partition with usb utilities
> >> targeted at M$Windows users.

>
> >> How do I get rig of this turkey!

>
> >> Many thanks,
> >> -T

>
> > man fdisk

>
> fdisk says it can not write to the drive.
> Any other ideas?


Have you disabled the write-protect switch?

Reply With Quote
  #6 (permalink)  
Old 08-14-2007
ToddAndMargo
 
Posts: n/a
Default Re: how do I remove extra annoying partition from USB stick

Marc wrote:
> ToddAndMargo wrote:
>
>> Gregory Shearman wrote:
>>> ToddAndMargo wrote:
>>>
>>>> HI All,
>>>>
>>>> I have a PQI U339Pro USB thumb drive. It comes
>>>> with an extra 10 Meg partition with usb utilities
>>>> targeted at M$Windows users.
>>>>
>>>> How do I get rig of this turkey!
>>>>
>>>> Many thanks,
>>>> -T
>>> man fdisk
>>>

>> fdisk says it can not write to the drive.
>> Any other ideas?

>
> Did you try sudo gparted ?
> I had a'secured' USB stick from work, and it only worked with windows.
> With gparted, I threw out all partitions.
> Once the stick was completely empty, I created a new fat32 partition.
> Now I can use the stick in both windows and linux environments
>


YIPEE!!! THANK YOU!

-T

Warning: if you follow my example below, make sure you substitute
the proper dev device for your thumb drive (mine was /dev/sdc).
DO NOT USE /dev/sdc UNLESS IT REALLY IS YOUR THUMB DRIVE!!!


#su

#parted /dev/sdc rm
Partition number? 1
Information: Don't forget to update /etc/fstab, if necessary.



# fdisk /dev/sdc

Command (m for help): p

Disk /dev/sdc: 4194 MB, 4194303488 bytes
130 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 8060 * 512 = 4126720 bytes

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1016, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1016, default 1016):
Using default value 1016

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): e
Changed system type of partition 1 to e (W95 FAT16 (LBA))

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.



# mkfs.vfat -v -c -n MyCDs /dev/sdc1
mkfs.vfat 2.11 (12 Mar 2005)
Auto-selecting FAT32 for large filesystem
/dev/sdc1 has 130 heads and 62 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 8188898 sectors;
file system has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 7982 sectors, and provides 1021612 clusters.
Volume ID is 46c1ea87, volume label MyCDs .
Searching for bad blocks 124496... 247904... 372192... 495840...
619744... 744272... 868704... 992608... 1116768... 1240672... 1364960...
1488992... 1613280... 1737952... 1862752... 1987040... 2111328...
2236000... 2360800... 2485200... 2609376... 2734048... 2858720...
2982736... 3106784... 3230560... 3355232... 3478880... 3602528...
3727072... 3851744... 3975904...
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0