Hello Marcus, On Thu, Oct 12, 2006 at 09:36:41AM +1100, Marcus Brown wrote:
> Recently I realised (while testing smaller cards) that the cylinder > size was defaulting to 8225kB when creating and new label + partition. > Of course, this is way too large for a 16MB card ;) Indeed. But why do you need the cylinder size? > The way I've got around this is by using fdisk to create the label and > partition instead, which usually results in a cylinder size of 32KB. > > It also takes a lot longer to execute :(. > > I've also had to start working in sectors, rather than cylinders, > which is a bit more painful. I guess. The libparted-based GNU fdisk (currently beta, ready for release soon) has, like its util-linux counterpart, options to set the CHS values. parted will get this in the mid-term future, too (I invite you to create a patch in any case). > Convert logical to primary -------------------------- Initially, I had > a function (which worked) which was written because cards formatted by > PocketPC contained an extended partition with a single logical fat32. > It worked by performing a dummy resize of partition 5, removing both > table entries, and creating a new primary with the same start/end as > the previous logical. For some reason this no longer works, (although > I can't tell you when/why it stopped;) any suggestions on how to do > this properly? It's hard to say without knowing exactly about the disk layout and the steps you performed. Give us more information and we might be able to help. I wish you all the best for your project and hope that we can resolve these issues with you. Leslie > ps. hope this is the right list :) Yes, anything remotely Parted goes here :) -- gpg --keyserver pgp.mit.edu --recv-keys DD4EBF83 http://nic-nac-project.de/~skypher/
pgpc6lO6CuLbn.pgp
Description: PGP signature
_______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

