Decided to write up a quick post on a hacky workaround I came up with for custom distros Oracle free tier and thought I’d share. Don’t rely on Oracle, but definitely do leverage as much of their free compute as you can for non-critical workloads!
I did not realize they had a free tier, thanks!
InnerScientist@lemmy.world 4 months ago
Can’t you just kexec and be on your way?
starkzarn@infosec.pub 4 months ago
I am not well versed with
kexecbut I always understood it to be a kernel reboot without power cycling the “metal.” Please enlighten us with an example! I don’t see how you’d replace the entire userspace (and possibly filesystem) with simply kexec.InnerScientist@lemmy.world 4 months ago
Kexec can be used to load a new kernel and “reboot” quickly, it can also be used to load a new kernel, an initrd and never touch the disk. Such a system lives completely in ram and allows you to modify the disk in any way you want without breaking you running Linux (which is in ram)
Any distro that has a network boot installer that can be passed to kexec can be installed this way, any that don’t can still kexec any Linux distro and then install any other distro by passing the disk to a VM and installing linux through that.
You can also kexec the netboot.xyz image and get any distro supported there.