Skip to content

Hopefull fix for image size problem and fix for qemu image Expanding of rootfs#2

Open
SuperGregM wants to merge 6 commits into
mschirrmeister:mainfrom
SuperGregM:hopeful_fix
Open

Hopefull fix for image size problem and fix for qemu image Expanding of rootfs#2
SuperGregM wants to merge 6 commits into
mschirrmeister:mainfrom
SuperGregM:hopeful_fix

Conversation

@SuperGregM
Copy link
Copy Markdown

Hello I came across this repo from lima-vm/lima#3049 issue on Lima-VM GitHub page.

I have been waiting for this for 2 years since i bought my M2 Ultra Mac Studio.

I tried to build the image with the readme but there are some typos and out of date tools.

So I am not a developer but I been trying to fix the God Send of a Script I think i have.

I have built it on my machine and on GitHub action workflow

Arch-Linux-aarch64-cloudimg-20250820.0img.xz 297 MB
Arch-Linux-aarch64-cloudimg-20250820.0.qcow2.xz 296 MB
Arch-Linux-aarch64-cloudimg-20250820.0.vmdk.xz 296 MB

fix for broken rootfs auto-resize - added cloud-guest-utils package
I could not get the image to expand in lima I did try your image and that also did not expand.
limactl start -y --containerd none --name archlinux-core --disk 10 ./archlinux.yaml
When run the rootfs "/" was only 3.5G it should have been 9.5G

feat. Add extra cleanup steps to minimize image size
This was to shrink the finished image down (was LLM created) but it works on my machine and GitHub action workflow.

feat. add progress bars to Creating VM images & Compressing images
so I would not go insane while run this over and over and over...

fix typos & add newlines for readabillity
I add space between the commands and fix some typos.

fix: update template VM from Debian to Ubuntu in README - debian is to old to build on my machine or maybe others??

fix: update cloud-init installation to use archlinux.org package
Changed your Cloud-Init to use archlinux.org any package from extra repo and updated the services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant