Two silly questions aboun netbooting
Brooks Davis
brooks at one-eyed-alien.net
Thu Jan 8 09:24:09 PST 2004
On Thu, Jan 08, 2004 at 10:24:06AM +0000, David Malone wrote:
> On Thu, Jan 08, 2004 at 08:13:01AM +0300, Sergey Lapin wrote:
> > 1. I have p1-75 with a small disk (40Mb), where I want to put kernel.
> > And then want it to mount root from 192.168.1.1:/nfsroot, so diskless
> > scripts located there took control and system should be running?
> > The best could be if DHCP/BOOTP be avoided since there are such
> > servers exist in our network and running on non-standard ports could
> > become a nightmare...
>
> It should be possible. I can suggest two ways. If you want to make
> it look really like a diskless boot, you can probably hack the code
> in /usr/src/sys/nfs/bootp_subr.c to pretend it sends a request and
> pretend it receives a response and hard code the IP address and
> root path in there.
The patch in this PR claims to do it:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/54383
The patch seems to suffer from massive cut and paste damage (tabs turned
to spaces) so I haven't looked at it in detail. If you do get it to
work and can produce a cleaned up copy, that would be useful.
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040108/54a5072b/attachment.bin
More information about the freebsd-stable
mailing list