From owner-freebsd-alpha@FreeBSD.ORG Fri Jun 18 17:27:31 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C70616A4CE for ; Fri, 18 Jun 2004 17:27:31 +0000 (GMT) Received: from smtp02corp.interwoven.com (smtp02corp.interwoven.com [65.161.4.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3641643D4C for ; Fri, 18 Jun 2004 17:27:31 +0000 (GMT) (envelope-from aelmore@interwoven.com) Received: from exbesv01.Interwoven.com (localhost [127.0.0.1]) i5IHOiIq008761; Fri, 18 Jun 2004 10:26:20 -0700 (PDT) Received: from relax.amer.interwoven.com ([10.192.9.96]) by exbesv01.Interwoven.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 18 Jun 2004 10:26:17 -0700 Received: (from aelmore@localhost)i5IHQHCH020424; Fri, 18 Jun 2004 10:26:17 -0700 (PDT) (envelope-from aelmore) Date: Fri, 18 Jun 2004 10:26:17 -0700 From: Andrew Elmore To: Stephen Jones Message-ID: <20040618172617.GO32239@interwoven.com> References: <200406151857.i5FIv5Wu028133@egsner.cirr.com> <20040616074051.GJ32239@interwoven.com> <20040617105113.GZ68640@cicely12.cicely.de> <7F2587D8-C0C1-11D8-9CD8-000393DAF5EC@cirr.com> <20040618011506.GQ80675@cicely12.cicely.de> <5C711A9A-C0C8-11D8-9CD8-000393DAF5EC@cirr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C711A9A-C0C8-11D8-9CD8-000393DAF5EC@cirr.com> User-Agent: Mutt/1.4.2.1i X-Message-Flag: 0123456789abcdefghijklmnopqrstuvwxyz X-OriginalArrivalTime: 18 Jun 2004 17:26:17.0762 (UTC) FILETIME=[5D380820:01C45559] cc: freebsd-alpha@freebsd.org Subject: Re: netbooting an install kernel X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 17:27:31 -0000 On Thu, Jun 17, 2004 at 06:39:38PM -0700, Stephen Jones wrote: > Taking advise form another freebsder, I grabbed the boot-only ISO, > copied the > 'kernel' file and the 'netboot' file, thinking that was all I needed. > When that > didn't work, I cp -Rp'ed the mounted ISO into my tftpboot (bootp's dir) > and > tried that. > > So, netboot gets loaded, but it can not find a kernel unless I either > do a > boot kernel/kernel or boot ./kernel (if I place the kernel file in the > current > directory and rename the kernel directory). > > $ file boot > boot: data > $ ls -lad boot > -r-xr-xr-x 1 root wheel 7484 Feb 24 02:32 boot I suppose I'm that "another freebsder". :) Let me describe the configuration that works for me a little more. On host 10.0.0.1, which acts as the router, firewall, and general server, I've set up dhcp to do bootp. Add the line "allow bootp;" to /etc/dhcpd.conf, and add a section like the following: group { option broadcast-address 10.0.0.255; option domain-name "example.com"; option domain-name-servers 10.0.0.15, 10.0.0.16; option routers 10.0.0.1; option subnet-mask 255.255.255.0; host hostname.example.com { hardware ethernet 00:00:F8:f3:3F:88; fixed-address 10.0.0.46; option host-name "hostname"; filename "netboot"; option root-path "/local/freebsd-5.2-alpha-install"; next-server 10.0.0.1; } } Note that "next-server" parameter indicates the nfs server the client will contact to mount the filesystem. Make sure that the nfs server is enabled and /local is exported on host 10.0.0.1; to /etc/exports, add a line like: /local -alldirs -network 10.0.0.0/24 and in /local/freebsd-5.2-alpha-install, put the contacts of the boot-only iso. # ls /local/freebsd-5.2-alpha-install boot # ls /local/freebsd-5.2-alpha-install/boot boot defaults loader loader.help modules boot1 device.hints loader.4th loader.rc netboot cdboot kernel loader.conf mfsroot.gz support.4th Enable tftpd; uncomment the line for tftp in /etc/inetd.conf, and modify the directory specified, for example: tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /local/tftpboot Copy the netboot file to the tftp directory. At this point, you should be ready to boot the alpha. Hope this gets you up and running. regards, Andrew