menu 我的书签 老版本系统103X在线升级操作系统记录
文章开始
文章结尾

浪潮应政CE520F终端,1032版本操作系统在线升级记录

整个升级过程在1.8小时以上,期间偶现出现需要人工介入的操作,建议非必要不在线升级

关联硬件/整机信息:Arm平台部分机型
天玥Tr1252,Arm架构 Ft2000/4,从1032升级到1040版本没问题,但在回退、还原系统时触发此问题
天玥Tr4252,Arm架构 Ft2000/4,从1032升级到1040版本没问题,但在回退、还原系统时触发此问题
长城世恒Df712,Arm架构 Ft2000/4,从1032升级到1040版本打不开控制中心,但在回退、还原系统时触发此问题
同方Tk630-V050,Arm架构 鲲鹏920,升级触发此问题
Os版本信息:桌面专业版102x/103x 升级


升级前的准备


问题现象
系统在线升级版本后,重启系统启动卡在Grub界面提示error:symbol ‘grub_is_lockdown’ not found,如图所示:
efi.png


解决方法:

  1. 使用Livecd镜像引导系统,进入live系统后直接关掉Livecd工具
  2. sudo chroot /live_target
  3. apt update && apt reinstall grub2-common grub-efi-arm64-signed grub-common grub-efi-arm64-bin
  4. grub-install /dev/sda(/dev/xxxx根据磁盘类型和位置灵活使用nvmvn或sd*)

diff /boot/efi/EFI/ubuntu/grub.cfg /boot/efi/EFI/uniontech/grub.cfg

验证内核文件是否一致直接重启导致无法正常开机进入系统,重启系统启动后卡在Grub界面提示error:symbol ‘grub_is_lockdown’ not found。

解决方案

规避措施:

通过控制中心升级或者apt dist-upgrade升级系统,就可以避免此问题

1.系统升级方式:

使用命令行升级:

su root 进入root用户

apt update

apt upgrade 升级

升级安装完成后使用

diff /boot/efi/EFI/ubuntu/grub.cfg /boot/efi/EFI/uniontech/grub.cfg命令验证grub文件是否一致如不一致则不可重启

apt install -f 或 apt list —upgradable 查看当前未升级安装包

apt install 安装包名称 手动升级相关服务后再次使用diff /boot/efi/EFI/ubuntu/grub.cfg /boot/efi/EFI/uniontech/grub.cfg

验证验证grub文件是否一致如不一致则不可重启,如验证一致后重启进入系统

gsettings set com.deepin.dde.control-center update-auto-check Enabled
gsettings set com.deepin.dde.control-center update-system-update Enabled
gsettings set com.deepin.dde.control-center update-app-update Enabled
gsettings set com.deepin.dde.control-center update-auto-downlaod Enabled
gsettings set com.deepin.dde.control-center update-update-notify Enabled
gsettings set com.deepin.dde.control-center update-clean-cache Enabled

busctl call —system com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Updater SetAutoCheckUpdates b true
busctl set-property com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Manager UpdateMode t 5
busctl set-property com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Manager UpdateMode t 7
busctl call —system com.deepin.lastore /com/deepin/lastore com.deepin.lastore.Updater SetUpdateNotify b true

sed -i ‘’ ‘s/false/true/g’ /var/lib/lastore/config.json