[arch-general] Multi-threaded mkinitpcio

Amish anon.amish at gmail.com
Fri Apr 3 12:41:39 UTC 2020


On 03/04/20 5:58 pm, Amin Vakil wrote:
>> As it's true for pretty much all update process for pretty much every OS
>> in the world, things can break if the update is interrupted.
> I meant as other linux distros keep multiple kernel versions, if
> something happens during kernel update you can always boot to another
> kernel which I've done on CentOS servers before when update has broken
> during kernel update.

In case of Arch Linux when kernel updates it deletes all initramfs and 
vmlinuz related to that kernel just before the update.

Via: /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook

So when there is update to linux as well as linux-lts and something 
happens while upgrade is running, none of the kernels will boot.

So best way is to, update each kernel separately. (I normally use pacman 
-Syu --ignore 'linux-lts*')

Amish.


More information about the arch-general mailing list