Root on zfs (stable9) - how to make it bootable
demelier.david at gmail.com
Fri Feb 22 10:55:54 UTC 2013
Sorry didn't read that you have a MBR slice instead of GPT
then you should take a look at that one
2013/2/22 David Demelier <demelier.david at gmail.com>
> There are a lot of example in gpart(8) man page. You should use it
> I think you should do something like
> gpart bootcode -b /boot/pmbr ada0
> gpart bootcode -p /boot/gptzfsboot -i 1 ada0
> (The second assume that you have a freebsd-boot as first index in ada0)
> 2013/2/22 uki <ukaszg at gmail.com>
>> I want to install freebsd9 (stable) on zfs root, unfortunately my bios
>> is unable to recognize GPT discs.
>> I'm using MBR disc, with BSD slice (on mbr index 4) containing
>> freebsd-zfs filesystem.
>> I've no idea how to make it bootable, I've tried using:
>> zpool export sys
>> dd if=/boot/zfsboot of=/dev/ada0s4 count=1
>> dd if=/boot/zfsboot of=/dev/ada0s4a skip=1 seek=1024
>> zpool import sys
>> When I select F4 (slice with zfs) whilst booting the computer just turns
>> How do I make it boot? Do I need freebsd-boot slice?
>> I have set bootfs property on pool, and added vfs.root.mountfrom to
>> Łukasz Gruner
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org"
> Demelier David
More information about the freebsd-questions