Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2004 10:57:19 -0600
From:      Nathan Kinkade <>
To:        User Mike <>
Subject:   Re: Network booting with PXE
Message-ID:  <20040126165719.GC3937@npkfbsd>
In-Reply-To: <3979.>
References:  <3979.>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 25, 2004 at 08:27:38PM +0200, User Mike wrote:
> I've succesfully put up 4 diskless machines to boot up 4.9-release thru
> PXE. They all work almost flawlessly. But when I connected an old 1GB hard
> drive into one of them for swap, as NFS swap is a bit slow, it hangs for
> some reason at trying to mount the hard drive as / at boot up.
> Dmesg reports on all diskless machines:
> Adjusted interface xl0
> Shutdown interface faith0
> Mounting root from ufs:/dev/ad0s1a
> no such device 'ad'
> setrootbyname failed
> ffs_mountroot: can't find rootvp
> Root mount failed: 6
> Mounting root from nfs:
> But on the machine I added disk for swap it never gets past "no such
> device 'a0'" because it exists and calls reset of ata0 and something and
> hangs there until reset button is pressed.
> I'd like to know if there is a way to not try to mount root on local disks
> and only NFS. Should this be done in kernel or loader ...? Since the
> machine simply sits there I'd appreciate any suggestions.

Did you recompile your kernel with options:

options     BOOTP          # Use BOOTP to obtain IP address/hostname
options     BOOTP_NFSROOT  # NFS mount root filesystem using BOOTP info
options     BOOTP_COMPAT   # Workaround for broken bootp daemons.

By the way, how much RAM do you have in those machines?  I have found
that I get by fine with no swap at all using as little as 32MB - though
I am using Linux diskless terminals, but this shouldn't matter.

gpg --keyserver --recv-keys D8527E49

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (FreeBSD)



Want to link to this message? Use this URL: <>