Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] duplicate gentoo system
Date: Wed, 18 Nov 2020 09:02:14
Message-Id: 20201118090158.5c09d299@digimed.co.uk
In Reply to: Re: [gentoo-user] duplicate gentoo system by Dale
1 On Wed, 18 Nov 2020 02:49:10 -0600, Dale wrote:
2
3 > thelma@×××××××××××.com wrote:
4 > > or is it
5 > > as simple as coping all file from "home" partition to "/" home folder.
6 > >
7 >
8 >
9 > That's what I would do.  First, umount /home.  Mount /home somewhere
10 > else like /mnt/tmp or something.  Copy everything from /mnt/tmp to
11 > /home.  Make sure to remove any entries in fstab for /home too.  Then
12 > umount /mnt/tmp and carry on.  I don't think I'm missing anything. 
13
14 Or you can bind mount / somewhere and copy /home to home on the bind
15 mount, saves unmounting anything.
16
17 mount --bind / /mnt/tmp
18 rsync -a /home/ /mnt/tmp/home/
19
20 > I'm with Thomas tho, I've always kept /home on a separate partition.  It
21 > has made things easier when I have to reinstall, lose a drive etc etc. 
22 > Things happen and having eggs in separate baskets can help.  That said,
23 > if it will work best for your needs or circumstances or both, then it is
24 > what it is. 
25
26 Agreed, it also helps with backing up you are likely to have different
27 requirements for backing up the OS, which is replaceable, and your data,
28 which isn't.
29
30
31 --
32 Neil Bothwick
33
34 First Law of Laboratory Work:
35 Hot glass looks exactly the same as cold glass.

Replies

Subject Author
Re: [gentoo-user] duplicate gentoo system Dale <rdalek1967@×××××.com>