[Lancaster] Technical question

Richard Robinson llug_6a at beulah.qualmograph.org.uk
Sun Sep 3 17:42:29 BST 2006


On Sun, Sep 03, 2006 at 05:03:57PM +0100, Ken Walton wrote:
> 
> Anyway, what I wanted to know is this. I've got MEPIS on partition
> hda3, and Ubuntu on hda1. If I do "mount /mnt/hda1" I can access the
> Ubuntu partition, but I have to do it manually. What I want to know
> is:
> 
> 1) How can I get hda1 to mount automatically in MEPIS

write a line into /etc/fstab - something like

/dev/hda1       /mnt/hda1           ext3    defaults        0       2

would mount hda1 on /mnt/hda1 automatically on boot (change ext3 if it's a
different filesystem, of course). "man fstab" for the sordid detail.

> 2) Can I connect the home directory of hda1 to the filesystem in the
> home directory of MEPIS, so I don't have to wander quite so far to get
> to my documents?
> 
> I'm pretty sure it's possible, but I just don't know how! :-)

symbolic link ?

ln -s /mnt/hda1/home /home
would probably _not_ do what you want, because that would hide the current contents
of /home, showing only the hda1 ones. But

ln -s /mnt/hda1/home /home/hda1
would cause all the user directories of hda1/home to appear under /home/hda1

ln -s /mnt/hda1/oldusername /home/newusername
would cause the contents of oldusername's home directory on hda1 to appear
under /home/newusername

and so on ...


-- 
Richard Robinson
"The whole plan hinged upon the natural curiosity of potatoes" - S. Lem




More information about the Lancaster mailing list