question about /home on separate drive

Fred Roller froller at tnclimited.com
Thu Aug 6 02:34:48 UTC 2009


On Wed, 2009-08-05 at 21:04 -0500, Wade Smart wrote:
> There is only 25 items in the new /home totaling 59.2mb.
> 
> So the problem is that the new /home has files in it that I need for
> the new setup.
> 
> Can I copy the items of the new /home to my old /home and then mark
> out the new /home
> in fstab ... and the things like my scripts in nautilus-scripts, Ill
> just copy them from old to new.
> 
> That would work --- right?
> 
> Wade
> 
> Registered Linux User: #480675
> Linux since June 2005
> 
> 
> 
> On Wed, Aug 5, 2009 at 07:33, Fred Roller<froller at tnclimited.com> wrote:
> > On Wed, 2009-08-05 at 08:03 -0400, Brian McKee wrote:
> >> That will overwrite his old files when he probably still wants them.
> >> Otherwise why bother with a separate /home?
> >>
> >> I'm not aware of any typical Gnome app that gets confused when
> >> presented with a slightly older version of their config files.
> >> Assuming we are talking a reasonably recent version of Ubuntu, I doubt
> >> there will be any issue.  Otherwise upgrading in place wouldn't work.
> >>
> >> A different possibility would be to proceed as he intended, using his
> >> old home as the new home.  Then, just create a new user 'test' or
> >> whatever.  Log in, and if there is some setting there he likes he can
> >> copy it over to his own home folder.
> >>
> >> Brian
> >
> > You have a valid point if he has the same user in both /homes.  He would
> > then need to rename the user directory and create the corresponding
> > user.  He could also leave the folder in the /Data and move items as
> > needed.
> >
> > Point is all the data is available and the 10Gb partition is already
> > mounting for optional use.  If he just remarks out the mount entry (his
> > original plan) in fstab for his current /home in favor of his
> > previous /home (250Gb) then he would have to mount the partition anyways
> > to get the information.
> > --
> > Fred R.
> > www.fwrgallery.com
> >
> > "Life is like Linux - simple; if you are fighting it, you are doing
> > something wrong."
> >
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> 

Yes it would work.  All you need to do is add an # at the front of the
original (10Gb) entry to REM it out.

sample:
# / was on /dev/sda1 during installation
UUID=4fab62b4-8c52-4e53-b9d2-24415fd54fe5 /               ext4
relatime,errors=remount-ro 0       1
# /Crypt was on /dev/sdb1 during installation
# UUID=1b53f0fe-b3d9-4334-aac4-84f2d081be6c /Crypt          ext3    
↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
relatime        0       2
# /Isolibrary was on /dev/sda4 during installation
UUID=f14efdc7-00b6-4e18-9cfd-23c35dde5524 /Isolibrary     ext3
relatime        0       2
# /tmp was on /dev/sda2 during installation
UUID=df9bfb68-445f-43ce-a66b-d9e0858777e6 /tmp            ext3
relatime        0       2
# swap was on /dev/sda3 during installation
UUID=6d8fe2e0-a937-4652-9a78-ebee6cb3a3bf none


Here "/Crypt" would no longer be mounted, without risking the config.

end the sample.

What I was proposing was to mount the partition of 10 Gb to /Data so
that you would achieve what you want AND have the 10 Gb for other uses
if you wanted.
-- 
Fred R.
www.fwrgallery.com

"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."






More information about the ubuntu-users mailing list