Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: [SOLVED] Automount partition

  1. #11
    Join Date
    Jan 2010
    Beans
    2

    Re: Automount partition

    Many thanks to iaculallad; very good article and easy to follow...

  2. #12
    Join Date
    Jul 2009
    Location
    Dirty Jersey
    Beans
    63
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Automount partition

    Quote Originally Posted by dcstar View Post
    There are GUI tools that can achieve exactly what you want in this area without having to take risks manually editing these files. Simply install the pysdm package: System-Administration-Storage Device Manager.

    I cannot fathom why people continually tell new Linux users to stuff around with these files when a better option has existed for a very long time.

    Where do you people find all of these nifty commands?

  3. #13
    Join Date
    Jan 2008
    Beans
    2

    [SOLVED] Automount partition

    thanx bro...i like the way linux does it's job...stil gt lot to learn..:-0

  4. #14
    Join Date
    Jan 2011
    Location
    Denver, CO
    Beans
    0
    Distro
    Ubuntu

    Re: [SOLVED] Automount partition

    thanks guys helped lots

  5. #15
    Join Date
    Aug 2009
    Location
    Dominican Republic
    Beans
    341
    Distro
    Ubuntu Gnome

    Re: [SOLVED] Automount partition

    How do I have to configure it for a NTFS partition automount? I did it my way and got problems on startup. I it just stops owrking at all I had to enter live session and roll back to old fstab file.
    i5-480M (2.66GHz, 3MB L3 cache) 8GB DDR3
    ---------------------------------------------------------------------------------
    Mi Blog|Twitter

  6. #16
    Join Date
    May 2011
    Location
    Ohio
    Beans
    4
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Automount partition

    Thanks Iaculallad! I know this is an old post but I had the exact same problem, so thanks to all of you.

  7. #17
    Join Date
    Mar 2009
    Beans
    71

    Re: Automount partition

    Quote Originally Posted by dcstar View Post
    There are GUI tools that can achieve exactly what you want in this area without having to take risks manually editing these files. Simply install the pysdm package: System-Administration-Storage Device Manager.

    I cannot fathom why people continually tell new Linux users to stuff around with these files when a better option has existed for a very long time.
    See below the new partition entry added to /etc/fstab
    # <file system> <mount point> <type> <options> <dump> <pass>
    /dev/sdc7 /mnt/data160e3p7 ext3 errors=remount-ro 0 0

    That was added by pysdm (System-> Administration-> Storage Device Manager) and it does not use UUID( what if GRUB decides to call the other hard disk sda instead of sdb ??), does not use relatime(causing hard disks to record access time every time, thus slowing down the system! ), does not enable fsck ckecking on the partition(not checking until something weird happens!)

    See references:
    quoting from /etc/fstab: "UUID= as a more robust way to name devices that works even if disks are added and removed."

    relatime: http://linux.koolsolutions.com/2009/...mount-options/

    fsck ckecking: https://help.ubuntu.com/community/Fstab

  8. #18

    Re: [A BETTER WAY] Automount partition

    Well I found this very straight forward guide. Do give it a try. Its much simple.

    Auto Mount Windows Partition in Ubuntu:
    http://bit.ly/rbpSyV

    Ubuntu Tips and Tricks.

  9. #19
    Join Date
    May 2012
    Beans
    1

    Smile Re: Automount partition

    Quote Originally Posted by iaculallad View Post
    Post whatever displays when you issue the commands below:

    Code:
    cat /etc/fstab
    
    sudo fdisk -l
    
    sudo blkid
    So, we could tailor your need for auto-mounting.
    Quote Originally Posted by iaculallad View Post
    Say, it's the /dev/sda2 that needs to be auto-mounted:

    First thing to do is to install ntfs-3g driver.

    Code:
    sudo apt-get install ntfs-3g
    Then, create the mount point for that device:

    Code:
    sudo mkdir /media/musicdrive
    Open /etc/fstab file for editing:

    Code:
    gksudo gedit /etc/fstab
    and add the line of code below to the last part of the file:



    Save and Close the File: Drop to your terminal and issue the command:

    Code:
    sudo mount -a

    Thanks for the helpful tip. Glad this thread turn this into a painless process.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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