mkstage4
gentoo
mkstage4 | gentoo | |
---|---|---|
10 | 51 | |
89 | 1,991 | |
- | 0.8% | |
6.0 | 10.0 | |
about 1 month ago | about 21 hours ago | |
Shell | Shell | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mkstage4
-
Creating a Secure and Manageable mini-server with Gentoo
Create a "stage4" tarball using mkstage4 (this is basically just a nice wrapper around a tar command where you don't have to remember all the options)
-
Life after Gentoo
I'm thankful for tools like mkstage4, for the record...
-
Laptop freeze when open firefox after i add more RAM
You'll be fine, if you are new to Gentoo maybe look into keeping system backups while you are learning using something like mkstage4 or if you want extra nerd points something like snapshots in ZFS.
-
How to package up an install to replicate it onto many other identical targets
Make a stage 4 tarball. Then just follow the handbook and instead of a stage 3 use your stage 4. Chroot and configure grub should be it after that.
-
Can't run RPGMaker games through wine after recovering system from tarballs
I migrated my filesystem from a single drive into two drives, one for my home directory, and the other for everything else (/boot, /, etc.). To do that, I created tarballs of the system and extracted them to the destination drive. I decided to use a script that automates some of that process for me (https://github.com/TheChymera/mkstage4). The result is 3 tarballs: one for /boot, one for /home, and one for /, excluding the past two directories. Migration has been somewhat seamless but I had to edit a few file permissions that were messed up because of the migration.
-
What is an easy/quick way to transfer an entire install to a new drive?
mkstage4 has always been my goto on Gentoo. Boot from live media, create your partitions, mount, extract the tarball to the destination and chroot into the new installation for cleanup... emerge -avuDn @world for good measure.
- Building a Gentoo image for many low power computers?
-
PSA: updating old Gentoo, a guide
I recently had a power failure caused by severe thunderstorms, which resulted in some screwed up partitions on my primary workstation. A blind fsck screwed up python and portage, which made the system completely unusable. Luckily, I had a stage4 tarball created with mkstage4, but it was way out of date (December 5 2021, 5.15 eries kernel). I was able to wipe (nvme-cli for NVMEs and hdparm --security-erase for the SATA SSDs) and recreate the partitions, then extracted the tarball (multi-threaded, using pbzip2), and was able to successfully chroot the install.
-
backuping up gentoo
Make a Stage4 tarball. You can do it periodically as significant changes happen. I have restored my system from these a few times. The downside is each Stage4 is a full backup so it takes up a lot of space. I only make them periodically. I have a script that I have set to an alias to make one of these whenever I feel the need (maybe twice a year).
-
It took me about 25 hours but i installed gentoo with gnome and openrc in VMware
You can probably also just make a stage 4 tarball and then install that way. Basically you follow the guide for partitioning and once you get to stage 3 tarball you use your stage 4 instead. Then skip ahead to setting up grub and you're done.
gentoo
- Backdoor in upstream xz/liblzma leading to SSH server compromise
-
Vulkan Video Extensions for Accelerated H.264 and H.265 Encode
Whilst Firefox may support hardware video decoding, Mesa since March 2022 disables patent encumbered codecs by default[1], and distributions such as Fedora and OpenSuse do not explicitly enable these patent encumbered codecs to avoid possible legal problems. Even Gentoo (built from source code by the user) requires the user to explicitly enable a USE flag (proprietary-codes) to use patent encumbered codecs.[2]
The thought process is that AMD, NVIDIA, Intel and the likes are not providing a patent license with their hardware.[3] They are instead just supplying part of an overall system that together with operating system kernel, display manager software, video player software, etc allows the decoding and encoding of patent encumbered video files. Open source software projects and distributions are concerned they'd be found to be infringing patents by enabling a complete solution out-of-the-box. Hence they put some hurdles in place so that a user has to go out of their way to separately piece together the various parts to form a complete system capable of encoding and decoding patent encumbered codecs.
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15...
[2] https://github.com/gentoo/gentoo/commit/1265a159743d7f07185a...
[3] https://lists.fedoraproject.org/archives/list/[email protected]...
-
I like gentoo's package deprecation process
Thank you! I don't live in git and this helps! Normally under gentoo I shouldn't have to. This actual git https://github.com/gentoo/gentoo (as opposed to the gentoo browser view) plus this "checkout the commit" should get me much further. ... And probably deserve some space in the gentoo docs.
- Great news java people: Gradle eclass is in the works!
- LLVM stages
-
Is gentoo difficult to maintain as a daily driver?
You choose - here's a list
- Error 2124 when trying to interact with super-block (show-super, set-option)
- HTTP-Tiny: verify_SSL (Draft PR)
-
My CNCF LFX Mentorship Spring 2023 Project at Kubescape
(pending) gentoo/gentoo #30595 sys-cluster/kubescape: new package, add 2.2.6
-
Why do the desktop profiles add so many USE flags?
profiles/targets/desktop/make.defaults:
What are some alternatives?
uwufetch - A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace.
gentooLTO - A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations
gentoo-stage4 - gentoo stage4 archives with an autoinstaller script
cmake-init-conan-example - cmake-init generated executable project with Conan integration
nbd - Network Block Device
torbrowser-overlay - Gentoo overlay for Tor Browser related ebuilds
pingwin - Scripts for maintaining Gentoo and other misc. projects
llvm-overlay - Unofficial experimental gentoo overlay for compiling llvm with additional components
rpi-gentoo-images - Gentoo images for the Raspberry Pi 3 and 4.
cmake-init-vcpkg-example - cmake-init generated executable project with vcpkg integration
cmake-init - The missing CMake project initializer
gentoo-install - A gentoo installer with a TUI interface that supports systemd and OpenRC, EFI and BIOS, as well as variable disk layouts using ext4, zfs, btrfs, luks and mdraid.