Auto Mount Windows Partitions in Ubuntu 10.10, 10.04 Lucid

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4.20 out of 5)
Loading ... Loading ...

While Ubuntu (10.10, 10.04, 9.10 etc) detects all windows partitions automatically on the boot, it doesn’t mount them automatically at the boot. You can have them automatically mounted at each boot by simply using ntfs-config. It is an easy to use GUI tool which adds the appropriate tags in /etc/fstab automatically and you don’t have to edit them manually. Here is how to use it. First install it by doing

sudo apt-get install ntfs-config

Launch it from System > Administration > NTFS Configuration Tool, it would detect all your windows partitions you should see something like this

Select the partitions you want to be mounted automatically on reboots and click “OK”, once the tool is done applying making changes click on Cancel to access the next configuration window.

Choose Enable write support for internal device in the screen as shown above. NTFS configuration tool would automatically make the changes for it. When it is done applying the changes click on Close to exit the program. Now your /etc/fstab should have entires like these, depending on the partitions you chose:

#Entry for /dev/sdb1 :
UUID=29CDFA1227AFD60B    /media/Win7    ntfs-3g    defaults,locale=en_US.UTF-8    0    0

Thats it, reboot and now your Windows partitions would be mounted automatically.

If you found this useful, please consider leaving a comment or liking us on Facebook or following us on Twitter or subscribing to the RSS feed to have future articles delivered to your feed reader.

Possibly related posts (generated automatically):

  1. Auto Mount Windows Partitions in Fedora 14, 13 or 12
  2. Dual Boot Windows 7 and Ubuntu 10.04 Lucid Lynx
  3. How to mount the LVM type partition/volume on linux
  4. Mount / Open Windows Shares Locally on Ubuntu 11.04 or 10.10
  5. Restore Grub 2.0 after Windows 7 Install (Ubuntu 11.04, 10.10, 10.04 or 9.10)
  6. Install XBMC on Ubuntu 10.04 Lucid Lynx with Support for IR Remote
  7. Install VirtualBox 3.2 on Ubuntu 10.04 Lucid Lynx
  8. Auto assign profile images on Ubuntu

You might also like

Auto Mount Windows Partitions in Fedora 14, 13 or 12 While Fedora...
Restore Grub 2.0 after Windows 7 Install (Ubuntu 11.04, 10.10, 10.04 or 9.10) I had Ubuntu...
Uninstall Grub (Replace Grub with Windows 7 Boot Loader) There are times...
Sony VAIO with Insyde H2O EFI bios Ubuntu 12.04 Dual Boot If you have...

About the Author

has written 1314 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

9 Comments on “Auto Mount Windows Partitions in Ubuntu 10.10, 10.04 Lucid”

  • Mahbub wrote on 7 July, 2010, 10:29

    It’s better not to mount windows drive automatically cuz if you don’t unmount properly, you may jeopardize your windows file index. I had problems regarding this and my PC kept restarting again and again. But after windows’ chkdsk ran and fixed the index, it was restored. So I wouldn’t do that automatically. Mount them only when you need them and don’t forget to unmount :)

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

  • lifehacker wrote on 7 July, 2010, 11:32

    @Mahbub – I have been using auto mount for quite a while, and never had an issue like that, in fact all my media files are on NTFS partitions because it was earlier part of Windows based HTPC and since I switched completely to MythTV, I have been using the auto mount option for a while now without any issues. IMHO unclean mount can happen anytime even when you are mounting it manually.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

  • simbeb wrote on 31 August, 2010, 16:37

    Tried to install the ntfs config tool twice. It does install and shows in system under administration but it just won’t start. I am stuck…

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

    lifehacker Reply:

    Try launching it from a terminal, use the following command

    sudo ntfs-config

    It would ask for your password and start, else it would throw some error, let me know what those errors are.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

  • youshi wrote on 15 October, 2010, 12:50

    ypatel@ubuntu:~$ sudo ntfs-config
    Traceback (most recent call last):
    File “/usr/bin/ntfs-config”, line 102, in
    main(args, opts)
    File “/usr/bin/ntfs-config”, line 75, in main
    app = NtfsConfig()
    File “/usr/lib/pymodules/python2.6/NtfsConfig/NtfsConfig.py”, line 56, in __init__
    os.mkdir(HAL_CONFIG_DIR)
    OSError: [Errno 2] No such file or directory: ‘/etc/hal/fdi/policy

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

    lifehacker Reply:

    @youshi,
    If ntfs-config is not working, you can manually enter information for your Windows partitions as given below in /etc/fstab file. Make sure that you have folders created for mounting content, and then replace the UUID data with that of your partition. You can get UUID data using Gparted

    #Entry for /dev/sdb1 :
    UUID=29CDFA1227AFD60B /media/Win7 ntfs-3g defaults,locale=en_US.UTF-8 0 0

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

  • junnitta wrote on 9 February, 2011, 3:15

    Hi
    First of all thanks for these ubuntu hints and guides. I found your blog a while ago and these are very helpful. Now as for the reason I am leaving this comment I had the same problems with simbeb and youshi that ntfs-config not launching after install. I believe also the reason behind it is the same. I faced this issue yesterday on ubuntu 10.10 maverick (the stable release) and I guess simbeb and youshi were likely using ubuntu 10.10 (considering post date they might have been using 10.10 beta or smtg) I googled about it for a while and it turned out to be a bug on ubuntu 10.10 discussed on here.
    https://bugs.launchpad.net/ntfs-config/+bug/630348
    http://www.osgui.com/forum/ubuntu/9547-1010-ntfs-config-bug.html

    On launchpad MD Ashraful Alam says the reason and the solution to it. Here what he/she said:
    “ntfs-config was previously dependent on libhal. They removed hal dependency from lucid. But the dependency residue is still in the maverick package. You can either install libhal or you can just make an empty directory as “/etc/hal/fdi/policy”. Then ntfs-config will work. well it worked for me.”

    @lifehacker
    It may be helpful if you add some info about this bug and solution to your guide for others that may face this problem too.
    Thanks for writing and sharing these guides again.

    Like or Dislike: Thumb up 1 Thumb down 0

    [Reply]

Trackbacks

  1. Create A Perfect Linux Desktop Using Ubuntu 10.04: Post Install Guide « Hack Your Life!
  2. Auto Mount Windows Partitions in Ubuntu « Kompiuteriu remontas

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*
Your Ad Here

Copyright © 2012 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes