Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Compiling first and then installing using -K
Date: Wed, 26 Feb 2020 05:04:41
Message-Id: a613a003-faf0-5a37-e188-3ae2b212320c@gmail.com
In Reply to: Re: [gentoo-user] Re: Compiling first and then installing using -K by Dale
1 Dale wrote:
2 >
3 > P. S. Starting to wonder if I should copy my current install over and
4 > start there.  I'd assume skipping /home, /proc and /sys would get me
5 > started.  Still, gonna try the stage3 again.  Just for giggles.  Do all
6 > this while I cook some BBQ chicken for supper tomorrow night. 
7 >
8
9 Wanted to update on this, in case some other poor soul wants to go down
10 this path.  The PS above is what I ended up doing.  That stage3 tarball
11 never worked.  It was like running in circles trying to emerge
12 anything.  Plus, copying over from my current install gives me a 100%
13 clone of my install.  So, I created a script, y'all would call it a
14 joke, to copy over all the directories/files from my current install. 
15 That seems to work.  I actually noticed I'm a version behind on
16 kde-plasma and am upgrading it in the chroot as I type.  Once that is
17 done, I can copy over the binaries and do a emerge -k for the running
18 install.  This is my scripts, y'alls jokes.  lol 
19
20
21 root@fireball / # cat /root/gentoo-mount
22 mount --types proc /proc /backup/gentoo-build/proc/
23 mount --rbind /sys /backup/gentoo-build/sys/
24 mount --rbind /dev /backup/gentoo-build/dev/
25
26
27 root@fireball / # cat /root/gentoo-rsync-build
28 rsync -av --progress --delete /bin/* /backup/gentoo-build/bin/
29 rsync -av --progress --delete /boot/* /backup/gentoo-build/boot/
30 rsync -av --progress --delete /etc/* /backup/gentoo-build/etc/
31 rsync -av --progress --delete /lib/* /backup/gentoo-build/lib/
32 rsync -av --progress --delete /lib64/* /backup/gentoo-build/lib64/
33 rsync -av --progress --delete /opt/* /backup/gentoo-build/opt/
34 rsync -av --progress --delete /run/* /backup/gentoo-build/run/
35 rsync -av --progress --delete /sbin/* /backup/gentoo-build/sbin/
36 rsync -av --progress --delete /usr/* /backup/gentoo-build/usr/
37 rsync -av --progress --delete /var/* /backup/gentoo-build/var/
38
39 echo "Sync done"
40 root@fireball / #
41
42
43 The first one mounts things, if they are not already mounted.  The
44 second one syncs up everything, except /dev, /sys etc etc. 
45
46 I'll know in a couple hours or so how well this works.  I can't see why
47 I would have any problems but . . . . . I'm me.  ROFL  :/ 
48
49 Dale
50
51 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Re: Compiling first and then installing using -K Michael Jones <gentoo@×××××××.com>