jgw111
March 20th, 2012, 03:04 PM
I've just switched to Linux for work, and the computer is now set up with 3 partitions: one with Windows7 (not relevant to this post), one with Linux (Ubuntu 11.10), and a common storage partition.
I'm trying to get the storage partition to automount at startup simply so I can place a link to it on the desktop rather than hunting through various file directories. But every option I've run across online doesn't work.
I've added the following to rc.local:
mount /dev/sda2 /media/STORAGE
I've made sure /etc/fstab has the partition properly included:
/dev/sda2 /media/STORAGE ntfs auto,nls=iso8859-1,umask=000 0 0
(I added the "auto" myself; everything else was already in place.)
I even tried adding "sudo mount /dev/sda2 /media/STORAGE" to the "Startup Applications" list.
Nothing. Works. I suspect there is some deeper problem, because when I type "sudo mount -a" all the terminal, the partition doesn't get mounted (yet everything I've read claims it should; it is the "all" function, after all). But if I manually use "sudo mount /dev/sda2 /media/STORAGE", it works just fine.
What exactly am I doing wrong? Since none of the tutorials I've read address this point I assume it's something basic, but I don't have enough experience to know what.
Thank you for your help.
I'm trying to get the storage partition to automount at startup simply so I can place a link to it on the desktop rather than hunting through various file directories. But every option I've run across online doesn't work.
I've added the following to rc.local:
mount /dev/sda2 /media/STORAGE
I've made sure /etc/fstab has the partition properly included:
/dev/sda2 /media/STORAGE ntfs auto,nls=iso8859-1,umask=000 0 0
(I added the "auto" myself; everything else was already in place.)
I even tried adding "sudo mount /dev/sda2 /media/STORAGE" to the "Startup Applications" list.
Nothing. Works. I suspect there is some deeper problem, because when I type "sudo mount -a" all the terminal, the partition doesn't get mounted (yet everything I've read claims it should; it is the "all" function, after all). But if I manually use "sudo mount /dev/sda2 /media/STORAGE", it works just fine.
What exactly am I doing wrong? Since none of the tutorials I've read address this point I assume it's something basic, but I don't have enough experience to know what.
Thank you for your help.