USB Pendrive Partitions

I have a USB pen drive which i wanted to store some files on but when i plugged it in it was not (visably) detected. I checked in “media” and it was not there. so i opened gparted and noticed that the drive was there but simply had no partitions on it. i tried to create a FAT partition but when i hit apply gparted crashed. has anyone got any idea how i can sort this, please help :smiley: thanx

On 2008-06-15, benashton24 <benashton24@no-mx.forums.opensuse.org> wrote:

> I have a USB pen drive which i wanted to store some files on but when i
> plugged it in it was not (visably) detected. I checked in “media” and
> it was not there. so i opened gparted and noticed that the drive was
> there but simply had no partitions on it. i tried to create a FAT
> partition but when i hit apply gparted crashed. has anyone got any idea
> how i can sort this, please help :smiley: thanx

Have you tried Yast’s Partitioner ?


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

ye, i tried yast’s partitioner and it returned error -1013

Failure occurred during the following action:
setting disk label of disk /dev/sdh to msdos

system error code was: -1013

/usr/sbin/parted -s /dev/sdh mklabel msdos:
*** stack smashing detected ***: <unknown> terminated

any ideas?

I just tried to partition / add a drive label with Diskman and it crashed also :frowning: any ideas please

On 2008-06-15, benashton24 <benashton24@no-mx.forums.opensuse.org> wrote:

> ye, i tried yast’s partitioner and it returned error -1013
>=========================================================
> Failure occurred during the following action:
> setting disk label of disk /dev/sdh to msdos
>
> system error code was: -1013
>
> /usr/sbin/parted -s /dev/sdh mklabel msdos:
> *** stack smashing detected ***: <unknown> terminated
>==========================================================
> any ideas?

I thought you had a problem accessing a drive?
Why are you trying to give it a label?

Is this drive actually supposed to contain any information? Is it visible on
a Windows machine, or another Linux machine?

If there is nothing on it, you might want to rewrite the MBR, before
creating a new partition. Had to do that for an Packard Bell mp3 player with
a non-standard partitioning.


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

I was trying to give it a label because yasts partitioner and Diskman both said that it needed a label before i could add a partition. basically i can’t create a partition on it and it’s not visible on windows or Linux as it doesn’t come up as a storage device unless it has a partition for data to be stored on. Please could you tell me more about rewriting the master boot record. I did a quick Google but i didn’t come across any useful information. Any help would be great, thank you :slight_smile: