Why don't the partitions mount on start up ?

Asked by kpkini

I am using Ubuntu 8.10
                - the Intrepid Ibex - released in October 2008.
I have to mount my partitions manually every time , they are listed in PLACES under removable media .... they have NTFS file system ......

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu cron Edit question
Assignee:
No assignee Edit question
Solved by:
S.Vikash Koushik
Solved:
Last query:
Last reply:
Revision history for this message
Antonio Litterio (antonio-litterio-gmail) said :
#1

Hi to mount automatically the partition, you can add entry in a /etc/fstab file.

Revision history for this message
kpkini (kpkini) said :
#2

Please elaborate on the answer .. am new to ubuntu ....

Revision history for this message
Philip Muškovac (yofel) said :
#3

Hi, here is the setup I use on my Ubuntu 9.04 machine, it should probably work the same way for intepid:

first you get the UUID of your partitions with 'sudo blkid' (you will have to know the partitions though, If you don't mount them manually and type 'df' that will list all mounted partitions and their mount points)
Once you have that open your fstab file with admin rights with 'gksu gedit /etc/fstab'.
Note: don't dare to edit the already existing entries. You'll probably break your system.

add a line for every patition you want to auto-mount on startup like this:
UUID=BCC8D97AC8D932FE /mount/point ntfs-3g relatime 0 0

first is the uuid of your partition
second is the mount point where you want to access the drive in like /media/disk
third is the used driver (I use ntfs-3g here, maybe you'll need to install it from the repositories or use ntfs instead.)
fourth are the mount options (you can get them with 'man ntfs-3g' or 'man mount' for ntfs)
the numerical values are:
dump: no idea, never used anything else than 0 here
pass: pass in which the periodical filesystem check should be done. I don't think you will want to check the drive so use 0

Hope that helps :)

Revision history for this message
Philip Muškovac (yofel) said :
#4

Oh, I forgot to mention this:
all those commands like 'sudo blkid' are terminal commands
you can open a terminal in applications->accessories->terminal

Revision history for this message
Best S.Vikash Koushik (vikashkoushik) said :
#5

Hi dude,

      Its easy.Just go to System->Administrations->Synaptic Package Manager and search for a package called ntfs-config.Install it.After installing it open it from Applications and you will be asked which partition you want your pc to mount automatically.Just select the partitions and enjoy.

Revision history for this message
kpkini (kpkini) said :
#6

Thanks S.Vikash Koushik, that solved my question.