How to boot kernel.old version in 5.4

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jun 9 21:46:46 GMT 2005


On 2005-06-09 17:40, fbsd_user <fbsd_user at a1poweruser.com> wrote:
> In 5.4 after compiling a new kernel you have the default boot location being
> /boot/kernel/ directory containing the current newly compiled kernel and
> /boot/kernel.old/ directory containing the generic system.
>
> For safeguard I do
> mkdir /boot/kernel.generic
> cp -Rfv /boot/kernel.old/ /boot/kernel.generic/
>
> Now my question,
> At the beastie boot menu I select option 6 for boot prompt,
> What do I enter to load from /boot/kernel.generic/ directory??

If I remember all the commands correctly (since it's been a while
now), you can use either:

	unload
	set bootfile=/boot/kernel.old/kernel
	set module_path=/boot/kernel.old
	load kernel
	boot

or the simpler:

	boot kernel.old



More information about the freebsd-questions mailing list