No Description

Toastie 340198694f check if mount point exists prior to the attempt to delete it 1 year ago
legacy d01bfddf95 moved to legacy folder 1 year ago
.gitignore 1719c8edc6 initial 2 years ago
README.md d8f661cabf added info on partitions for efi 1 year ago
bootstrap-bookworm.sh 340198694f check if mount point exists prior to the attempt to delete it 1 year ago
config-get-netconf-eth0.sh 692cefc257 fixed permisison and docu 1 year ago
config.sh.template d32adf468f updated replicating bootstrap script 1 year ago
install_docker.sh e5340f5759 removed lsb_release 1 year ago
uefi-parted.sh 9c33b450aa prepared docu for efi-installation 1 year ago

README.md

bootstrap

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

Usage

Remark: Make sure to boot grml for amd64

# boot grml
# - press e to setup network if neccessary
# - press Return to run a shell
# - Run the command Start ssh , with a capital S to start the ssh server
# - passwd to change the root password
git clone https://git.in-ulm.de/ulpeters/bootstrap.git
cd bootstrap
cp config.sh.template config.sh
# ./config-get-netconf-eth0.sh to copy running grml network config
vi config.sh
./bootstrap-bookworm.sh install
# reboot
# run as root
/installer/bootstrap-bookworm.sh postinstall

Alternatives

1. Qemu disk as installation target

img="/var/lib/libvirt/images/ts-linux-testing.qcow2"
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

Set disk=/dev/nbd0 as installation target

2. EFI installion with encrypted data partition

  • Adapt and run uefi-parted.sh prior bootstrap-bookworm.sh install
  • Settings for config.sh
    • partition=efi
    • disk1=$disk"p2"
    • disk0=$disk"p1"