Building new kernel help

Justin Baugh baughj at discordians.net
Fri Mar 12 07:19:39 PST 2004


> Greetings,
> I have installed 5.1-release on a box that will ultimately be 
> a firewall for my home network.  Everything went fine.
> When I modified the kernel (/usr/src/sys/i386/conf) and 
> remade the kernel (followed the /usr/share/docs
> instructions) and rebooted, the system would start coming up. 
>  Get to the menu screen.  I'd choose 1, and it would start 
> showing the devices like normal, then reboot (automatically). 
>  Tried to boot single user, and the same thing happens.
> 
> How do I boot the old kernel ?  I built the new one with the 
> /usr/sbin/config, make depend, make,make install sequence.

You can hit the escape key when you see the menu screen to get
to the loader prompt. From there, you should be able to type
kernel.old (I can't remember if you need to specify something 
like bios_drive:interface(unit,[slice,]part) filename 
(eg 0:ad(0,a)/kernel, check out the boot manpage).

-Justin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4345 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040312/fab63761/smime.bin


More information about the freebsd-questions mailing list