Skip to content

Commit

Permalink
content: Add resize image section to Heterogeneous Runner
Browse files Browse the repository at this point in the history
Add information of Ubuntu RISC-V default size and steps to resize it.

Signed-off-by: Ruoqing He <[email protected]>
  • Loading branch information
TimePrinciple committed Oct 23, 2024
1 parent fd2859d commit 80fc00c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/virtualization/cloud-hypervisor/heterogeneous-runner.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,7 @@ I'm using a pre-installed RISC-V Ubuntu server image, which could be downloaded:
wget https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
# Extract image
xz -dk ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
# Resize the image
# The image defaults to 5 GiB, couldn't even fit in a kernel source code
qemu-img resize -f raw ubuntu-24.04.1-preinstalled-server-riscv64.img +45G
```

0 comments on commit 80fc00c

Please sign in to comment.