PXE Installation

Joan Picanyol i Puig pica at biaix.org
Fri Jan 20 04:51:59 PST 2006


* Karel Miklav <karel.miklav at siol.net> [20060120 03:34]:
> I tried to follow the spirit and did a PXE boot from the installation
> CD (6.0-RELEASE-i386-bootonly.iso) files. It started well, displayed
> the FreeBSD boot menu, listed devices, mounted NFS share and finally
> crashed with:
> 
> Lookup of /dev for devfs, error 2
> init:not found in path ...
> panic: no init
> 
> Please give me a hand, I'm playing with this for whole week.

I've succesfully installed PXE booting from the release discs. You need
to setup a TFTP server (which you probably already have), a DHCP server
and an NFS server. Details of my setup are:

#in dhcpd.conf
subnet 192.168.124.0 netmask 255.255.255.0 {
        filename "/boot/pxeboot";
        option root-path "192.168.124.1:/tftpboot";
        next-server 192.168.124.1;
        range 192.168.124.64 192.168.124.127;
}

515,p1,0$ grep ^tftp /etc/inetd.conf
tftp    dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot
506,p1,0$ ls -l /tftpboot
lrwxr-xr-x  1 root  wheel  4 Oct 29 14:20 /tftpboot -> /mnt
507,p1,0$ mount |grep mnt
/dev/vn0 on /mnt (cd9660, NFS exported, local, read-only)
513,p1,0$ grep mnt /etc/exports
/mnt -alldirs -ro -network 192.168.124.0 -mask 255.255.255.0 192.168.124.1 

With this setup I boot into the live CD, and from there I use the
install.sh scripts to copy the distribution.

qvb
-- 
pica


More information about the freebsd-stable mailing list