|
@@ -3,15 +3,8 @@
|
|
|
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.
|
|
|
|
|
|
|
|
|
-## Alternative: Prepare qemu images
|
|
|
-```
|
|
|
-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
|
|
|
-```
|
|
|
-
|
|
|
## Usage
|
|
|
+Remark: Make sure to boot grml for **amd64**
|
|
|
```
|
|
|
# boot grml
|
|
|
# - press e to setup network if neccessary
|
|
@@ -29,5 +22,12 @@ vi config.sh
|
|
|
/installer/bootstrap-bookworm.sh postinstall
|
|
|
```
|
|
|
|
|
|
-## Remarks
|
|
|
-- Make sure to boot grml for amd64
|
|
|
+
|
|
|
+## Alternative: Prepare 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
|