Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Auto mount partitions during startup

  1. #1
    Join Date
    Dec 2008
    Location
    Kerala, India
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Auto mount partitions during startup

    When i install ubuntu, i used to specify the mount points of each partition in the installation.. When i installed karmic, i forgot to do this and now i have to mount the partitions in each log-in. How can i set it to mount automatically during startup?

  2. #2
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: Auto mount partitions during startup

    Are you talking about NTFS partitions? If so this is new specific to Karmic...You can add the partition info to fstab manually or install
    Code:
    sudo apt-get install ntfs-config
    and running it from System, Administration, NTFS configuration tool (with your wanted partitions UNMOUNTED) and click on the enable checkbox.
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

  3. #3
    Join Date
    Dec 2008
    Location
    Kerala, India
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Auto mount partitions during startup

    Thanks, but i needed to do it manually.. Partitions are NTFS. Can u just tell me what to add in fstab?

  4. #4
    Join Date
    Jul 2007
    Location
    Murcia, Spain
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Auto mount partitions during startup

    What would be the fstab line for a NTFS partition (/dev/sda6) to be mounted in /media/DATA?
    I tried this line but it doesn't seem to work
    Code:
    /dev/sda6 "/media/DATA" ntfs defaults 0 0
    BTW the folder /media/DATA already exists.

  5. #5
    Join Date
    Aug 2007
    Location
    Off the Alaskan Coast
    Beans
    794
    Distro
    Ubuntu Development Release

    Re: Auto mount partitions during startup

    Quote Originally Posted by ashokmkd
    Thanks, but i needed to do it manually.. Partitions are NTFS. Can u just tell me what to add in fstab?
    Welll fair enough I guess.. Enter this in a term:
    Code:
    sudo fdisk -l
    Find your NTFS partition(s) and enter a line in fstab:
    Code:
    gksudo gedit /etc/fstab
    One of mine for EXAMPLE only:
    Code:
    /dev/sdc1 /media/Storage_Drive_1 ntfs-3g defaults,locale=en_US.UTF-8 0 0
    FIC K8-800T AMD64 3200+ 2GB PC3200 GeForce 6800GT Mandriva 2010 KDE+Compiz+Emerald
    MSI K9N2GM AMD 9950BE 4GB DDR2-800 GeForce 8200 10.10 WUSB600N
    Acer 6920 Core 2 Duo 4GB GeForce 9500GS 10.04 Ubuntu User #17586

  6. #6
    Join Date
    Apr 2007
    Location
    Cape Town (SA)
    Beans
    Hidden!

    Re: Auto mount partitions during startup

    Quote Originally Posted by Chikitulfo View Post
    What would be the fstab line for a NTFS partition (/dev/sda6) to be mounted in /media/DATA?
    I tried this line but it doesn't seem to work
    Code:
    /dev/sda6 "/media/DATA" ntfs defaults 0 0
    BTW the folder /media/DATA already exists.
    It should be ntfs-3g, not ntfs. Also, you don't need the quotations around /media/DATA, and you might need to add a few options to allow non-root users to access the drive. I use uid=1000, setting my user as the owner.

  7. #7
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Auto mount partitions during startup

    Quote Originally Posted by ashokmkd View Post
    Thanks, but i needed to do it manually.. Partitions are NTFS. Can u just tell me what to add in fstab?
    Install the pysdm package and use the GUI:

    http://ubuntuforums.org/showthread.p...ighlight=pysdm
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  8. #8
    Join Date
    Dec 2008
    Location
    Kerala, India
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Auto mount partitions during startup

    I tried many options and at last found it.. I added the following line to fstab

    /dev/sda5 /media/disk1 ntfs loop 0 1

    It seems working perfect, i dont know the meaning of loop, 0 and 1 yet..

  9. #9
    Join Date
    Jul 2007
    Location
    Murcia, Spain
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Auto mount partitions during startup

    I thought that just ntfs instead of ntfs-3g worked since hardy or so...

  10. #10
    Join Date
    Dec 2008
    Location
    Kerala, India
    Beans
    21
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Auto mount partitions during startup

    Thanks people, but can anyone tell me the use of "loop" option? And the 0 and 1 used for dump and pass?

Page 1 of 2 12 LastLast

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
  •