[linux-lvm] Re: mac-fdisk and 0x8e partitions for LVM

Leandro Guimarães Faria Corcete Dutra ldutra at prefeitura.sp.gov.br
Thu Jan 15 08:55:07 UTC 2004


Em Qui, 2004-01-15 às 11:00, Michael Schmitz escreveu:
> > 	mac-fdisk won't allow me to create a 0x8e partition, thus precluding
> > LVM usage... any solutions in view?  Would pmac-fdisk or parted do the
> > job?
> 
> There's no such thing as a numerical partition type in Apple partition
> maps. cfdisk or parted could be used to create a different partition table
> (precluding use of MacOS). Or LVM could be made Apple partition format
> aware (using either a new partition type or partition name for detection;
> I'd prefer the partition name (like, "LVM 1" etc. as that can easily be
> added with mac-fdisk. (Creating other partition types is only marginally
> more difficult, simply us 'C' instead of 'c' to create the partition).
> 
> To reiterate: I don't see any solution without making LVM accept Apple
> partition maps in the first place. Which part of LVM checks the partition
> type? Can you show me some sample code?

	Unfortunately I'm no hacker, I am just trying to use LVM on the
PowerMac (OldWorld, beige G3).  So I can't show you source code.  This
evening when I get back home I can take note of the error messages and
send them, but to sum it up I tried everything under the Sun, and none
could mark a partition as LVM type, not even parted which does uses
names instead of hexadecimals.

	I tried even to mark a partition as undefined with mac-fdisk, but then
vgcreate fails, even if pvcreate works.


-- 
Leandro Guimarães Faria Corcete Dutra <ldutra at prefeitura.sp.gov.br>
Prefeitura do Município de São Paulo
Governo Eletrônico, Telecentros                  +55 (11) 5080 9647
http://br.geocities.com./lgcdutra/               +55 (11) 5080 9648





More information about the linux-lvm mailing list