This repository contains some shell scripts to download and configure linux images and to transfer them to a storage.
Go to file
2024-07-22 02:37:59 +02:00
configuration/packages Moved client setup to client-playbook repository 2022-08-18 13:46:58 +02:00
scripts Removed earlyprint 2024-07-22 02:37:59 +02:00
.gitignore Implemented transfering of manjaro isos 2020-05-18 21:01:18 +02:00
.travis.yml Optimized shellcheck 2020-12-25 13:44:06 +01:00
LICENSE.txt Initial commit 2019-09-30 13:44:02 +02:00
README.md Implemented optimations for raspberry pi 4 2024-07-21 22:44:39 +02:00

Linux Image Manager

License: GPL v3

This repository contains some shell scripts to download and configure linux images and to transfer them to a storage.

Virtual Btrfs RAID1 Setup

To setup a virtual btrfs encrypted raid 1 execute:

  bash scripts/encryption/storage/raid1/setup.sh

Setup

To install a Linux distribution execute:

  sudo bash ./scripts/image/setup.sh

Cleanup

To cleanup the image setup execute:

fuser -k /dev/mapper/linux-image-manager-*; 
umount -f /dev/mapper/linux-image-manager-*; 
fuser -k /tmp/linux-image-manager-*; 
umount -f /tmp/linux-image-manager-*;

Additional you can unmount the device with a command like

umount -f /dev/sd*;

Verification

To verify that the unmounting was successfull, check the result of

mount

Chroot

To chroot into a Linux distribution on a storage execute:

  sudo bash ./scripts/image/chroot.sh

Backup

To backup a image execute:

  sudo bash ./scripts/image/backup.sh

License

The "GNU GENERAL PUBLIC LICENSE Version 3" applies to this project.