Re: diskless FreeBSD with grub
> --- Ursprüngliche Nachricht --- > Von: Richard Burakowski <[EMAIL PROTECTED]> > An: Daniel Hepper <[EMAIL PROTECTED]> > 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, <0x40: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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: diskless FreeBSD with grub
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
diskless FreeBSD with grub
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"