Anyone know a fairly easy way to get Linux set up the way you like, with all the programs you want, or most anyways, and make an instalation disk out of it? (I’ve got it down to about 3-4 hours getting Linux set back,up after reinstall, but putting back all,the settings and programs takes time. Woild be nice is one installation disk could get everything back with ease.
Since /home is a separate partition/disk on my laptop, I can reinstall the OS at any point, and when I run this script, it automatically installs and configures the software I want.
Every time I install a new package, I'll add it into the script. Makes a vanilla install to be my preferred install.
For instance:
I (obviously) replaced my username with "Shadow" in the above snippet.#!/bin/bash if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi cp /home/Shadow/Shadow-user /etc/sudoers.d/. cat /home/Shadow/fstab >> /etc/fstab hostnamectl set-hostname laptop-name apt-add-repository ppa:lucioc/sayonara apt -y install /home/Shadow/Downloads/nordvpn-release_1.0.0_all.deb apt -y install xfsprogs xfsdump attr quota apt update apt -y full-upgrade --allow-downgrades apt -y install nordvpn apt -y install kde-standard apt -y install tuned terminator vim transmission xfreerdp flameshot . . .
So--I perform a vanilla install, run this script (Usually another 20-30 minutes due to the update/upgrade process and the kde-install), and everything is back to the way I want it.
Try the snapshot function of MX Linux. Get it set up, make a snapshot (in the menu, duck soup stupid easy), load it up on the next boot.