Ok, bad advice. Just booted up the LNX-BBC and it doesn't include a NFS
server, so I have to change my instructions a bit.

On your current Red Hat box, install the NFS server and export / to the IP
of your target PC:

/etc/exports:
/ 192.168.1.25/255.255.255.0(ro,insecure,no_root_squash)

Now restart NFSD. /etc/init.d/nfs-kernel-server restart would do it on a
Debian box, but on a Red Hat box it won't be the same. Again, shut down
databases and such.

Now then, boot up your target PC (the PC you want to copy stuff too.) on
the LNX-BBC. Run trivial-net-setup, then /etc/init.d/portmap start. The
disk in the target PC will be mounted something like
/dev/discs/disc0/part1 on /mnt/rw/discs/disc0/part1
/dev/discs/disc0/part2 on /mnt/rw/discs/disc0/part2
etc.

Unmount all these, mount as something that sorta mirrors what the mount
points will look like when the box is running:

/dev/discs/disc0/part1 on /mnt/rw/target (this would be /)
/dev/discs/disc0/part2 on /mnt/rw/target/usr
/dev/discs/disc0/part3 on /mnt/rw/target/var

etc as needed.

Now you want ot mount your Red Hat box on your target PC:

Create a mount point:
mkdir /mnt/rw/host
mount -t nfs XXX.XXX.XXX.XXX:/ /mnt/rw/host
where XXX.XXX.XXX.XXX is the IP of the old PC.

Now to finish it all up:
cd /mrt/rw/host
tar cvf - bin/ etc/ usr/ boot/ opt/ root/ var/ home/ lib/ sbin/
initrd/ |(cd /mnt/target; tar xvf -)

Create mount points for dev, proc, whatever else, and use rescue mode in
your Red Hat install media to write grub to the disk, and you should be in
business...


Andrew S. Zbikowski | http://www.ringworld.org
 A password is like your underwear; Change it
 frequently, don't share it with others, and
     don't ask to borrow someone else's.


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list