Date: Thu, 18 Nov 2004 20:31:01 +0000 From: Peter Risdon <peter@circlesquared.com> To: Curtis Vaughan <curtis@npc-usa.com> Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 5.3-Beta1 to 5.3-RELEASE Message-ID: <419D0685.8030700@circlesquared.com> In-Reply-To: <877D356B-399E-11D9-A404-000393934006@npc-usa.com> References: <20041109013813.GC576@internode.com.au> <308DF423-399E-11D9-A404-000393934006@npc-usa.com> <877D356B-399E-11D9-A404-000393934006@npc-usa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Curtis Vaughan wrote: > On 18 Nov, 2004, at 12:12, Curtis Vaughan wrote: > >>> >>> So basically: >>> >>> o update from cvs >>> # cd /usr/src >>> # make update >>> o build world/kernel in your normal or single-user mode >>> # cd /usr/obj >>> # rm -rf * >>> # cd /usr/src >>> # make buildworld >>> # make buildkernel KERNCONF=YOURKERNEL >>> >> Adam! >> >> Sorry to bother you again, but I got as for as make buildworld, after >> which I typed "make buildkernel KERNCONF=MYKERNEL" >> and I got: >> >> cod# make buildkernel KERNCONF=MYKERNEL >> ERROR: Missing kernel configuration file(s) (MYKERNEL). >> false >> *** Error code 1 >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> Any ideas why? >> >> Curtis >>> Maybe you can disregard that. Looking at "The Complete FreeBSD" I see > that you can just use GENERIC, if you want. So, I typed: > > make buildworld KERNCONF=GENERIC > > and off it went. > > Any reason why I wouldn't want to use GENERIC? I haven't compiled > anything special for my kernel. It's worth reading: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html But basically, if you want to use the GENERIC kernel, just type: #make buildkernel The KERNCONF thingy is only necessary if you want to use a custom kernel and, as you've discovered, this won't work unless you have first generated a custom kernel configuration file, while is normally done by: #cd /usr/src/sys/i386/conf #cp GENERIC MYKERNELNAME #vi MYKERNELNAME Then add/delete as appropriate and when you run make buildkernel add KERNCONF=MYKERNELNAME It helps, in the long run, to give your kernel a meaningful name. Regards, Peter. -- the circle squared network systems and software http://www.circlesquared.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?419D0685.8030700>