Ubuntu Mount Problems

Today I installed Ubuntu 9.04 Jaunty Jackalope on my laptop.
I grew tired mounting the ntfs partition every time I started Ubuntu. So I decided to try to make Ubuntu mount it at startup. Playing around, I came across the properties of my ntfs partition (right click on it in Places->Computer).
There I saw the mounting options. I supposed that maybe Ubuntu would mount the partition automatically if I indicated the right options there. Wrong idea. No only did it not mount it at startup, but I also messed up the options so that it wouldn't mount anymore. Not even the old way (Places->"WindowsPartition").
I looked into /etc/fstab but there was no information about ntfs file system's. Strange, I thought that in that file was everything related to mounting partitions.
So I started googling. Didn't find anything at start. Searching around a while I came across some good guide. But since I like to experience I just read the part that informed the problem and then went on my own fixing the "thing".
There is a program in charge of mounting file systems in Ubuntu that are no the "/" and "swap". It's called gnome-mount. This tool mounts pendrives, hard drives and I think also cameras and phones.
Next, I looked into "man gnome-mount". There I found what I needed.
So I typed in the terminal: gnome-mount --display-settings --device /dev/sda3
This command shows the settings for the /dev/sda3 partition. Luckily I found the ID of my partition in the logs (System->Administration->Log file viewer) (udev)
So I saw all the wrong settings I typed in earlier.
After that I typed in: gnome-mount --erase-settings --device /dev/sda3
That erased the settings.
That's it folks, believe it or not, after that everything worked the way it used to.
Resuming, if you messed up the mounting options type this in a terminal, after that everything should work fine.

gnome-mount --erase-settings --device

If you don't know which is the partition name(/dev/...), install gparted:
sudo apt-get install gparted
Then type sudo gparted in the terminal and you will see the information of all the hard disks on your computer. Also the /dev/... information you need.
Note: The download is less than 1MB.

Popular posts from this blog

Export to Excel with spreadsheet gem

Caleidoscopio de dos naciones

Keep sidekiq running using monit