ZFS on MBR does not boot at all

Giorgos Keramidas keramida at ceid.upatras.gr
Thu May 9 11:39:17 UTC 2013


On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom <jrisom at gmail.com> wrote:
> On 5/5/2013 3:20 PM, Giorgos Keramidas wrote:
>> Hi David,
>>
>> Thanks for following up with what the real problem was.  I updated the
>> Wiki to include this:
>>
>>      Note that partition order is important. It seems that zfsboot
>>      requires the freebsd-zfs partition to be the first, so make sure you
>>      add if first, before your swap partition.
>>
>> Cheers,
>> Giorgos
>
> What?  I've been using this set up for years.
>
> =>       34  976773101  ada1  GPT  (465G)
>          34        128     1  freebsd-boot  (64k)
>         162    8388608     2  freebsd-swap  (4.0G)
>     8388770  968384365     3  freebsd-zfs  (461G)
>
> =>       34  976773101  ada2  GPT  (465G)
>          34        128     1  freebsd-boot  (64k)
>         162    8388608     2  freebsd-swap  (4.0G)
>     8388770  968384365     3  freebsd-zfs  (461G)

That's ok for GPT partitions.  The original post was about an MBR
partition table.

Some modern laptops (mine is one) do not boot successfully from a disk
with a GPT partition scheme, unless the boot loader is EFI-capable
(which ours isn't).  So you have to use an MBR-style partition table.

In those cases the note is still useful to see.




More information about the freebsd-questions mailing list