How to remove duplicate entry in Devices list in Nautilus

Problem

The Devices list shown at the top of the Sidebar in Nautilus lists the other partitions found in the hard disk or any other storage devices plugged into the computer. Since I dual-boot between Windows and Ubuntu, the Devices list shows the NTFS partitions on the hard disk. I added a line to /etc/fstab to mount one of my NTFS partitions automatically at boot. After I did this, the Devices list in Nautilus started to show a duplicate entry for this partition, with one of it mounted and the other unmounted.

Solution

There seems to be a simple solution to this bizarre problem. The fstab entry I am using to mount the NTFS partition uses the UUID of the partition. Replacing this with the old style /dev/sda partition name fixed this problem.

For example, my fstab entry read UUID=A5190634180941Z5. I changed that to /dev/sda5 You can list the dev and UUID entries for all your partitions by using the command sudo blkid

Tried with: Ubuntu 12.04.2 LTS

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s