Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 13:48:42 +0100
From:      Joan Picanyol i Puig <pica@biaix.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: PXE Installation
Message-ID:  <20060120124842.GC36457@grummit.biaix.org>
In-Reply-To: <43D04CBF.6050802@siol.net>
References:  <43D04CBF.6050802@siol.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Karel Miklav <karel.miklav@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060120124842.GC36457>