Skip to content

Commit 80fc00c

Browse files
committed
content: Add resize image section to Heterogeneous Runner
Add information of Ubuntu RISC-V default size and steps to resize it. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent fd2859d commit 80fc00c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/virtualization/cloud-hypervisor/heterogeneous-runner.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,7 @@ I'm using a pre-installed RISC-V Ubuntu server image, which could be downloaded:
9494
wget https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
9595
# Extract image
9696
xz -dk ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
97+
# Resize the image
98+
# The image defaults to 5 GiB, couldn't even fit in a kernel source code
99+
qemu-img resize -f raw ubuntu-24.04.1-preinstalled-server-riscv64.img +45G
97100
```

0 commit comments

Comments
 (0)