On Thu, Jun 26, 2003 at 03:39:23PM +0300, Vitaly Markitantov wrote:
> I'm trying to boot diskless my notebook.
> I create boot floppy disk on which i place
> kernel.gz
> boot/loader
> boot/loader.rc
> boot/device.hints
>
> (it's just modified kern.flp from 5.1-RELEASE distro with
>
Hello all,
I recently updated my world to a releng5 source tree from 12/27. I noticed
that almost all of the RCNG scripts work perfectly for diskless (PXE) booting.
There is one minor problem that can easily be fixed. Upon booting the rc
scripts immediately initiate fsck of file systems. Si
> What do you think about doing a little more polishing and rolling a new
> set of patches taking this /etc/rc.conf option into account? Your kernel
> env dhcp variables are really good.
i was thinking of adding something like this to dhcp:
option FBSD.rc-conf "132.65.16.100:/c/conf/rc
On Wed, 24 Apr 2002, M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
> "David O'Brien" <[EMAIL PROTECTED]> writes:
> : On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote:
> : > diskless_root_readonly="NO" # Make it "YES" for readonly
> :
> : good.
>
>
im modifying libstand/bootp.c, and im trying to read a file via tftp/nfs,
while i'm sure i'll figure it out - eventualy, can someone help me out
here?
thanks,
danny
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
> Danny,
>
> What do you think about doing a little more polishing and rolling a new
> set of patches taking this /etc/rc.conf option into account? Your kernel
> env dhcp variables are really good. I know that many do want to do what
> you are doing (large scale RO /); but up until now /etc/rc.
Danny,
What do you think about doing a little more polishing and rolling a new
set of patches taking this /etc/rc.conf option into account? Your kernel
env dhcp variables are really good. I know that many do want to do what
you are doing (large scale RO /); but up until now /etc/rc.diskless* ha
> Note that Luigi has recently committed something similar to create the
> sysctl kern.bootp_cookie (see /sys/nfs_client/bootp.c rev 1.36).
>
i will check that out asap.
> I have also been doing the same thing for some time, but the difference in
> my version is that I use four separate DHCP op
On Wed, 24 Apr 2002, Danny Braniss wrote:
>
> i modified libstand/bootp.c to place all the tags - that dhcp provides - in
> the kernel
> environmet, so that they can be used later - eg in rc.diskless1.
>
> what if:
> we place the rc.conf[.local] there?
> in the dhcpd.conf:
>
at stage 1, the diskless host sends out a bootp/dhcp request, the dhcpd
servers sends
back some packets, and pxeloader gets tftp'ed.
i modified libstand/bootp.c to place all the tags - that dhcp provides - in
the kernel
environmet, so that they can be used later - eg in rc.diskless1.
what if:
> On Mon, 22 Apr 2002, David O'Brien wrote:
>
> > +if [ -z "`hostname -s`" ]; then
> > +hostname=`kenv dhcp.host-name`
> > +hostname $hostname
> > +echo "Hostname is $hostname"
> > +fi
>
> If you wanted to match the style for most of the rc* files, and
> Robert Watson wrote:
> > I have't really used the diskless environment with 4.x, but use it
> > extensively in my test/development environments for 5.0. Stateless
> > workstations are great when it comes to file system debugging, especially
> > since newfs is orders of magnitude faster than fsc
> Robert Watson wrote:
> > This would provide full compatibility with the current model for those
> > that want it (and I think it's more people than you think) at the same
> > time as changing the system to provide easy support for the environment
> > you're looking for. If the default settings
> On Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote:
> > > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote:
> > > > diskless_root_readonly="NO" # Make it "YES" for readonly
> > >
> > > good.
> > >
> > > > diskless_etc_localmd="NO" # Make it "YE
On Mon, 22 Apr 2002, David O'Brien wrote:
> +if [ -z "`hostname -s`" ]; then
> +hostname=`kenv dhcp.host-name`
> +hostname $hostname
> +echo "Hostname is $hostname"
> +fi
If you wanted to match the style for most of the rc* files, and avoid an
unecessa
Robert Watson wrote:
> I have't really used the diskless environment with 4.x, but use it
> extensively in my test/development environments for 5.0. Stateless
> workstations are great when it comes to file system debugging, especially
> since newfs is orders of magnitude faster than fsck :-).
TH
On Tue, 23 Apr 2002, Terry Lambert wrote:
> Robert Watson wrote:
> > This would provide full compatibility with the current model for those
> > that want it (and I think it's more people than you think) at the same
> > time as changing the system to provide easy support for the environment
> > yo
Terry Lambert wrote:
> configured by the green-and-which Systeam Adminstrator's Guide
green-and-white System
> for SunOS.
Ugh.
-- Terry
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
Robert Watson wrote:
> This would provide full compatibility with the current model for those
> that want it (and I think it's more people than you think) at the same
> time as changing the system to provide easy support for the environment
> you're looking for. If the default settings are changi
David O'Brien wrote:
> > > The very original "solution" was to mount NFS / RW. The move to
> > > /conf/default/etc was someone's special needs leaking into the FreeBSD
> > > repository. If you want to special case, things be my guest -- add an
> > > elif test; but leave RW NFS mounted / alone.
>
On Tue, Apr 23, 2002 at 08:32:51PM +0300, Danny Braniss wrote:
> > On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote:
> > > diskless_root_readonly="NO" # Make it "YES" for readonly
> >
> > good.
> >
> > > diskless_etc_localmd="NO" # Make it "YES" to have the
> >
> On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote:
> > diskless_root_readonly="NO" # Make it "YES" for readonly
>
> good.
>
> > diskless_etc_localmd="NO" # Make it "YES" to have the
> > # diskless environment md-mount and replicate /etc from /conf
>
> Seems the
On Tue, Apr 23, 2002 at 12:19:58PM -0400, Robert Watson wrote:
> diskless_root_readonly="NO" # Make it "YES" for readonly
good.
> diskless_etc_localmd="NO" # Make it "YES" to have the
> # diskless environment md-mount and replicate /etc from /conf
Seems the "if [ -d ]" t
On Tue, 23 Apr 2002, David O'Brien wrote:
> On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote:
> > > > the 'original' solution is to make /etc writable is to mount a MD, then copy
> > > > all
> > > > /conf/default/etc to it.
> > >
> > > The very original "solution" was to mount NFS
On Tue, Apr 23, 2002 at 03:38:59AM -0700, Terry Lambert wrote:
> > > the 'original' solution is to make /etc writable is to mount a MD, then copy
> > > all
> > > /conf/default/etc to it.
> >
> > The very original "solution" was to mount NFS / RW. The move to
> > /conf/default/etc was someone's s
David O'Brien wrote:
> > / ( and whatever is under it) is NFS mounted read only, as should be.
>
> This is where all of us doing Sparc64 development say you are wrong -- /
> is NFS mounted RW. Back in the SunOS diskless workstations days were
> this was invented, / was NFS mounted RW. Please st
On Tue, Apr 23, 2002 at 09:19:56AM +0300, Danny Braniss wrote:
> > That being that some of us actually WANT /etc to be left the fsck alone.
> > We NFS mount / and that / has /etc as it should be. I also cannot follow
> > what you are trying to do with /etc/conf. Perhaps you could comment that
>
> On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote:
> > Since im very interested in diskless/dataless, and i've been at it for some
> > time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1
> > which i wouldn't mind receiving commnets/suggestions, and if possible
> >
> I'll commit this to rc.diskless1
this will only work if you include the changes to bootp.c
>
> +if [ -z "`hostname -s`" ]; then
> +hostname=`kenv dhcp.host-name`
> +hostname $hostname
> +echo "Hostname is $hostname"
> +fi
>
> BUT you've missed the
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote:
> Since im very interested in diskless/dataless, and i've been at it for some
> time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1
> which i wouldn't mind receiving commnets/suggestions, and if possible
> incorpora
On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote:
> Since im very interested in diskless/dataless, and i've been at it for some
> time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1
> which i wouldn't mind receiving commnets/suggestions, and if possible
> incorpora
Haven't tried all the new stuff, but i've installed it on several different
hosts and so far have had no real problems, good work!!
Since im very interested in diskless/dataless, and i've been at it for some
time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1
which i wouldn't
It seems that the problem is in kern/vfs_conf.c:
When performing BOOTP configuration, nfs/bootp_subr:bootpc_init() is called before
the root-mount attempts. This routine finds the first non-loopback and non-point-
to-point interface, and does the bootp request. If it gets all of its needed
data
I'm attempting to boot a -current system (from 4 days ago) off of a modified
GENERIC kernel floppy disk, and it is failing in kern/vfs_conf.c's vfs_mountrootfs
routine, with a message:
rootdev=0x error=6, panic: cannot mount root(2)
rootdev is NODEV, and err is ENXIO.
The isc-dhcp
Diskless (BOOTP_NFSROOT,NFS_ROOT) booting appears to be broken in
-current. (at least on alpha, haven't tried x86):
net0:> boot kernel.de1
/kernel.de1 data=0x261540+0x253f8 syms=[0x8+0x30ae0+0x8+0x232eb]
Entering kernel.de1 at 0xfc325c80...
Copyright (c) 1992-1999 The FreeBSD Project.
Co
35 matches
Mail list logo