possible to clone Mac HDs to a Ubuntu Box?

Discussion in 'macOS' started by jdl8422, Sep 19, 2009.

  1. jdl8422 macrumors 6502


    Jul 5, 2006
    I have a Mac Pro with 3 HDs inside. Does anyone know if it is possible to clone each HD to a Ubuntu box over my local network?
  2. scaredpoet macrumors 604


    Apr 6, 2007
    You mean copy the contents over? Sure. Probably the most minimalist way I can think of is to set up OpenSSH server on your ubuntu box, open a terminal window on your Mac (Applications -> utilities), and then issue the following commands:

    sudo scp -r /Volumes/NameofhardDrive1 user@ip-or-hostname.of.ubuntubox:/path/to/cloneddrive1
    sudo scp -r /Volumes/NameofhardDrive2 user@ip-or-hostname.of.ubuntubox:/path/to/cloneddrive2
    sudo scp -r /Volumes/NameofhardDrive3 user@ip-or-hostname.of.ubuntubox:/path/to/cloneddrive3

    The use of "sudo" overrides any file permissions that might cause you problems, and of course assumes you have admin rights on the machine in question.

    And obviously, you'd have to fill the in the actual volume names for each of the hard drives you want to copy over, the paths to their new locations, whatever username you're using on the ubuntu machine, and of course, that machine's address on the network.

    Another, more GUI-based option would be to set up Samba in ubuntu, and then have your mac connect to the appropriate shares on that machine. Then drag and drop the contents over. The Mac can also use NFS if you prefer that.

    Last but not least, there's always rsync with ssh.

    In a nutshell, just about any file transfer or file sharing method your ubuntu system is capable of, your mac is also capable of supporting.

Share This Page