|
@@ -3,7 +3,7 @@
|
|
|
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
|
|
|
+### Usage
|
|
|
Remark: Make sure to boot grml for **amd64**
|
|
|
```
|
|
|
# boot grml
|
|
@@ -23,11 +23,12 @@ vi config.sh
|
|
|
```
|
|
|
|
|
|
|
|
|
-## Alternative: Prepare qemu disk as installation target
|
|
|
+### 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
|
|
|
+Set `disk=/dev/nbd0` as installation target
|