From owner-freebsd-stable@FreeBSD.ORG Fri Jan 20 12:51:59 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1152016A41F for ; Fri, 20 Jan 2006 12:51:59 +0000 (GMT) (envelope-from pica@biaix.org) Received: from grummit.biaix.org (86.Red-213-97-212.staticIP.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 0763343D46 for ; Fri, 20 Jan 2006 12:51:57 +0000 (GMT) (envelope-from pica@biaix.org) Received: (qmail 39164 invoked by uid 1000); 20 Jan 2006 12:48:42 -0000 Date: Fri, 20 Jan 2006 13:48:42 +0100 From: Joan Picanyol i Puig To: freebsd-stable@freebsd.org Message-ID: <20060120124842.GC36457@grummit.biaix.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <43D04CBF.6050802@siol.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43D04CBF.6050802@siol.net> User-Agent: Mutt/1.5.9i Subject: Re: PXE Installation X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2006 12:51:59 -0000 * Karel Miklav [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