1 1
hanguofu

Is it safe to update kernel while Armbian is running ?

Recommended Posts

I installed Armbian_5.60_Aml-s9xxx_Ubuntu_xenial_default_4.18.7  to the EMMC of my s905x TV Box , so far so good . 
Yesterday I trimmed some drivers and built the kernel successfully . The following packages are generated with armbian build tool :

 

 linux-dtb-aml-s9xxx_5.60_arm64.deb
 linux-headers-aml-s9xxx_5.60_arm64.deb
 linux-libc-dev-aml-s9xxx_5.60_arm64.deb
 linux-image-aml-s9xxx_5.60_arm64.deb
 linux-source-default-aml-s9xxx_5.60_all.deb

 

I am going to ssh into my box and run "dpkg -i  " commands  to update kernel . Is it safe to do so while Armbian is running ?

Share this post


Link to post
Share on other sites

Yes, of course. the kernel completely resides in memory once the system is booted, so you can update it safely.

 

Share this post


Link to post
Share on other sites
3 hours ago, hanguofu said:

I am going to ssh into my box and run "dpkg -i  " commands  to update kernel . Is it safe to do so while Armbian is running ? 

For security reasons, before updating, save all the contents of the /boot partition and modules (for example, in the "root" user directory), so that in case of problems, it is easy to return to the current state.

Share this post


Link to post
Share on other sites

I agree, doing a backup of the boot partition is highly advisable before doing kernel update (even apt-get upgrade), expecially if you are running a non-official armbian.

Normally the upgrade scripts do a copy of the old kernel/initrd themselves, but very often I lost some files in the process. It is quite time consuming and annoying try to restore the old kernel from working images

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1