4 ms·
I want to build a minimal kernel that I can virtualize (QEMU) for a variety of purposes across my arm64 Macbooks at home; ideally, it would be optimized for tha
by ravenstine 3y ago
I want to build a minimal kernel that I can virtualize (QEMU) for a variety of purposes across my arm64 Macbooks at home; ideally, it would be optimized for that hardware. One version of the kernel I want just for command line purposes, nothing involving graphics or sound. I want to also build a similar kernel that has just enough to run Firefox in a Wayland compositor (probably just Weston) along with sound.
No, I don't need to go this far, but I want to.
Unfortunately, I don't really have any resources to share. I just know how to boot a vmlinuz with an initramfs using QEMU, and decided to download the Linux kernel source code and try compiling it.
- watersb 3y agoYou might look into CoLima as a way to get started. https://github.com/abiosoft/colima?tab=readme-ov-file https://github.com/abiosoft/colima?tab=readme-ov-file Its user interface is Docker-like, using containers. For full desktop, I've only used the commercial app "Parallels", which can set up an Ubuntu desktop for you. Also Fedora and Alpine and Debian I believe. But > I don't really have any resources to share. I just know how to boot a vmlinuz with an initramfs using QEMU, and decided to download the Linux kernel source code and try compiling it. I highly recommend working through Linux from Scratch and possibly the Gentoo Handbook. It's a journey.