Home mount point

Mitch Thompson mitchthompson at satx.rr.com
Mon Mar 27 11:35:03 UTC 2006


Γιάννης Παπαδόπουλος wrote:
> Hello,
> I don't know if anybody saw my previous e-mail concerning problems I had
> during upgrade. Anyhow, during reinstall I forgot to assign to my home
> partition a home mount point. Now although I have access to the data
> they are not under home. Is there a way to fix that without
> reinstalling? I would be gratefull for any advice although I realize
> that maybe the community might start to become tired by my questions.
> Thanks again
> 
> Yannis
> 
> 
Sure.  Just go into /etc/fstab, and create an entry for it, like so:

/dev/hda7       /home           reiserfs defaults        0       2

Of course, replace the partition number with your actual one, as well as
the partition type, if it isn't reiserfs.  Then, simply type mount -a.

You can also manually mount the original home partition over the current
directory.  Whatever is in your current /home is NOT overwritten, but
will be unavailable when you do the mount.

mount /dev/<partition>  /home

This has the effect of overlaying the /home partition over the /home
directory.

Hope this makes sense.
-- 
"War is an ugly thing, but not the ugliest of things; the decayed and
degraded state of moral and patriotic feeling which thinks nothing is
worth a war, is worse. A man who has nothing which he cares more about
than he does about his personal safety is a miserable creature who has
no chance at being free, unless made and kept so by the exertions of
better men than himself." - John Stuart Mill
--
Mitch Thompson, San Antonio, Texas//WB5UZG
Red Hat Certified Engineer




More information about the kubuntu-users mailing list