Hello,
following the instructions from the wiki, i have installed FreeBSD on a ZFS volume on my harddisk. This was quite straitforward and the installation on the volume is ok, at least i can access it without problems from linux with zfs-fuse.
The problem is, that i cannot boot my installation. So here is my installation in detail:
One 300gb disk, with GPT partitions as follows.
1) 128KB for embedded grub
2) ~150GB for Linux LVM
3) 64KB freebsd-boot (gptzfsboot)
4) 16GB freebsd-swap
5) ~rest freebsd-zfs
gpart -p gptzfsboot -i3 ad4 went well (ad4 is my disk as reported from the bios)
I intended to chainload pmbr with grub which in turn loads gptzfsboot from disk0p3 (== ad4p3 == hd0,3).
With gptzfsboot it should be no problem to load the loader from the zfs root volume.
So here is were the trouble begins. Pmbr seems to load fine, and i think(!) it loads gptzfsboot as well. I'm not quite sure about this but i definitely know that it's not the loader. I get a boot prompt were i can type "lsdev" for example. This will show me the partitions like above:
disk0p1 ..
disk0p2 ..
disk0p3 BOOT
disk0p4 SWAP
disk0p5 ZFS
There is also a line about zfs devices but none shows up (and i have two zfs devices in this machine, one dedicated raidz and the volumes on ad4).
I should mention that i accidentally installed pmbr to the mbr thus overwriting grub. The result was the same just like after restoring grub and chainloading pmbr.
Any help would be appreciated. Having FreeBSD on my harddisk and being able to load the kernel is frustrating. Are there any partition boundaries important to gptzfsboot (e.g. does it have to reside somewhere in first gb?).
Thanks and regards!
following the instructions from the wiki, i have installed FreeBSD on a ZFS volume on my harddisk. This was quite straitforward and the installation on the volume is ok, at least i can access it without problems from linux with zfs-fuse.
The problem is, that i cannot boot my installation. So here is my installation in detail:
One 300gb disk, with GPT partitions as follows.
1) 128KB for embedded grub
2) ~150GB for Linux LVM
3) 64KB freebsd-boot (gptzfsboot)
4) 16GB freebsd-swap
5) ~rest freebsd-zfs
gpart -p gptzfsboot -i3 ad4 went well (ad4 is my disk as reported from the bios)
I intended to chainload pmbr with grub which in turn loads gptzfsboot from disk0p3 (== ad4p3 == hd0,3).
With gptzfsboot it should be no problem to load the loader from the zfs root volume.
So here is were the trouble begins. Pmbr seems to load fine, and i think(!) it loads gptzfsboot as well. I'm not quite sure about this but i definitely know that it's not the loader. I get a boot prompt were i can type "lsdev" for example. This will show me the partitions like above:
disk0p1 ..
disk0p2 ..
disk0p3 BOOT
disk0p4 SWAP
disk0p5 ZFS
There is also a line about zfs devices but none shows up (and i have two zfs devices in this machine, one dedicated raidz and the volumes on ad4).
I should mention that i accidentally installed pmbr to the mbr thus overwriting grub. The result was the same just like after restoring grub and chainloading pmbr.
Any help would be appreciated. Having FreeBSD on my harddisk and being able to load the kernel is frustrating. Are there any partition boundaries important to gptzfsboot (e.g. does it have to reside somewhere in first gb?).
Thanks and regards!