Skip to content

Instantly share code, notes, and snippets.

View sboeuf's full-sized avatar

Sebastien Boeuf sboeuf

  • Rivos Inc.
  • Aix-en-Provence, France
View GitHub Profile
@sboeuf
sboeuf / prepare_focal_nvidia_image.md
Last active March 16, 2021 15:25
Prepare custom focal image with NVIDIA CUDA

Download Ubuntu focal image

wget https://cloudhypervisorstorage.blob.core.windows.net/images/focal-server-cloudimg-amd64-custom-20210106-1.raw
mv focal-server-cloudimg-amd64-custom-20210106-1.raw focal-server-cloudimg-amd64-nvidia.raw

Extend the image

qemu-img resize focal-server-cloudimg-amd64-nvidia.raw 20G