Discussion:
How to partition a USB stick ?
(too old to reply)
Lars Erdmann
2008-01-07 19:46:07 UTC
Permalink
Hallo,

I have a USB stick that was formatted to FAT under WinXP. I can see it
in OS/2 and I can copy something onto it but I am not able neither to
delete nor to create a partition on it, let alone a volume. LVMGUI
always tells me that "free memory cannot be used" or something like
that. I tried primary,logical partition, at start of free space, at end
of free space.
If I try to create an LVM volume, I get the error "this partition could
not be created from free memory".

I want to create an LVM volume on the USB stick so that I can format it
to JFS. What do I have to do ? Or does WinXP format the USB stick as a
large floppy (no partitions) ?


Lars
Ilya Zakharevich
2008-01-07 22:09:44 UTC
Permalink
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Lars Erdmann
Post by Lars Erdmann
I want to create an LVM volume on the USB stick so that I can format it
to JFS. What do I have to do ? Or does WinXP format the USB stick as a
large floppy (no partitions) ?
I presume any system would format it as large floppy if it was not
partitioned first...

You need to delete the boot record. Zero the first sector. Something
like (dd untested; U: is the stick)

perl -we "binmode STDOUT; print qq(\0) x 512" >zeros
dd bs=512 count=1 if=zeros of=U:

Hope this helps,
Ilya
Rich Walsh
2008-01-08 05:38:06 UTC
Permalink
Post by Lars Erdmann
I have a USB stick that was formatted to FAT under WinXP. I can see it
in OS/2 and I can copy something onto it but I am not able neither to
delete nor to create a partition on it, let alone a volume.
I want to create an LVM volume on the USB stick so that I can format it
to JFS. What do I have to do ?
DFSee is good for stuff like this (new mbr, partition table, etc).
Also, if you have any of the eCS 2.0 betas or RCs, its UJFS.DLL
lets you format a compatibility volume with JFS.
--
== == almost usable email address: Rich AT E-vertise.Com == ==
___________________________________________________________________
|
| New! DragText v3.9 with NLS support
Rich Walsh | A Distinctly Different Desktop Enhancement
Ft Myers, FL | http://e-vertise.com/dragtext/
___________________________________________________________________
Lars Erdmann
2008-01-12 11:32:17 UTC
Permalink
Post by Rich Walsh
Post by Lars Erdmann
I have a USB stick that was formatted to FAT under WinXP. I can see it
in OS/2 and I can copy something onto it but I am not able neither to
delete nor to create a partition on it, let alone a volume.
I want to create an LVM volume on the USB stick so that I can format it
to JFS. What do I have to do ?
DFSee is good for stuff like this (new mbr, partition table, etc).
Also, if you have any of the eCS 2.0 betas or RCs, its UJFS.DLL
lets you format a compatibility volume with JFS.
Hi,

in the meantime I got it working (without DFSEE):
1.) formatted the complete stick to FAT
2.) entered LVM and deleted the volume
3.) recreated a LVM volume
4.) formatted to JFS

it now works. (no I don't have access to eCS 2.0 betas)


Lars

Loading...