How to mount a second partition on start up?

Mike McMullin mmcmullin at cogeco.ca
Sat Jan 22 15:21:57 UTC 2011


On January 9, 2011 11:50:49 pm Albert Wagner wrote:
> On Mon, 2011-01-10 at 02:02 -0200, Lucio M Nicolosi wrote:
> > On Mon, Jan 10, 2011 at 1:42 AM, Albert Wagner <albertwagner at cox.net> 
wrote:
> > > Using Ubuntu 10.10. I have another partition that contains only data
> > > that persists between different OS installations. I have replaced the
> > > standard data folders in ~ with links to corresponding folders in the
> > > data partition, e.g. ~/Documents is actually a link
> > > to /media/data/Documents. Everything is OK if the very first operation
> > > is mounting the data partition. What is a good method of having the
> > > system mount the data partition automatically on startup?
> > 
> > Perhaps an additional line in /etc/fstab?
> 
> Perhaps you know why
> # ~
> # blkid -o value -s UUID /dev/sda1
> # ~
> doesn't return anything

Put sudo at the front of that line, my results were as such:

mike at P-733-Lin:~$ blkid -o value UUID /dev/sda1
mike at P-733-Lin:~$ sudo blkid -o value UUID /dev/sda1
[sudo] password for mike: 
WinXP
460CE9920CE97CF5
ntfs
mike at P-733-Lin:~$ 







More information about the ubuntu-users mailing list