Por: Gonzalo Escribano
montar unidades en ubuntu automaticamente startup
July 22, 2010
By default in Ubuntu the partitions are not mounted automatically. What user has to do it, either use the applet in gnome panel or try to access the partition in “Places”. I never liked this irritating chore. Lets see how partitions can be auto mounted on startup.
SATA drives are represented by sdX and SCSI by hdX, where X can be a, b, c etc. depending on number of drives. If you have only one SATA you will have sda. In terminal, get the details which partitions are available and respective file systems.
The output should be something like,
Above table gives the partitions on the disk. We are interested in NTFS partitions which are
In order to automount partitions at startup we need to create mountpoint (which is nothing but a directory) in /media/ and add corresponding entry in /etc/fstab.
Decide which partition you want to automount. Lets assume its “/dev/sda1″ and its name is “XP”
You have to create the mountpoints for the drive. This directory is where you will see your partition contents when it is automounted.
Add mountpoint in /etc/fstab which holds mountpoints information. Open gedit with root privileges to edit
If the partition is /dev/sda1 and mountpoint is XP then append the following line,
If partition is FAT32 replace “ntfs” by “vfat” and if its Mac parition replace by “hfsplus” in above line.
Add the corresponding line for remaining partitions likewise. To check if partitions are mounted correctly, type in terminal: (This mounts all partition entries listed in /etc/fstab)
Henceforth, all the partitions will be automounted at startup.