You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
images/linux
Szymon Karpiński 2a68ab6c2d dhcp & tftp/http servers merged 7 years ago
..
src moved http to 8014 7 years ago
Makefile moved http to 8014 7 years ago
Readme.md dhcp & tftp/http servers merged 7 years ago

Readme.md

Linux for cloning

About

images/linux is Debian 10 system adapted for network booting and sending/receiving disk images via UDP. It is designed to work together with images/server.

On boot, full system image will be downloaded, mounted read only and will become new root (see src/etc/initramfs-tools). User will be presented with menu allowing sending/receiving images and root shell access (see src/scripts). Whole environment will be read-only, except /tmp where writeable tmpfs will be mounted.

Installation

To build just run:

sudo make

This will download base system to build/cache, copy it to build/rootfs and continue build there. After successful completion of this command, a fully functional linux root filesystem will be present in build/rootfs.

debootstrap is required to download base Linux system. When more advanced (encrypted home etc.) partition setup is used, one might need to remount the partition on which the build is taking place with exec and dev before running make:

sudo mount -i -o remount,exec,dev /home/whatever