How to get kernel source code of free-BSD release 9.1

Adam Vande More amvandemore at gmail.com
Sun May 19 23:55:00 UTC 2013


On Sun, May 19, 2013 at 4:03 PM, Chou, David J <david.j.chou at intel.com> wrote:
> Hi,
>
> I  have created a virtual machine of PC-BSD release 9.1 64 bit in VMware Player Version 5.0.0 build-812388 based on PCBSD9.1-x64-DVD.iso downloaded from ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.iso , and setup network configuration and installed Firefox 20.0 by AppCafe, and configured the network setting in Preference->Advanced of Firefox, and I could  access Internet.
>
> Now I need to build my own customized kernel, but there is no src subdirectory in /usr, so here is my question:
>
>   1.  Is there any way to install kernel source when I create the  virtual machine from PCBSD9.1-x64-DVD.iso ?

 mount_cd9660 /dev/acd0 /mnt && tar -C / /mnt/usr/freebsd-dist/src.txz

>   2.  Any BKM to get the kernel source after the Virtual Machine already created as my case now?

fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.1-RELEASE/src.txz





--
Adam Vande More


More information about the freebsd-questions mailing list