Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Dear all, How can I auto-mount all my hard disk partions ??

share|improve this question
add comment

5 Answers

Automatic mounting could also done using udisks a command line tool. This is the modern replacement for gnome-mount. It's not gnome specific.

When you mount a disc normally with the file browser (nautilus etc) it mounts disks by interacting with udisks behind the scenes.

You can do the same thing on the command line with the udisks tool.

/usr/bin/udisks --mount /dev/sdb1

The bit after --mount is the device name of the partition you want to mount. (/dev/something)

Finding the device name of your Partition

Open your partition in nautilus (this makes sure it's mounted) type mount in a terminal. You should see a line with your disk name on it like:

/dev/sdb1 on /media/My-Happy-Disk type vfat ....
share|improve this answer
add comment

enter image description here

Search for "disks" from dash home.After you click the application called "Disks", you should get a window something similar to this below. Here click the Partition you would want and click the gear icon you see below it. Click the options "Edit mount options". You will be presented with a window. Enable the automatic mount options by just sliding it to ON. Do this for all the partitions you want. And you are done ! After next reboot, all your partitions will be mounted automatically !

share|improve this answer
add comment

/etc/fstab is a configuration file that contains information of all the partitions and storage devices in your computer.

Make an entry there as below:

/dev/hdb1   /home   ext2    defaults    0 0

etc ... just change partition names , mount points , Fstype.

Your partition will be mounted on next boot.

share|improve this answer
add comment

Download a utility called pysdm. When installed it should show up as Storage Device Manager under system > Administration. You can then set the drive to automatically mount from there.

What it actually does is alter a file on your system called fstab, which tells your system what filesystems to expect, but its much easier to use the utility to edit it rather than doing it manually.

share|improve this answer
add comment
  • Install pysdm Install pysdm
  • After installation it will be found under System>>Administration>>Storage Device Manager

alt text

  • Select your partition from the partition list,and click Mount and then Apply.
  • Also for more information you can check this post.
share|improve this answer
    
thanks , but would this be enough for auto-mounting ??? I need the partions to be mounted at start up automatically –  Mostafa Metwaly Dec 20 '10 at 12:39
    
Yes that's enough..The partition will be mounted automatically at every boot.. –  karthick87 Dec 20 '10 at 12:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.