booting directly into container storage instead of updating the rootfs #1330
Replies: 1 comment 4 replies
-
I understand what you're thinking, but there's a few complexities here. Actually a lot. This overlaps with several things - #20 is the biggest.
But what specifically is the advantage of this? Are you thinking this would somehow speed things up? Use less disk space? Be easier to understand?
I am not totally sure that's possible with the way booting works with e.g. EFI regardless of containers.
A "virtiofs root" though doesn't require changing how we do things in general though. The virtiofs root path also relates to #898 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
while playing around with bootc, it has always been a grievance of mine that the roo-tfs needs to be changed to actually boot into a "image"
when playing around with btrfs i took note that the Storages is basically what one would want of a root
so im wondering, what if instead of the normal root-fs, the data was used directly from the storage of container storage - like any other container - no more updating the root-fs to boot a different image
depending on the boot-loader one could go even farther (and skip extracting the target kernel/initrd, instead using a kexec when hardware can deal with reinit
the key thing for me would be that instead of updating the rootfs - the container would only extract the own kernel to the boot partition
additionally some details could be managed more graceful (imagine a usb drive with images for both x86/arm being able to boot on any system one connects)
plus passing a container storage to a vm + adding the kernel/initrd could possibly enable quick testing of images by avoiding writing the disk images instead opting to only store persistent data in the images, but using the hosts container storage to serve the system
Beta Was this translation helpful? Give feedback.
All reactions