https://github.com/quicoa/my-system-setup-files
Collection of scripts I use to bootstrap and configure Debian-based systems, though support for other distributions may be added in the future
https://github.com/quicoa/my-system-setup-files
debian-linux installation-scripts
Last synced: about 1 month ago
JSON representation
Collection of scripts I use to bootstrap and configure Debian-based systems, though support for other distributions may be added in the future
- Host: GitHub
- URL: https://github.com/quicoa/my-system-setup-files
- Owner: quicoa
- Created: 2023-08-21T12:04:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T16:16:04.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T21:52:21.947Z (about 1 year ago)
- Topics: debian-linux, installation-scripts
- Language: Shell
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# System setup files
This repository contains a set of shell scripts that somewhat automate the
setup of Debian-based operating systems. I use these scripts primarily for
myself to bootstrap, set up, configure and install Debian-based systems, either
from scratch or from an existing ISO.
The scripts are not very flexible, but with some understanding of GNU+Linux they
are fairly easy to tweak. The configuration files located in [config](config)
must be changed before starting any bootstrap, configuring or installing, as
they contain parameters like the definition of the target and where to find the
working directories.
## Execution
Mount the target filesystem and mount-bind runtime directories
([config/mount](config/mount)):
```sh
./mount.sh
```
Debootstrap to the target directory ([config/debootstrap](config/debootstrap)):
```sh
./debootstrap.sh
```
Or clone a filesystem from an existing ISO ([config/clone](config/clone)):
```sh
./clone.sh
```
Start configuring the target system in chroot ([config/setup](config/setup)):
```sh
./chroot.sh setup
```
Re-run APT installer, if, for example, setup has finished but APT packages are
still incomplete (config/apt\*):
```sh
./chroot.sh apt
```
Disable unnecessary systemd services:
```sh
./chroot.sh service
```
Install Grub if installed on physical partition ([config/grub](config/grub)):
```sh
./chroot.sh grub
```
Create a squashfs file from the target filesystem
([config/mksqfs](config/mksqfs)):
```sh
./mksqfs.sh
```
Unmount the target filesystem ([config/mount](config/mount)):
```sh
./unmount.sh
```