3 ms·
So, what is the use case for this ability? The first thing that occurs to me is running an OS on a VPS provider that they don't natively support (e.g. Gentoo on
by derefr 12y ago
So, what is the use case for this ability? The first thing that occurs to me is running an OS on a VPS provider that they don't natively support (e.g. Gentoo on DigitalOcean.) But since VPS providers are generally using PV Xen instances, the kernel is controlled from outside--so you can't just overwrite the one in the rootfs and update grub and call it a day.
The current solution involves leaving the old OS around, making the new OS a squashfs image on disk, and then setting up the old OS to kexec the new one early on in each boot cycle. It's be cool, though, if you could figure out a way with Propellor to have the new OS live in the rootfs, in harmony with the most minimal fragments of the old OS necessary to kexec.