Ghi*_*reS 5 upgrade initramfs 20.04 20.10
我从 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):
Run Code Online (Sandbox Code Playgroud)
首先确保您在 BIOS 中禁用了安全启动。
\nInitramfs 可以\xe2\x80\x99t 压缩默认格式和解码时消息错误。\n所以你需要更改为 gzip。
\n打开终端并粘贴:
\nsudo gedit /etc/initramfs-tools/initramfs.conf
\n之后找到COMPRESS=lz4,修改为COMPRESS=gzip
\n当\xe2\x80\x99s完成后,单击右上角的“保存”并关闭该文件。
\n最后粘贴到终端:
\nsudo update-initramfs -u
\n重启
\n...但是,您处于紧急模式的错误更为重要。你的 etc/fstab 是错误的,每次启动时检查磁盘都会浪费时间。\n而且你的几个驱动程序\xe2\x80\x99 似乎不能很好地识别。
\n