From owner-freebsd-questions@FreeBSD.ORG Fri Nov 4 11:04:46 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8932516A469 for ; Fri, 4 Nov 2005 11:04:46 +0000 (GMT) (envelope-from daniel.hepper@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CEF5D43D46 for ; Fri, 4 Nov 2005 11:04:45 +0000 (GMT) (envelope-from daniel.hepper@gmx.net) Received: (qmail 6121 invoked by uid 0); 4 Nov 2005 11:04:44 -0000 Received: from 141.3.70.158 by www93.gmx.net with HTTP; Fri, 4 Nov 2005 12:04:44 +0100 (MET) Date: Fri, 4 Nov 2005 12:04:44 +0100 (MET) From: "Daniel Hepper" To: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <43694A27.70000@mrburak.net> X-Priority: 3 (Normal) X-Authenticated: #1196068 Message-ID: <4834.1131102284@www93.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Subject: Re: diskless FreeBSD with grub 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: Fri, 04 Nov 2005 11:04:46 -0000 > --- Ursprüngliche Nachricht --- > Von: Richard Burakowski > An: Daniel Hepper > Kopie: freebsd-questions@freebsd.org > Betreff: Re: diskless FreeBSD with grub > Datum: Thu, 03 Nov 2005 10:22:15 +1100 > > Daniel Hepper wrote: > > >Hi, > > > >I want to boot diskless into FreeBSD-5.4 with grub. > > > > > >title bsd-nfsroot > >kernel (nd)/kernel/kernel ip=dhcp root=/dev/nfs > >nfsroot=141.2.71.253:/dta/fBSD_diskless > >boot > > > > > >It loads the kernel, but does not boot. My guess is that it doesn't find > >the root partition. > > > if you look carefully, it's telling you where it thinks the root > partition is. if that looks right, then check your nfs server log. > > you have seen the diskless booting howto on freebsd.org (among others) > and recompiled your kernel for diskless booting? IIRC the kernel goes > through a second round of querying dhcp for info. Thanks for your hints! I've read the diskless booting howto before, but I did not yet built a custom kernel. Now I have a custom kernel with: options BOOTP # Use BOOTP to obtain IP address/hostname options BOOTP_NFSROOT # NFS mount root file system using BOOTP info hints "GENERIC.hints" When I boot this kernel from disk, it shows the device hints, sends out dhcp-requests and tries to mount / with nfs. But when I load it over the net, i get the following: grub> root (nd) Filesytem type is tftp, using hole disk. grub> kernel --type=freebsd /freebsd-boot/kernel/kernel [FreeBSD-elf, <0x400000:0x446f54:0x0>,<0x847f60:0x7d600:0x4fce0>, shtab=0> 16438, entry=0x43f2b0] grub> boot The prompt disappears and the system reboots after approx. 25 sec. (The custom kernel has the same behaviour as the default kernel from the FreeBSD installationdisk) Where does it tell me where it thinks the root filesystem is? Greetings, Daniel Hepper -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie