LVM/Ubuntu/PowerPCSeptember 10, 2007 11:06 am General
Yesterday, upgraded Ubuntu on my Power G5 from Feisty to Gutsy. Everything is smooth so far.
Additionally, tried to change a couple of partitions to LVM. Found a couple of interesting things:
1. I could not create a partition of type 8e (Linux LVM) on PowerPC. Neither fdisk not parted could help. I found the answer during the discussion with some smart folks on #gentoo-ppc (I always knew gentooers are smart, though I would never use their distro): first, fdisk on PPC is a symlink to mac-fdisk which has nothing to do with PC-oriented “usual” fdisk, second, the format of the partition table on Mac (Apple Partition Map, APM) has absolutely no relation to good old MBR/PT on PC, so signatures like 8x, 83 (ext2) etc make no sense whatsoever. So, just creating empty partition of type Apple_Unix_SVR2 was good enough – it worked ok for me, anyway.
2. Unfortunately, Ubuntu has problems with /var on LVM. The partition is mounted too late, so first parts of the init process gets screwed up (error messages about missing /var/lock and /var/run). So, I had to move /var back to “normal” partition. Pity. If anyone has idea how to fix it – please tell me. Going to file a bug in launchpad anyway.