-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a vmbuilder for debian #23
Comments
can't get a netboot vm starting:
with kernel/initrd gathered from https://deb.debian.org/debian/dists/bullseye/main/installer-arm64/current/images/netboot/ (arm64 because on a M1 macbook) |
Tried to mimic what is done in this Building a Debian Buster QEMU image for AARCH64 tutorial (but with bullseye), can't get vmcli to boot... |
rebooted, rebuilt vmcli (using Xcode 13), now I got an error message:
|
OK, got it:
|
Found the issue... if vmcli arch is x86_64 and you want a arm64 guest... it won't work
|
Glad you figured it out! You can alternatively just use the ubuntu kernel to boot debian if booting the debian kernel is non-trivial. |
To have the debian kernel, I regenerated the initrd/vmlinuz with virtio support (it displays kernel output fine, but can't see the login prompt): https://intl.cloud.tencent.com/document/product/213/9929 |
I have created a script like the ubuntu vmbuilder script for creation of a debian VM: The final trick was to add the virtio_console module to the initramfs, without recompiling the whole kernel. References used: |
Wanted to try a debian using their https://cloud.debian.org/images/cloud/, but the ubuntu script download vmlinuz/initrd from unpacked cloud image, how to get them in order to create (and PR) a script for debian ?
The text was updated successfully, but these errors were encountered: