aboutsummaryrefslogtreecommitdiffstats
path: root/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
diff options
context:
space:
mode:
authorAndrew Donnellan <ajd@linux.ibm.com>2025-12-10 13:23:51 +1100
committerAleksandr Nogikh <nogikh@google.com>2025-12-11 12:46:30 +0000
commitaa371f5c19d1696ae176d1a6a41cb239049b4584 (patch)
tree1bc99f825667d55d42c4f310a170face4a097b93 /docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
parent6e13aafc1c8faa2d69e07224cb67ce5ee0ac9d36 (diff)
tools/create-image.sh: update default Debian release to trixie
Debian bullseye is now oldoldstable, so update the default release to trixie. While we're at it, update documentation references to old Debian releases to match. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Diffstat (limited to 'docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md')
-rw-r--r--docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
index 3646cf046..53a1c7660 100644
--- a/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
+++ b/docs/linux/setup_ubuntu-host_qemu-vm_x86-64-kernel.md
@@ -1,6 +1,6 @@
# Setup: Ubuntu host, QEMU vm, x86-64 kernel
-These are the instructions on how to fuzz the x86-64 kernel in a QEMU with Ubuntu on the host machine and Debian Bullseye in the QEMU instances.
+These are the instructions on how to fuzz the x86-64 kernel in a QEMU with Ubuntu on the host machine and Debian Trixie in the QEMU instances.
In the instructions below, the `$VAR` notation (e.g. `$GCC`, `$KERNEL`, etc.) is used to denote paths to directories that are either created when executing the instructions (e.g. when unpacking GCC archive, a directory will be created), or that you have to create yourself before running the instructions. Substitute the values for those variables manually.
@@ -136,9 +136,9 @@ Command:
sudo apt install debootstrap
```
-### Create Debian Bullseye Linux image
+### Create Debian Trixie Linux image
-Create a Debian Bullseye Linux image with the minimal set of required packages.
+Create a Debian Trixie Linux image with the minimal set of required packages.
Command:
``` bash
@@ -149,15 +149,15 @@ chmod +x create-image.sh
./create-image.sh
```
-The result should be `$IMAGE/bullseye.img` disk image.
+The result should be `$IMAGE/trixie.img` disk image.
### OR Create Debian Linux image with a different version
-To create a Debian image with a different version (e.g. buster, stretch, sid), specify the `--distribution` option.
+To create a Debian image with a different version (e.g. bookworm, bullseye, sid), specify the `--distribution` option.
Command:
``` bash
-./create-image.sh --distribution buster
+./create-image.sh --distribution bookworm
```
### Image extra tools
@@ -198,7 +198,7 @@ qemu-system-x86_64 \
-smp 2 \
-kernel $KERNEL/arch/x86/boot/bzImage \
-append "console=ttyS0 root=/dev/sda earlyprintk=serial net.ifnames=0" \
- -drive file=$IMAGE/bullseye.img,format=raw \
+ -drive file=$IMAGE/trixie.img,format=raw \
-net user,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10021-:22 \
-net nic,model=e1000 \
-enable-kvm \
@@ -230,7 +230,7 @@ After that you should be able to ssh to QEMU instance in another terminal.
Command:
``` bash
-ssh -i $IMAGE/bullseye.id_rsa -p 10021 -o "StrictHostKeyChecking no" root@localhost
+ssh -i $IMAGE/trixie.id_rsa -p 10021 -o "StrictHostKeyChecking no" root@localhost
```
### Troubleshooting
@@ -259,8 +259,8 @@ variables `$GOPATH`, `$KERNEL` and `$IMAGE` with their actual values.
"http": "127.0.0.1:56741",
"workdir": "$GOPATH/src/github.com/google/syzkaller/workdir",
"kernel_obj": "$KERNEL",
- "image": "$IMAGE/bullseye.img",
- "sshkey": "$IMAGE/bullseye.id_rsa",
+ "image": "$IMAGE/trixie.img",
+ "sshkey": "$IMAGE/trixie.id_rsa",
"syzkaller": "$GOPATH/src/github.com/google/syzkaller",
"procs": 8,
"type": "qemu",