Date: Wed, 11 Oct 2006 10:16:22 +0100 From: "Spiros Papadopoulos" <spap13@googlemail.com> To: "Zbigniew Szalbot" <zbyszek@szalbot.homedns.org> Cc: freebsd-questions@freebsd.org Subject: Re: custom kernel, make buildkernel and then? Message-ID: <dab71e150610110216o29f4df65h3059dddbb3434a9d@mail.gmail.com> In-Reply-To: <dab71e150610110213g1c7c960h5729174c6cf90d55@mail.gmail.com> References: <20061011084014.W23849@192.168.11.51> <452CA3A0.9060002@locolomo.org> <20061011101745.D27448@192.168.11.51> <452CABEE.8040302@u.washington.edu> <452CACBC.7040507@u.washington.edu> <20061011104436.B27448@192.168.11.51> <dab71e150610110213g1c7c960h5729174c6cf90d55@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, forgot to include the list On 11/10/06, Spiros Papadopoulos <spap13@googlemail.com> wrote: > > Hi, > > What i simply do is: > > 1. Enter the /usr/src/sys/*/conf directory > 2. copy GENERIC to whatever name i wish (no new dirs, no links) > 3. Alter the file to my needs > 4. cd /usr/src > 5. make buildkernel KERNCONF='name' > 6. make installkernel KERNCONF='name' > 7. shutdown -r now > > Maybe i am missing something here, but this is too simple and never gave > me problems... > why not trying to go for it and see the results. > > Regards, Spiros > > > On 11/10/06, Zbigniew Szalbot <zbyszek@szalbot.homedns.org> wrote: > > > > Hello again, > > > > On Wed, 11 Oct 2006, Garrett Cooper wrote: > > > > >> Easier just to go ln -s /root/kernel/LISTS /usr/src/sys/[arch]/conf/ > > . > > >> > > >> -Garrett > > > Err... omit that last period in the ln command. I just realized that > > could be > > > misleading. > > > > Thank you Garrett - I did > > ln -s /root/kernel/LISTS /usr/src/sys/i386/conf/ > > > > But the error is still there. However I realize now my mistake. I issued > > the above but it should have been kernels not kernel in the path. When I > > now try to make installkernel, it gives me this message: > > > > >>> Installing kernel > > -------------------------------------------------------------- > > cd /usr/obj/usr/src/sys/LISTS; MAKEOBJDIRPREFIX=/usr/obj > > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= > > GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > > > > make KERNEL=kernel install > > cd: can't cd to /usr/obj/usr/src/sys/LISTS > > *** Error code 2 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > > > The only thing in /usr/obj/usr/src/sys/ is the boot directory. Any > > advice? > > > > Thanks for your patience with me and thank you very much for your help! > > > > > > -- > > Zbigniew Szalbot > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > > " > > > > > > -- > Spiros Papadopoulos -- Spiros Papadopoulos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dab71e150610110216o29f4df65h3059dddbb3434a9d>