From owner-freebsd-questions@FreeBSD.ORG Wed Nov 2 17:28:54 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 11B6716A41F for ; Wed, 2 Nov 2005 17:28:54 +0000 (GMT) (envelope-from Daniel.Hepper@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C64243D48 for ; Wed, 2 Nov 2005 17:28:52 +0000 (GMT) (envelope-from Daniel.Hepper@gmx.net) Received: (qmail invoked by alias); 02 Nov 2005 17:28:50 -0000 Received: from dslb-084-056-229-165.pools.arcor-ip.net (EHLO [192.168.0.23]) [84.56.229.165] by mail.gmx.net (mp004) with SMTP; 02 Nov 2005 18:28:50 +0100 X-Authenticated: #1196068 Message-ID: <4368F6BD.2080307@gmx.net> Date: Wed, 02 Nov 2005 18:26:21 +0100 From: Daniel Hepper User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051102) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: 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: Wed, 02 Nov 2005 17:28:54 -0000 Hi, I want to boot diskless into FreeBSD-5.4 with grub. I've setup dhcp to provide boot and ip information, tftp to load the kernel and nfs to share the root filesystem. It runs smoothly when I use the pxeloader from FreeBSD, but I can't get it working with Grub. I tried this grub configuration: 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. This one: title bsd-nfsroot kernel (nd)/loader ip=dhcp root=/dev/nfs nfsroot=141.2.71.253:/dta/fBSD_diskless boot loader says it can't find the kernel. And this one: title bsd-nfsroot kernel (nd)/pxeboot ip=dhcp root=/dev/nfs nfsroot=141.2.71.253:/dta/fBSD_diskless boot grub complains that pxeboot is not a correct executable I have spent hours digging the web without a solution. I would really appreciate it, if someone could help or give me a pointer to helpful resources. The background of the problem: I manage the software installation on a router-testbed. It consist of 24 identical x86-systems, with different local OS installation. When a system boots, it load GRUB via PXE from a server. The grub menu is generated dynamically from a configuration file, which determines what OS the system should start. For administration purposes, among other things software distribution, you can configure the systems to boot a diskless linux system via nfs (this works). But as some users run FreeBSD and Linux can't access UFS2-partitions, a diskless FreeBSD-image is required. Greetings, Daniel Hepper