From owner-freebsd-stable@FreeBSD.ORG Sun Jan 22 10:49:37 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 01EB316A41F for ; Sun, 22 Jan 2006 10:49:37 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86BFA43D45 for ; Sun, 22 Jan 2006 10:49:34 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1F0cmo-000DAD-7A; Sun, 22 Jan 2006 12:49:30 +0200 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Marten Vijn In-reply-to: Your message of Fri, 20 Jan 2006 23:48:31 +0100 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 22 Jan 2006 12:49:30 +0200 From: Danny Braniss Message-ID: Cc: Karel Miklav , freebsd-stable@freebsd.org 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: Sun, 22 Jan 2006 10:49:37 -0000 > On Fri, 2006-01-20 at 03:36 +0100, Karel Miklav wrote: > > Hi, > > > > I'm trying to install FreeBSD 6.0 to a sub-notebook without > > floppy or optical unit. > > > Please give me a hand, I'm playing with this for whole week. > > > nice game aint it? sure of your friends is tcpdump :) > > > steps to follow (more below), create: > > 1 pxeboot > 2 exports a nfs bootdir > 3 populate bootdir > 4 config dhcpd.conf > 5 add hosts to dns or /etc/hosts > 6 proper config for the bootdir > > 1. pxe > > mkdir /tftboot > cp /boot/pxeboot /tftboot/ > change in /etc/inetd.conf (remove #) > > #tftp dgram udp wait root /usr/libexec/tftpd > tftpd -l -s /tftpboot > to > tftp dgram udp wait root /usr/libexec/tftpd > tftpd -l -s /tftpboot > > /etc/rc.d/inetd restart > > 2. exports a nfs bootdir > > add this line to /etc/exports > > /usr/ -maproot=0 -alldirs > this should be more secure: /usr -ro -maproot=root -alldirs ... danny