From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 09:04:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E404106566B for ; Wed, 30 Jul 2008 09:04:47 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id BC6CB8FC18 for ; Wed, 30 Jul 2008 09:04:46 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unassigned5.the.namesco.net (126.117-84-212.staticip.namesco.net [212.84.117.126]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m6U94eF2057976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jul 2008 10:04:41 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <48902EAC.3090703@unsane.co.uk> Date: Wed, 30 Jul 2008 10:04:44 +0100 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: David Collins References: <1b30fd140807291632v491323d4jb4371ec1303bd5a9@mail.gmail.com> In-Reply-To: <1b30fd140807291632v491323d4jb4371ec1303bd5a9@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pxeboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 09:04:47 -0000 David Collins wrote: > Hi, > > I am not sure if this is the correct list to post this to, and if it > isn't please could you point me to where it should go. > > I have recently turned to freeBSD and so far I love it. I have a small > laptop that I use for playing around and general fiddling. I was using > the Debian netinstall and booting over pxe/tftp when I wanted to > reinstall. I started looking at the automated install, but it seemed > very complex. I have been looking at the freeBSD option and it seems > that the automated intall is very simple (at least from a user point > of view). > > I have been trying to get pxeboot to work, so far with no luck. I have > a dhcp/tftp server set up and I am able to push pxeboot across the > network, so I assume that is all ok. NFS is also setup, at least I was > getting nfs errors that I don't have anymore. I copied the contents of > the 7.0 cd into the my tftpboot folder and changed the contents for > loader.conf and loader.rc according to here > http://www.locolomo.org/pub/pxeboot/pxeboot.html and > http://www.tnpi.biz/computing/freebsd/pxe-netboot.shtml and so far I > am able to get a prompt come up but I am unable to get any further. As > soon as I enter anything the computer immediately reboots so i am > unable to see any error messages. I assume the paths are relative to > the tftp server. Can anyone give me quick example to get me off to a > start. > > http://jdc.parodius.com/freebsd/pxeboot_serial_install.html is a pretty good guide, you can ignore the bits about rebuilding pxeboot as your not using a serial console but the mfs_root bug could be what you are hitting. Vince > Thanks > > David Collins > > > Here are my config files, I think that is all of them > # cat /etc/exports > /usr/tftpboot/freeBSD7.0 -alldirs -ro -maproot=root > > # cat /usr/local/etc/dhcpd.conf > default-lease-time 600; > max-lease-time 7200; > authoritative; > > ddns-update-style none; > > subnet 192.168.2.0 netmask 255.255.255.0 { > range 192.168.2.8 192.168.2.15; > #filename "/pxelinux.0"; > filename "/freeBSD7.0/boot/pxeboot"; > next-server 192.168.2.4; > option routers 192.168.2.4; > option root-path "/usr2/tftpboot/freeBSD7.0"; > } > > # grep tftp /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd > -l -s /usr/tftpboot > > #cat /usr/tftpboot/freeBSD7.0/boot/loader.rc > echo Loading Kernel... > set choice=freebsd-ide > read -t 5 -p "Type in your selection EXACTLY: " choice > include /boot/loader.rc-$choice > read -t 5 -p "Type in your selection EXACTLY: " choice > read -t 5 -p "Type in your selection EXACTLY: " choice > load /boot/kernel/kernel > load linux.ko > echo \007\007 > set vfs.root.mountfrom=ufs:/dev/md0c" > > #cat /usr/tftpboot/freeBSD7.0/boot/loader.conf > init_path="/stand/sysinstall" > rootfs_load="YES" > rootfs_name="/boot/mfsroot" > rootfs_type="mfs_root" > vfs.root.mountfrom="ufs:/dev/md0c" > autoboot_delay=5 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >