3f272790d6d1f5483e396ca83ea04c36cacad7c2
Linux Image Manager
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.
Description
Linux Image Manager is a powerful suite of shell scripts for downloading, configuring, and managing Linux images—including encrypted storage, RAID1 setups, chroot environments, and backups.
Languages
Python
90.9%
Shell
8.5%
Makefile
0.6%