NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PXE Booting



Hi Everyone,

I'm new to the list, and fairly new to NetBSD (but fairly solid in
linux until now). I'm playing with setups, and have hit a bit of a
stumbling block, and sadly Google isn't helping that much, so
hopefully someone on the list can give me a pointer on where to look.

I'm running FreeBSD on bare metal, and am trying to bring up a NetBSD
in Bhyve to get a feel for it as a pretty solid OS. I'm making it
complicated though, which is where I'm coming unstuck.
My goal is to PXE boot NetBSD in Bhyve over the tftp server hosted on
my FreeBSD host. All good and I can get into the bootx64.efi menu
page, and I have boot.cfg being parsed fine. However while the kernel
(netbsd) unpacks, it goes to load the module nfs.kmod. It's trying to
grab it from  /srv/tftp/stand/amd64/10.1/modules/nfs and this is where
I come unstuck. The root is shared over NFS, a ZFS sharenfs export, as
:

vm-19d/mail                             sharenfs  -alldirs
-maproot=root -network 10.1.1.0 -mask 255.255.255.0  local

The kernel tries to mount the nfs share using the root location KEA is
providing, but the kernel or bootx86 seem to keep mangling the source
location for the root. I have tried all sorts of suggestions from
online guides, both what the DHCP server sends, and what boot.cfg
specifies. Whenever mountd receives the request it seems to be
prefixed with a random / and mountd denies the mount.

mount request denied from 10.1.1.10 for /nfs:

Any wizards out there able to give me some pointers on what I could be
doing wrong please, or point me to a current guide for this sort of
jiggery pokery?
I'd really appreciate if if anyone could spare a few mins to give me a
few pointers,

Cheers muchly,
-- 


Kindest Regards,

Ian Bonham

ian.bonham%gmail.com@localhost


Home | Main Index | Thread Index | Old Index