From owner-freebsd-questions@FreeBSD.ORG Wed Nov 24 17:45:50 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C16116A4CE for ; Wed, 24 Nov 2004 17:45:50 +0000 (GMT) Received: from charm.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83F8243D46 for ; Wed, 24 Nov 2004 17:45:49 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by charm.daemonsecurity.com (Postfix) with ESMTP id 4F9D3171AA for ; Wed, 24 Nov 2004 18:45:42 +0100 (CET) Message-ID: <41A4C8B4.80604@locolomo.org> Date: Wed, 24 Nov 2004 18:45:24 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: PXEBoot fails in last stage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 17:45:50 -0000 Hi, I have set up a server (dhcp/tftp/ftp, no nfs configured) as a jumpstart server for pxeboot and compiled kernel with -DLOADER_TFTP_SUPPORT=YES. The client machine is a VIA EPIA CL1000 with a 60GB hdd with a FreeBSD 4.9, I want to reinstall to get 5.3. Kernel is compiled with "option BOOTP" and support for memory filesystem as root device. The client machine boots up and goes through stage 1-3, fetching kernel and memory file system with tftp. But I have problem launching into the final stage which sould launch sysinstall and run an installation script. The client correctly configures the ethernet card (vr0) but then tries to mount a root file system using NFS! - the whole idea was to avoid messing around with NFS. If I leave the root-path unset or define it as "" in the dhcpd.conf the client will keep requesting a root-path. From what is written on the screen it doesn't mount the local HDD. How to I force it to use the memory file system as root device? An interesting sidenote: I first had the kernel compiled without "option BOOTP", then the client would correctly mount the memory file system, but only if the local harddrive was NOT present!!???? These are my loader files set up as described on www.m0n0.ch/wall/hack/ loader.rc: include /boot/loader.4th start loader.conf: init_path="/sbin/init:/stand/sysinstall" rootfs_load="YES" rootfs_name="/boot/mfsroot" rootfs_type="mfs_root" autoboot_delay=5 boot/ on tftp server: defaults kernel loader.gz pxeboot device.hints loader.4th loader.rc support.4th frames.4th loader.conf mfsroot Any hints would be greatly appreciated! Thanks, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2