Gentoo Stage 4 Utilities Suite
Find a file
2014-05-18 23:52:33 +02:00
.gitignore Initial commit 2014-05-18 23:52:33 +02:00
LICENSE Initial commit 2014-05-18 23:52:33 +02:00
mkstage4.sh Initial commit 2014-05-18 23:52:33 +02:00
README.md Initial commit 2014-05-18 23:52:33 +02:00

#mkstage4

Nash script to create stage 4 tarballs either for the running system, or a system at a specified mount point. The script is a new edition of the mkstage4 script by Greg Fitzgerald (unmaintained as of 2012) which is itself a revamped edition of the original mkstage4 by Reto Glauser (unmaintaied as of 2009).
More information on this script can be found on the respective Chymeric Tutorials article.

##Usage

Running mksatge4 from its own directory:

cd /your/mkstage4/directory
chmod +x mkstage4.sh

Archive your current system (mounted at /):

./mkstage4.sh -s archive_name

Archive system located at a custom mount point:

./mkstage4.sh -t /custom/mount/point archive_name

Other options:

  • -q (quiet) prompts of confirmation.
  • -b (no-boot) excludes the /boot (or /cutom/mount/point/boot).
  • -c (no-connman) excludes connman saved networks directory.

##Extract Tarball

Tarballs created with mkstage4 can be extracted with:

tar xvjpf archive_name.tar.bz2

##Dependencies:

  • Bash - in Portage as app-shells/bash
  • tar - in Portage as app-arch/tar

Please note that these are very basic dependencies and should be already included in any Linux system.

##Meta Released under the GPLv3 license. Project led by Horea Christian (address all correspondence to: h.chr@mail.ru).