Skip to content

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

Closed
SuperGregM wants to merge 6 commits into
mschirrmeister:mainfrom
SuperGregM:main
Closed

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

Conversation

@SuperGregM

@SuperGregM SuperGregM commented Jul 5, 2025

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-20250705.0.img.xz 300 MB
Arch-Linux-aarch64-cloudimg-20250705.0.qcow2.xz 299 MB
Arch-Linux-aarch64-cloudimg-20250705.0.vmdk.xz 299 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 work 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??

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

@mschirrmeister

Copy link
Copy Markdown
Owner

Thank you very much. I was away for a while.
Will review and merge this soon.

@SuperGregM
SuperGregM marked this pull request as draft August 14, 2025 22:12
@SuperGregM
SuperGregM marked this pull request as ready for review August 14, 2025 22:15
@SuperGregM
SuperGregM force-pushed the main branch 2 times, most recently from 77eaa9b to 6d0188c Compare August 14, 2025 22:46
@SuperGregM

SuperGregM commented Aug 21, 2025

Copy link
Copy Markdown
Author

updated to use a branch not the main repo fork check in pull request #2

@SuperGregM SuperGregM closed this Aug 21, 2025
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.

2 participants