$ sudo update-grub2 Generating grub configuration file ... Found theme: /boot/grub/themes/deepin/theme.txt Found background image: /boot/grub/themes/deepin/background.jpg Found linux image: /boot/vmlinuz-5.10.5-amd64-desktop+ Found initrd image: /boot/initrd.img-5.10.5-amd64-desktop+ Found linux image: /boot/vmlinuz-5.4.70-amd64-desktop Found initrd image: /boot/initrd.img-5.4.70-amd64-desktop Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi Found Kali GNU/Linux Rolling on /dev/nvme0n1p6 Adding boot menu entry for EFI firmware configuration done
重启……
还是很慢,不过好歹 swap 挂载上了,休眠功能可用。
再进 tty
mdadm: No arrays found in config file or automatically
这条报错还在。
继续搜索如何解决,得到的答案是重新生成 initramfs 。
$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.10.5-amd64-desktop+ 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. W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_gpu_info.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ta.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sos.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_ta.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_asd.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_rlc.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_mec2.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_mec.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_me.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_pfp.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_ce.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_rlc.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec2.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_me.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_pfp.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ce.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_sdma.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sdma.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_vcn.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_vcn.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_smc.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu W: Possible missing firmware /lib/firmware/amdgpu/green_sardine_dmcub.bin for module amdgpu I: The initramfs will attempt to resume from /dev/nvme0n1p5 I: (UUID=3391ba57-2b68-4edf-9ebc-1a314c082e4a) I: Set the RESUME variable to override this. live-boot: core filesystems devices utils udev blockdev dns.
好眼熟,装 Deepin 的时候就有类似的输出。
重启……
开机速度正常啦 (≧▽≦)/
$ systemd-analyze Startup finished in 12.088s (firmware) + 3.415s (loader) + 7.980s (kernel) + 10.615s (userspace) = 34.101s graphical.target reached after 10.603s in userspace
评论