> --- Ursprüngliche Nachricht ---
> Von: Richard Burakowski <richard.burakowski mrburak.net>
> An: Daniel Hepper <Daniel.Hepper gmx.net>
> 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.
> >
> ><snip>
> >title bsd-nfsroot
> >kernel (nd)/kernel/kernel ip=dhcp root=/dev/nfs
> >nfsroot=141.2.71.253:/dta/fBSD_diskless
> >boot
> ></snip>
> >
> >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&g
t;,
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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|