From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 00:33:10 2003 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 6A5E737B401 for ; Tue, 22 Apr 2003 00:33:10 -0700 (PDT) Received: from mail.duth.gr (mail.duth.gr [192.108.114.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36AD443FB1 for ; Tue, 22 Apr 2003 00:33:09 -0700 (PDT) (envelope-from bigbrother@bonbon.net) Received: from bigb3server.bbcluster.gr (b9-110.xan.duth.gr [193.92.211.110]) by mail.duth.gr (8.12.8p1/8.12.8) with ESMTP id h3M7X4Xv040749 (version=TLSv1/SSLv3 cipher=EDH-DSS-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 22 Apr 2003 10:33:07 +0300 (EEST) (envelope-from bigbrother@bonbon.net) Received: from macedon (macedon.vlsi.gr [192.168.3.226]) h3M7Wpwn032175 for ; Tue, 22 Apr 2003 10:32:59 +0300 (EEST) (envelope-from bigbrother@bonbon.net) From: "Bigbrother" To: Date: Tue, 22 Apr 2003 10:33:02 +0300 Organization: Bigbrother Clustered Network Message-ID: <012901c308a1$6b8ee6b0$e203a8c0@macedon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <3EA48E19.3050601@attbi.com> Subject: RE: Diskless Workstation Boot - kernel.diskless can't parse file... 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: Tue, 22 Apr 2003 07:33:10 -0000 > -----Original Message----- > From: K Anderson [mailto:freebsduser@attbi.com] > Sent: Tuesday, April 22, 2003 03:35 > To: nkinkade@fastmail.fm > Cc: FreeBSD Questions > Subject: Re: Diskless Workstation Boot - kernel.diskless > can't parse file... > > > > > Nathan Kinkade wrote: > > On Mon, Apr 21, 2003 at 02:12:05PM -0700, K Anderson wrote: > > > >>Greetings, > >> > >>I'm interested in checking out the diskless workstation > stuff but I am > >>finding the documentation sorely lacking. > >> > >>I have the dhcp server configured but I am at a point where the > >>etherboot floppy connects, gets the assigned IP address and other > >>information then gets stuck with the following error > >> > >>Loading 192.168.100.105:kernel.diskless can't parse file name > >>kernel.diskless > >> > >>I think it might have to do with the tag kernel but the > command to make > >>the tagged kernel doesn't exist. > >> > >>So I'm looking for someone to lead me to the holly grail of > diskless > >>workstations so I can check it out. > >> > >>Really good instructions are greatly appreciated. > >> > >>I'm using Etherboot 5.0.8 from ports. > > > > > > First, FreeBSD does not need a tagged kernel like Linux, so > do not tag > > or attempt to tag the kernel. What sort of path do you have to > > kernel.diskless in your dhcpd.conf file? Are you using nfs or tftp? > > I've got a diskless terminal going here with 4.8. I used > nfs across the > > board so that I don't have to enable tftpd, and thence inetd. Here > > would be some useful information for me to know: > > 1) your dhcpd.conf file > > 2) options you selected when building your etherboot image > > 3) nfs or tftpd > > > > I may not be able to help, even with these, but possibly I'll see > > something?? > > > > Nathan > > Ok, no tagged kernel. :) Thanks. Oh, I'm using a laptop, it has boot > from NIC and it works, but the problem with that is it says img is to > large for low memory. So that's why I went to etherboot. > > 1) here's the dhcp.conf lines (etherboot reports getting an IP): > host bailey { > hardware ethernet 00:0b:db:13:90:ab; > fixed-address 192.168.100.200; > next-server 192.168.100.105; > filename "kernel.diskless"; > option root-path "192.168.100.105:/diskless_root"; > } > > > 2) Options for etherboot? I just typed make in > /usr/ports/net/etherboot > without any options. > > 3) I used tftpd to get the kernel. tftpd is /tftpboot > This I finally figured out when I kept getting file not found errors. > hehehe. So I just tftp'd to the localhost and doh! it was right, file > wasn't found. I had the wrong path all over the place. > > NETBOOT kernel is > <...> On my server for the diskless I have inetd.conf: <..> tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot <..> dhcpd.conf: <..> filename "/tftpboot/kernel"; <..> exports: <..> / -ro -alldirs -maproot=root: -network 192.168.168.0 -mask 255.255.255.0 <..> Make sure that you also have along your lines, the previous lines! Regardz, BB