Skip to content

Prototype, pre-alpha quality ISO construction scripts

Notifications You must be signed in to change notification settings

serpent-os/img-tests

Repository files navigation

Here be dragons 🔥🐉

🚨🚧🚧🚧🚨

As Serpent OS is under heavy development, the image generation scripts in this repository are provided as is, with no explicit or implied warranty or support.

If you break your computer because you used these scripts or Serpent OS in its current state, you get to keep both pieces.

Create systemd-nspawn compatible ./sosroot install

./create-sosroot.sh

Create virt-manager/libvirtd compatible /var/lib/machines/sosroot/ install

DESTDIR="/var/lib/machines/sosroot" ./create-sosroot.sh

Create virtiofs-based virt-manager VM install

cd virt-manager-vm/
./create-virtio-vm.sh

Create desktop ISO image

cd desktop/
sudo ./img.sh
qemu-system-x86_64 -enable-kvm -cdrom snekvalidator.iso -bios /usr/share/edk2-ovmf/x64/OVMF.fd -m 4096m -serial stdio

Installable / booting desktop image

cd desktop/
sudo ./img.sh
truncate -s 10G disk.img
qemu-system-x86_64 -enable-kvm -m 4096m -cdrom snekvalidator.iso -drive if=pflash,format=raw,readonly=on,file=/usr/share/qemu/edk2-x86_64-code.fd -device virtio-vga-gl -display sdl,gl=on -cpu host -serial stdio -device virtio-blk-pci,drive=main -drive id=main,if=none,file=disk.img,format=raw -boot c

Drop the -boot c after you've booted the VM, formatted with fdisk and installed with sudo lichen

About

Prototype, pre-alpha quality ISO construction scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published