[OpenBIOS] openfirmware boot partition layout

Dinar Valeev dinarv at gmail.com
Tue Feb 15 15:09:17 CET 2011


I'm playing with kvm on powerpc (I have LPAR'ed IBM Power5 machine).

I have a couple of disk images which are working perfectly. (I've
tested it by deploying it using VIO server with usual dd command
directly to LPAR disk)

But when I'm trying to attach same image as qemu (with KVM enabled)
disk. VM won't boot. It just stuck on openbios banner.

I have another image with old mac partition table (which is working under qemu)

So I have actually two questions:
1) Is booting from PReP partition (type 0x41) is supported? (PReP just
consists raw copy of yaboot binary)

2) When VM have LVM root then it required to have FAT partition (type
0x06) with kernel, initrd, yaboot and its config.
Does this scenario supported as well?

Here is usual partition setups I have:
non lvm setup:
Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  8225kB  8193kB  primary               boot, , , , , ,
, , , type=41, prep,
 2      8225kB  897MB   888MB   primary  ext3         , , , , , , , ,
, type=83, ,

lvm setup:
Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  49.4MB  49.3MB  primary  fat16        boot, , , , , ,
, , , type=06, ,
 2      49.4MB  979MB   929MB   primary               , , , , , lvm, ,
, , type=8e, ,

I'll glad to provide additional information or participate in testing
in the future.

Thanks in advance,

More information about the OpenBIOS mailing list