Re: ZFS install from -CURRENT snapshot

From: Daniel Staal <DStaal_at_usa.net>
Date: Mon, 30 May 2011 18:48:05 -0400
--As of May 31, 2011 1:21:49 AM +0300, George Kontostanos is alleged to 
have said:

> Bingo! That did it. I will update the guide soon.
>
> _at_Daniel my apologies it seems that another typo is preventing you from
> booting. You have to set the bootfs in the pool.
>
> zpool set bootfs=zroot zroot

--As for the rest, it is mine.

I'd actually caught that one...  (Yesterday afternoon.)

I was hoping this was something people had seen before.  At this point, 
I've been trying to get a FreeBSD+ZFS install on this box for about a month 
- including spending much of my first vacation in two years on it - and I 
know that even if I do manage to do so I'll still have a problem with the 
screen resolution.  (Sandy Bridge integrated graphics.  It works in VERSA 
mode, but doesn't detect the native mode.)

I've decided to call it quits for now.  A current Linux runs fine.  The 
power management isn't as good as FreeBSD, I'm loosing the ZFS coolness, 
and the other advantages of a FreeBSD box over Linux, but it means I've got 
a working laptop for the moment.  I'll revisit putting FreeBSD on it 
sometime in the future, once the hardware isn't quite so current-edge.  For 
now, I've invested too much time into just getting this running.

George, a couple other notes on your walkthrough:  (I'd decided to wait 
until I was done to go over all of these.)
cd /tmp && copy -R * /boot    # Needs to be cp.
zpool create -O mountpoint=/mnt zroot /dev/gpt/disk0     # Will avoid the 
export/import later.

And in theory it doesn't make *much* difference, but setting the checksum 
before creating usr, var, and tmp is slightly better practice.  (The 
directory entries are checksummed as well, which would be the only 
difference.  If any files were created in between they'd get the fletcher2 
checksum.)

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
Received on Mon May 30 2011 - 20:48:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC