Results 1 to 8 of 8
  1. #1
    HOWTO mount linux filesystem. (Migrating data)

    Member Since
    Sep 12, 2011
    Posts
    76
    Question HOWTO mount linux filesystem. (Migrating data)
    I've recently migrated to a mac mini. I am unfamiliar with the OS, but am familiar
    (somewhat) with *nix command line. I'm not aware that there is a mac tool for
    migrating data from linux to mac. If there is, I'd like to know about it.
    The alternative, which would work well for me, would be to mount the linux
    filesystem and use cp.

    I am unsure of the syntax for mounting the linux box. Pointers to documents on
    the subject, examples, etc would be appreciated.

    thanks
    tim
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  2. #2
    HOWTO mount linux filesystem. (Migrating data)
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Well.... you can do it from the GUI as such..

    Mac OS X: Using the Finder to Mount NFS Exports

    otherwise it's an nfs mount. Assuming you have NFS enabled on your linux box.

    so probably something like...

    mount_nfs -o resvport nfsserver:/nfsshare /nfsmount

    of course man is always there at the CLI.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  3. #3
    HOWTO mount linux filesystem. (Migrating data)
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    There are multiple ways to share files from a Linux box (NFS, FTP, SMB, rsync, etc). What distribution are you using and how are you sharing the files?
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  4. #4
    HOWTO mount linux filesystem. (Migrating data)

    Member Since
    Sep 12, 2011
    Posts
    76
    Quote Originally Posted by Dysfunction View Post
    Well.... you can do it from the GUI as such..

    Mac OS X: Using the Finder to Mount NFS Exports

    otherwise it's an nfs mount. Assuming you have NFS enabled on your linux box.

    so probably something like...

    mount_nfs -o resvport nfsserver:/nfsshare /nfsmount

    of course man is always there at the CLI.
    And yes I can mount with the GUI. Any caveats?
    NOTE: A lot of what will be transported will be files used to test and/or deploy
    in a CGI environment. The problem I have had in the past is that ownership by
    the browser is lost and I have to do a lot of chown'ing to get functionality
    back. cp -p et, al. solves that - as a CLI solution.
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  5. #5
    HOWTO mount linux filesystem. (Migrating data)

    Member Since
    Sep 12, 2011
    Posts
    76
    Quote Originally Posted by vansmith View Post
    There are multiple ways to share files from a Linux box (NFS, FTP, SMB, rsync, etc). What distribution are you using and how are you sharing the files?
    I'm using ubuntu 10.04 and sharing is done via cifs and ftp. See my other reply regarding
    cp -p
    thank you
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

  6. #6
    HOWTO mount linux filesystem. (Migrating data)
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Once mounted from the GUi, I believe... as memory serves, you can use the CLI to do whatever you want. It should show up as something like...


    mikeMBPreferences mike$ mount
    /dev/disk0s2 on / (hfs, local, journaled)
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    //mike@stor1/export on /Volumes/export (smbfs, nodev, nosuid, noowners, mounted by mike)

    so then I'd just use /Volumes/export as my path.
    mike
    This machine kills fascists
    Got # ? phear the command line!

  7. #7
    HOWTO mount linux filesystem. (Migrating data)
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by Dysfunction View Post
    Once mounted from the GUi, I believe... as memory serves, you can use the CLI to do whatever you want. It should show up as something like...
    That is correct - volumes mounted through the UI are mounted to /Volumes. You should therefore be able to acces it like any other directory. I'd test it here but Dysfunction has you covered (it also doesn't help that my Linux box isn't plugged in right now).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  8. #8
    HOWTO mount linux filesystem. (Migrating data)

    Member Since
    Sep 12, 2011
    Posts
    76
    Quote Originally Posted by vansmith View Post
    That is correct - volumes mounted through the UI are mounted to /Volumes. You should therefore be able to acces it like any other directory. I'd test it here but Dysfunction has you covered (it also doesn't help that my Linux box isn't plugged in right now).
    Bingo! Thanks folks. That's the ticket!
    Software developer since 1987, web programmer since
    1996. Linux user since 2000. 2011 mac mini, 8 Gb RAM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Migrating from Ubuntu Linux
    By Guitar John in forum Switcher Hangout
    Replies: 0
    Last Post: 06-28-2012, 04:35 PM
  2. Mount SSH filesystem in finder
    By Cheetah05 in forum OS X - Operating System
    Replies: 1
    Last Post: 03-16-2012, 10:01 PM
  3. Mount a linux (ext3) drive in a VM instance of Linux
    By garycarroll in forum Running Windows (or anything else) on your Mac
    Replies: 4
    Last Post: 01-13-2009, 10:22 AM
  4. HowTo Delete a Sprint Data Card Network Connection
    By duggram in forum Switcher Hangout
    Replies: 2
    Last Post: 04-13-2008, 03:51 PM
  5. Replies: 3
    Last Post: 01-10-2008, 09:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •