NFS file transfers from the Crux live CD

In the same vein as this note, this is a brief list of steps to transfer 5Gb of music files from one machine to another, without having to rebuild a kernel that supports NFS or the xircom-cb module. 😉

Hardware is the same this time, except I’m using a Xircom RealPort ethernet card, rather than the wireless card. Don’t ask why. 🙄

  1. Boot a Crux 2.4 CD.
  2. modprobe yenta-socket
  3. modprobe xircom-cb
  4. ifconfig eth0 up
  5. dhcpcd eth0
  6. mkdir -p /var/lib/pkg
  7. touch /var/lib/pkg/db
  8. pkgadd /cdrom/crux/core/portmap#6.0-1.pkg.tar.gz
  9. pkgadd /cdrom/crux/core/nfs-utils#1.1.1-2.pkg.tar.gz
  10. /etc/rc.d/portmap start
  11. /etc/rc.d/nfs start
  12. mkdir -p /media/source /media/destination
  13. mount /dev/hda4 /media/destination
  14. mount 192.168.xx.xx:/media/modular /media/source
  15. cp -Ruv /media/source/music /media/destination/

And that should do it. The main thing is to get the network connection up and the portmap and nfs protocols running, then mount the networked drive and the destination partition. After that, it’s just another little command-line magic trick.

Of course this network card is actually quite slow. I should probably look for a faster connection, but I rarely use the wired PCMCIA card any more, since I went back to wireless. Even my 11b card gets download speeds that are faster than this. Not sure why.

And I’m also not sure why this card works without pcmcia-utils, and the other one doesn’t. But I’m not so worried about it that I need to figure out why. 🙂 Back to work. …

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s