linux-image-manager/README.md
2024-07-21 16:03:04 +02:00

1.1 KiB

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*;

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.