In message <[EMAIL PROTECTED]
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to