[Share Experiences] 自己试着解决 update-initramfs -u 出错问题
Tofloor
poster avatar
mongnewer
deepin
2022-04-05 07:51
Author

下面这段内容是我从论坛上扒下来的,因为我的问题非常类似但没及时记录下来。

update-initramfs: Generating /boot/initrd.img-5.12.9-amd64-desktop
/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.

setupcon is missing. Please install the 'console-setup' package.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
I: The initramfs will attempt to resume from /dev/nvme0n1p6
I: (UUID=bdfd51a8-931a-4987-af08-b083ea8606c1)
I: Set the RESUME variable to override this.

问题一:没安console-setup,apt search 找,找到了安上。
问题二:cryptsetup-initramfs,自己用的机器不需要加密这东西,sudo apt remove掉。
问题三:RESUME设置,可能是我调整分区删除swap重建后它没有了,sudo nano /etc/initramfs-tools/conf.d/resume, 然后加一行 RESUME=UUID=e9b1cede-1104-4bec-9d3d-e18460d6cca4,就是swap分区的UUID。

错误不出了,继续用,用不下去时删了重装。一路走来,dos, windows, 数不清重装了多少次,deepin安上就没重装过,挺知足的。

Reply Favorite View the author
All Replies
jjcui8595
deepin
2022-04-05 13:39
#1

感谢分享

Reply View the author
andktan
deepin
2022-04-05 15:36
#2

like

Reply View the author
mongnewer
deepin
2022-04-06 02:15
#3
andktan

like

谢谢朋友!学习的路上只管前行无需过份纠结,哪一天回头再看时或许问题不再是问题了。

Reply View the author
mongnewer
deepin
2022-04-06 02:15
#4
jjcui8595

感谢分享

thanks

Reply View the author