我从 20.04 升级到 Ubuntu 20.10。然后重新启动后显示“Initramfs 解包失败:解码失败”。
画面说:
[0.431776] Initramfs unpacking failed: Decoding failed
/dev/sad1:recovering journal
/dev/sda1: Clean, 277874/2191168 files, 3128076/8749824 blocks
[3.774884] Bluetooth: hci0: unexpected event for opcode 0xfc2f
[4.292226] pci 0000:08:00.1: can't change power state from D3cold to D0 (config space inaccessible)
[4.292272] snd_hda_intel 0000:08:00.1: can't change power state from D3hot to D0 (config space inaccessible)
[4.395874] hdaudio hdaudioC2D0: no AFG or MFG node found
[4.395889] hdaudio hdaudioC2D1: no AFG or MFG node found
[4.395900] hdaudio hdaudioC2D2: no AFG or MFG node found
[4.395908] hdaudio hdaudioC2D3: no AFG or MFG node found
[4.395917] hdaudio hdaudioC2D4: no AFG or MFG node found
[4.395925] hdaudio hdaudioC2D5: no AFG or MFG node found
[4.395934] hdaudio hdaudioC2D6: no AFG or MFG node found
[4.395943] hdaudio hdaudioC2D7: no AFG or MFG node found
[4.395946] snd_hda_intel 0000:08:00.1: no coded initialized
you are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.
Press enter for maintainance (or press Control-D to continue):
首先确保您在 BIOS 中禁用了安全启动。
Initramfs 无法压缩默认格式和解码中的消息错误。所以你需要更改为gzip。
打开终端并粘贴:
sudo gedit /etc/initramfs-tools/initramfs.conf
之后,找到 COMPRESS=lz4 并将其更改为 COMPRESS=gzip
完成后,单击右上角的保存并关闭此文件。
最后粘贴到终端:
须藤更新-initramfs -u
重启
...但是,您在紧急模式下的错误更为重要。你的 etc/fstab 是错误的,每次启动都检查磁盘浪费时间。似乎您的几个司机也没有得到很好的认可。