Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to create stage clean?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Blackdon
n00b
n00b


Joined: 30 Jul 2020
Posts: 1

PostPosted: Thu Jul 30, 2020 10:46 pm    Post subject: How to create stage clean? Reply with quote

Hello good night, I would like to know how I can create a custom stage with some graphic interface, e.g.: gnome or plasma. Install the programs I want and create a stage without modifying it, a clean system.
Back to top
View user's profile Send private message
Banana
l33t
l33t


Joined: 21 May 2004
Posts: 618
Location: Germany

PostPosted: Fri Jul 31, 2020 1:51 pm    Post subject: Reply with quote

since I'm not a native english speaker: What do you mean with clean stage?
_________________
My personal space
Back to top
View user's profile Send private message
figueroa
l33t
l33t


Joined: 14 Aug 2005
Posts: 677
Location: Lower right-hand corner USA

PostPosted: Sat Aug 01, 2020 3:18 am    Post subject: Reply with quote

Do you mean by "clean stage" that you want a backup or snapshot of your system at that point? If yes, you could use a backup program or use tar. I use tar to make a weekly snapshot of all my system directories, which is separate from the nightly backups of my personal files.

The system backup looks like this and used 3.7 GB and does not include personal files or any "temporary" files that don't need to be backed up.
Code:
$ ls -l /mnt/backup0/sysbak3
total 3817712
-rw-r--r-- 1 root root    4669442 Jul 30 06:01 bin.tgz
-rw-r--r-- 1 root root   33190980 Jul 30 06:01 boot.tgz
-rw-r--r-- 1 root root      29333 Jul 30 06:01 dev.tgz
-rw-r--r-- 1 root root    4413743 Jul 30 06:01 etc.tgz
-rw-r--r-- 1 root root      10240 Jul 30 06:01 home.tar
-rw-r--r-- 1 root root    7213128 Jul 30 06:01 lib64.tgz
-rw-r--r-- 1 root root  263897118 Jul 30 06:01 lib.tgz
-rw-r--r-- 1 root root      10240 Jul 30 06:01 media.tar
-rw-r--r-- 1 root root      51200 Jul 30 06:01 mnt.tar
-rw-r--r-- 1 root root  314130708 Jul 30 06:02 opt.tgz
-rw-r--r-- 1 root root      10240 Jul 30 06:02 proc.tar
-rw-r--r-- 1 root root    1561973 Jul 30 06:02 root.tgz
-rw-r--r-- 1 root root      10240 Jul 30 06:02 run.tar
-rw-r--r-- 1 root root    4933979 Jul 30 06:02 sbin.tgz
-rw-r--r-- 1 root root      10240 Jul 30 06:19 scratch.tar
-rw-r--r-- 1 root root      10240 Jul 30 06:02 sys.tar
-rw-r--r-- 1 root root      10240 Jul 30 06:02 tmp.tar
-rw-r--r-- 1 root root 2915950020 Jul 30 06:14 usr.tgz
-rw-r--r-- 1 root root  359172827 Jul 30 06:19 var.tgz

If this is what you have in mind, I can share my script(s) with you here.
_________________
Andy Figueroa
andy@andyfigueroa.net Working with Unix since 1983.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum