Re: diskless booting on nitebook

2003-06-26 Thread Vitaly Markitantov
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 >

RCNG diskless booting bug in /etc/rc.d/fsck

2002-12-29 Thread Galen Sampson
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-05-15 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-25 Thread Andrew Gordon
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. > >

diskless configuration, was ... diskless booting

2002-04-24 Thread Danny Braniss
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-24 Thread Danny Braniss
> 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.

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-24 Thread David O'Brien
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

Re: what if/diskless booting

2002-04-24 Thread Danny Braniss
> 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

Re: what if/diskless booting

2002-04-24 Thread Andrew Gordon
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: >

what if/diskless booting

2002-04-24 Thread Danny Braniss
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:

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> 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

Re: diskless booting

2002-04-23 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Doug Barton
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
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. >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
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 > >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Robert Watson
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread David O'Brien
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-23 Thread Terry Lambert
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
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 >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
> 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 > >

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
> 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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
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

Re: FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread David O'Brien
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

FreeBSD 5.0 Developer Preview #1 Now Available / diskless booting

2002-04-22 Thread Danny Braniss
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

RE: Floppy/diskless booting problem with -current: FIX

1999-08-23 Thread Mark J. Taylor
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

Floppy/diskless booting problem with -current

1999-08-23 Thread Mark J. Taylor
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 booting broken

1999-07-27 Thread Andrew Gallatin
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