Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 22:40:26 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Jan Conrad <conrad@th.physik.uni-bonn.de>
Cc:        freebsd-hackers@FreeBSD.ORG, iedowse@maths.tcd.ie
Subject:   Re: Why was rsh removed from the fixit floppy? 
Message-ID:   <200001202240.aa89449@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Thu, 20 Jan 2000 22:15:41 %2B0100." <Pine.BSF.4.21.0001202210390.57439-100000@merlin.th.physik.uni-bonn.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0001202210390.57439-100000@merlin.th.physik.uni-bonn.
de>, Jan Conrad writes:

>When I cloned a new machine, I usually booted with the floppies, set up
>DOS partitions and disk label and then pulled everyting over by tar and
>rsh, thereby overwriting fstab etc. with prepared files. Worked pretty
>fast...
>
>What would you suggest how to do it?

Unless this has changed recently, the "Emergency Holographic Shell" option
provides ifconfig and mount_nfs. That should allow you to get all the
commands that you need from an NFS server, without even having to wait
for the fixit floppy to load :)

It's a while since I used this, but I remember doing something like:

	set -o emacs
	ifconfig fxp0 x.x.x.x netmask x.x.x.x
	mount_nfs x.x.x.x:/scratch /mnt

	/mnt/bin/ln -s /mnt/usr /usr
	/mnt/bin/mv /bin /bin.old
	/mnt/bin/mv /sbin /sbin.old
	/mnt/bin/ln -s /mnt/bin /bin
	/mnt/bin/ln -s /mnt/sbin /sbin

where /scratch on the server can contains a minimal /bin, /sbin and
/usr etc. The last few commands could obviously be put in a script on
the server. 

Ian


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200001202240.aa89449>