[Seek Help] 更新出错,无法更新initramfs,报错,重启无法进入登录界面
Tofloor
poster avatar
与风长舞的叶
deepin
2021-08-23 03:49
Author

update-initramfs: Generating /boot/initrd.img-5.12.14-amd64-desktop

/usr/sbin/mkinitramfs: 85: /usr/sbin/mkinitramfs: modinfo: Text file busy

/usr/sbin/mkinitramfs: 177: /usr/sbin/mkinitramfs: cp: Text file busy

/usr/sbin/mkinitramfs: 177: /usr/sbin/mkinitramfs: cp: Text file busy

/usr/sbin/mkinitramfs: 312: /usr/sbin/mkinitramfs: dirname: Text file busy

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 

    nor crypto modules. If that's on purpose, you may want to uninstall the 

    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 

    integration and avoid this warning.

/usr/share/initramfs-tools/hooks/kms: 146: /usr/share/initramfs-tools/hooks/kms: mkdir: Text file busy

E: /usr/share/initramfs-tools/hooks/kms failed with return 2.

update-initramfs: failed for /boot/initrd.img-5.12.14-amd64-desktop with 2.

dpkg: 处理软件包 linux-firmware (--configure)时出错:

 已安装 linux-firmware 软件包 post-installation 脚本 子进程返回错误状态 2

正在设置 linux-image-5.12.18-amd64-desktop (5.12.18-amd64-desktop-1) ...

Error! Bad return status for module build on kernel: 5.12.18-amd64-desktop (x86_64)

Consult /var/lib/dkms/nvidia-current/460.73.01/build/make.log for more information.

update-initramfs: Generating /boot/initrd.img-5.12.18-amd64-desktop

/usr/sbin/mkinitramfs: 76: /usr/sbin/mkinitramfs: modprobe: Text file busy

/usr/sbin/mkinitramfs: 85: /usr/sbin/mkinitramfs: modinfo: Text file busy

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries 

    nor crypto modules. If that's on purpose, you may want to uninstall the 

    'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs 

    integration and avoid this warning.

/usr/share/initramfs-tools/hooks/plymouth: 146: /usr/share/initramfs-tools/hooks/plymouth: mkdir: Text file busy

E: /usr/share/initramfs-tools/hooks/plymouth failed with return 2.

update-initramfs: failed for /boot/initrd.img-5.12.18-amd64-desktop with 2.

run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 2

fix systemd/logind config

正在生成 grub 配置文件 ...

找到主题:/boot/grub/themes/deepin-fallback/theme.txt

Found background image: /boot/grub/themes/deepin-fallback/background.jpg

找到 Linux 镜像:/boot/vmlinuz-5.12.18-amd64-desktop

找到 Linux 镜像:/boot/vmlinuz-5.12.14-amd64-desktop

找到 initrd 镜像:/boot/initrd.img-5.12.14-amd64-desktop

  /dev/sdb: open failed: 找不到介质

找到 Windows Boot Manager 位于 /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi

Adding boot menu entry for EFI firmware configuration

完成

dpkg: 处理软件包 linux-image-5.12.18-amd64-desktop (--configure)时出错:

 已安装 linux-image-5.12.18-amd64-desktop 软件包 post-installation 脚本 子进程返回错误状态 1

dpkg: 依赖关系问题使得 linux-image-deepin-stable-amd64 的配置工作不能继续:

 linux-image-deepin-stable-amd64 依赖于 linux-image-5.12.18-amd64-desktop;然而:

  软件包 linux-image-5.12.18-amd64-desktop 尚未配置。

 

dpkg: 处理软件包 linux-image-deepin-stable-amd64 (--configure)时出错:

 依赖关系问题 - 仍未被配置

正在处理用于 glx-alternative-mesa (1.2.0-1-1+eagle) 的触发器 ...

update-alternatives: 警告: 链接组 libGL.so-master 已损坏,故强制重新安装候选项 /usr/lib/mesa-diverted

update-alternatives: 警告: 跳过创建 /usr/lib/x86_64-linux-gnu/libEGL.so 因为所关联文件 /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so (位于链接组 libGL.so-master)不存在

update-alternatives: 警告: 跳过创建 /usr/lib/x86_64-linux-gnu/libGL.so 因为所关联文件 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so (位于链接组 libGL.so-master)不存在

update-alternatives: 警告: 跳过创建 /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so 因为所关联文件 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so (位于链接组 libGL.so-master)不存在

update-alternatives: 警告: 跳过创建 /usr/lib/x86_64-linux-gnu/libGLESv2.so 因为所关联文件 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so (位于链接组 libGL.so-master)不存在

正在处理用于 man-db (2.8.5-2) 的触发器 ...

正在处理用于 libc-bin (2.28.16-1+dde) 的触发器 ...

在处理时有错误发生:

 linux-firmware

 linux-image-5.12.18-amd64-desktop

 linux-image-deepin-stable-amd64

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

更新initramfs时,报错。

sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-5.12.14-amd64-desktop

/usr/share/initramfs-tools/hooks/btrfs: 202: /usr/share/initramfs-tools/hooks/btrfs: sed: Text file busy

E: /usr/share/initramfs-tools/hooks/btrfs failed with return 2.

update-initramfs: failed for /boot/initrd.img-5.12.14-amd64-desktop with 2.

 

Reply Favorite View the author
All Replies
Ziggy
deepin
2021-08-23 07:32
#1

是不是改过系统原厂efi?安全启动关了吗

Reply View the author
与风长舞的叶
deepin
2021-08-23 16:38
#2
Ziggy

是不是改过系统原厂efi?安全启动关了吗

没改过efi,安全启动关了

Reply View the author
uvz
deepin
2021-08-24 01:36
#3

能不能 卸载掉 initramfs , 这个东西是干嘛的呢

Reply View the author