Re: ZFS on MBR does not boot at all
Le dimanche 5 mai 2013 22:20:43 Giorgos Keramidas a écrit : > On Mon, 29 Apr 2013 13:29:18 +0200, David Demelier wrote: > > 2013/4/18 David Demelier : > >> Hello, > >> I would like to use ZFS over MBR for multiboot purposes. I've followed > >> that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it > >> does not boot at all. The loader does not show up after choosing > >> FreeBSD in the boot0 loader. > >> > >> The _ prompt appears but nothing starts. I've found many people over > >> the web having the same problem but unfortunately no one found a > >> solution. > >> > >> I think the offensive commands are ones with dd and zfsboot. > >> Regards, > > > > So someone told me on IRC that the main problem was that I've put my > > partition swap as first partition in the FreeBSD slice and zfsboot > > *requires* that the zfs partition is the first. > > > > Can someone with right access to the wiki page may add a notice about > > this issue on https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition > > please? > > 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. Thank you :) Regards, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS on MBR does not boot at all
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 : > On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom 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) >> 34128 1 freebsd-boot (64k) >> 1628388608 2 freebsd-swap (4.0G) >> 8388770 968384365 3 freebsd-zfs (461G) >> >> => 34 976773101 ada2 GPT (465G) >> 34128 1 freebsd-boot (64k) >> 1628388608 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Pozdrawiam, Łukasz Gruner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS on MBR does not boot at all
On Sun, 05 May 2013 17:56:49 -0500, Joshua Isom 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) > 34128 1 freebsd-boot (64k) > 1628388608 2 freebsd-swap (4.0G) > 8388770 968384365 3 freebsd-zfs (461G) > > => 34 976773101 ada2 GPT (465G) > 34128 1 freebsd-boot (64k) > 1628388608 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS on MBR does not boot at all
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) 34128 1 freebsd-boot (64k) 1628388608 2 freebsd-swap (4.0G) 8388770 968384365 3 freebsd-zfs (461G) => 34 976773101 ada2 GPT (465G) 34128 1 freebsd-boot (64k) 1628388608 2 freebsd-swap (4.0G) 8388770 968384365 3 freebsd-zfs (461G) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ZFS on MBR does not boot at all
On Mon, 29 Apr 2013 13:29:18 +0200, David Demelier wrote: > 2013/4/18 David Demelier : >> Hello, >> I would like to use ZFS over MBR for multiboot purposes. I've followed >> that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it >> does not boot at all. The loader does not show up after choosing >> FreeBSD in the boot0 loader. >> >> The _ prompt appears but nothing starts. I've found many people over >> the web having the same problem but unfortunately no one found a >> solution. >> >> I think the offensive commands are ones with dd and zfsboot. >> Regards, > > So someone told me on IRC that the main problem was that I've put my > partition swap as first partition in the FreeBSD slice and zfsboot > *requires* that the zfs partition is the first. > > Can someone with right access to the wiki page may add a notice about > this issue on https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition > please? 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 pgpAGlS_lM5GA.pgp Description: PGP signature
Re: ZFS on MBR does not boot at all
2013/4/18 David Demelier : > Hello, > > I would like to use ZFS over MBR for multiboot purposes. I've followed > that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it > does not boot at all. The loader does not show up after choosing > FreeBSD in the boot0 loader. > > The _ prompt appears but nothing starts. I've found many people over > the web having the same problem but unfortunately no one found a > solution. > > I think the offensive commands are ones with dd and zfsboot. > > Regards, > So someone told me on IRC that the main problem was that I've put my partition swap as first partition in the FreeBSD slice and zfsboot *requires* that the zfs partition is the first. Can someone with right access to the wiki page may add a notice about this issue on https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition please? Regards, -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
ZFS on MBR does not boot at all
Hello, I would like to use ZFS over MBR for multiboot purposes. I've followed that guide https://wiki.freebsd.org/RootOnZFS/ZFSBootPartition but it does not boot at all. The loader does not show up after choosing FreeBSD in the boot0 loader. The _ prompt appears but nothing starts. I've found many people over the web having the same problem but unfortunately no one found a solution. I think the offensive commands are ones with dd and zfsboot. Regards, -- Demelier David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"