No Description

Toastie 3b79b1ecfb added pkg, fixed journal conf 2 weeks ago
legacy d01bfddf95 moved to legacy folder 9 months ago
.gitignore 1719c8edc6 initial 1 year ago 7c0dd97868 changed installation order 2 weeks ago 2e0511e77b updated partition schema 9 months ago 3b79b1ecfb added pkg, fixed journal conf 2 weeks ago 692cefc257 fixed permisison and docu 10 months ago 6eca53f083 added variable to bootstrap via docker 9 months ago 2faddbfe12 fixed permissions 2 weeks ago 4ef0334c08 added qemu-utils, added admin to libvirt 2 weeks ago 00c442573c added full path to /installer/ 9 months ago d5746e5c2e changed startup order 9 months ago


The script in this repo bootstraps Debian bookworm. The script may run in a grml live environment. Design decisions and usage instructions are outlined in the beginning of the script.

Basic usage

git clone
cd bootstrap
./ install
# reboot
# run as root
/installer/ postinstall

Run in grml live environment

  1. Boot grml amd64
  2. Press e to setup network if neccessary
  3. Press ⏎ to run a shell
  4. Run Start ssh, with a capital S to start the ssh server
  5. Run passwd to change the root password
  6. ./ to copy running grml in
  7. Login via ssh and proceed with Basic usage

Qemu disk as installation target

To prepare a qemu disk as installation target run following commands and set disk=/dev/nbd0 in

qemu-img create -f qcow2 -o size=20G $img  # create image
qemu-nbd -c /dev/nbd0 $img  # create device from image
qemu-nbd -d /dev/nbd0       # release device

Partition schema

  • partition=mbr-single, recommended for small VMs, will prepare
    • a mbr partition table
    • a single partition formated as ext4 partition
    • install grub-pc
  • partition=efi-single, recommended for small physical servers, will prepare
    • a gpt partion table
    • a 310 MB partition for efi
    • a 50 GB partition for the operation system
    • a partition with the remaining disk space for a luks container