ZFS on MBR does not boot at all
uki
ukaszg at gmail.com
Thu May 9 13:36:50 UTC 2013
I had to set up ZFS on MBR lately.
Since I'm lazy I wrote a script for that.
Maybe it would suit your needs (it's very simple though).
https://bitbucket.org/ukaszg/freebsd-zfs-on-mbr-installer
2013/5/9 Giorgos Keramidas <keramida at ceid.upatras.gr>:
> 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.
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Pozdrawiam,
Łukasz Gruner
More information about the freebsd-questions
mailing list