ChimeraOS / frzr

A deployment and automatic update mechanism for operating systems
MIT License
59 stars 14 forks source link

Make updating kernel and initramfs more reliable #17

Closed alkazar closed 3 years ago

alkazar commented 3 years ago

After extracting the btrfs image, we copy the Linux kernel and initramfs images to the boot partition. If the user restarts the system in the middle of this copy or the copy fails, this can result in an unbootable system.

A good strategy might be to copy the kernel and initramfs files to a subdirectory named after the version string of the system.

Not confirmed but this issue may result in the following error at boot.

20201206_095300

alkazar commented 3 years ago

This was fixed in GamerOS 24.