Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 02:24:08 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Peter Toth <freebsd@snap.net.nz>
Cc:        CyberLeo <cyberleo@cyberleo.net>, freebsd-questions@freebsd.org
Subject:   Re: ZFS and zfsloader
Message-ID:  <4DB67318.1070204@cyberleo.net>
In-Reply-To: <4DB60D60.3010104@snap.net.nz>
References:  <4DB60D60.3010104@snap.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/25/2011 07:10 PM, Peter Toth wrote:
> Hi there,
> 
> I've recently migrated my old laptop to a new one (both running R8.2 +
> ZFS). Used zfs send/recv and corrected mountpoints.
> On the old laptop I had my / sitting in zpool, on the new one I've
> created a separate zpool/root for /.
> Everything is working OK except one strangeness - the boot loader still
> reads the kernel out of zpool/boot instead of zpool/root/boot.
> 
> I've reinstalled the boot code and the loader but this did not help.
> 
> Anyone has an idea how to fix this?

zpool set bootfs=zpool/root zpool

The bootfs property on the zpool tells zfsboot which dataset contains
the next boot stage (/boot.config or /boot/loader).

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB67318.1070204>