Date: Thu, 8 Jan 2004 09:23:55 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: David Malone <dwmalone@maths.tcd.ie> Cc: freebsd-stable@freebsd.org Subject: Re: Two silly questions aboun netbooting Message-ID: <20040108172355.GB6216@Odin.AC.HMC.Edu> In-Reply-To: <20040108102406.GA54017@walton.maths.tcd.ie> References: <3FFCE6DD.4000402@tec.karelen.elektra.ru> <20040108102406.GA54017@walton.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
--LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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... >=20 > 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=3Dkern/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 --=20 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 --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE//ZIoXY6L6fI4GtQRAqkfAKCIVNPkpuXvgd+E1R1PtrOGhllYQwCgwHXn uuGRrrYti+WUdc840RvMwYM= =biku -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108172355.GB6216>