Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 09:00:24 GMT
From:      Pan Tsu <inyaoo@gmail.com>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/153804: boot from zfs kernel.old recovery undocumented/impossible
Message-ID:  <201105250900.p4P90OJO041088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/153804; it has been noted by GNATS.

From: Pan Tsu <inyaoo@gmail.com>
To: Andriy Gapon <avg@FreeBSD.org>
Cc: bug-followup@FreeBSD.org, Nick Sayer <nsayer@kfu.com>
Subject: Re: kern/153804: boot from zfs kernel.old recovery undocumented/impossible
Date: Wed, 25 May 2011 12:52:38 +0400

 Andriy Gapon <avg@FreeBSD.org> writes:
 
 > Try the following options:
 > 
 > 1)
 > unload
 > set kernel=kernel.old
 > boot
 > 
 > 2)
 > unload
 > load /boot/kernel.old/kernel
 > load -t /boot/zfs/zpool.cache /boot/zfs/zpool.cache
 
 zpool_cache_type can be anything. loader(8) unlike grub2 doesn't enforce
 type to be "/boot/zfs/zpool.cache".
 
 > boot
 
 Whatever happened to just typing following?
 
   boot kernel.old
 
 It assumes zpool.cache was already preloaded by failed attempt to boot
 default kernel. No need to `unload' the kernel, `boot' replaces it.
 
 > My expectation is that both should do what you want.



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