Date: Tue, 26 Apr 2011 23:16:42 +1200 From: Peter Toth <freebsd@snap.net.nz> To: CyberLeo Kitsana <cyberleo@cyberleo.net> Cc: freebsd-questions@freebsd.org Subject: Re: ZFS and zfsloader Message-ID: <4DB6A99A.4030305@snap.net.nz> In-Reply-To: <4DB67318.1070204@cyberleo.net> References: <4DB60D60.3010104@snap.net.nz> <4DB67318.1070204@cyberleo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/26/11 19:24, CyberLeo Kitsana wrote: > 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). > Worked like a charm! Many thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB6A99A.4030305>