ZFS and zfsloader

CyberLeo Kitsana cyberleo at cyberleo.net
Tue Apr 26 07:24:11 UTC 2011


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 at CyberLeo.Net>

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


More information about the freebsd-questions mailing list