From owner-freebsd-hackers Thu Jan 20 14:40:40 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 2F0F514E49 for ; Thu, 20 Jan 2000 14:40:35 -0800 (PST) (envelope-from iedowse@maths.tcd.ie) Received: from boole.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 20 Jan 2000 22:40:32 +0000 (GMT) To: Jan Conrad Cc: freebsd-hackers@FreeBSD.ORG, iedowse@maths.tcd.ie Subject: Re: Why was rsh removed from the fixit floppy? In-reply-to: Your message of "Thu, 20 Jan 2000 22:15:41 +0100." Date: Thu, 20 Jan 2000 22:40:26 +0000 From: Ian Dowse Message-ID: <200001202240.aa89449@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , 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