Ubuntu 18.04 在启动时显示以下错误:
Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
按照以下说明操作这里并从 GRUB 菜单中选择旧内核进行登录。运行时sudo update-initramfs -u -k 4.15.0-76-generic
,我收到以下错误:
update-initramfs: Generating /boot/initrd.img-4.15.0-76-generic
/bin/cpio: 1: /bin/cpio: Syntax error: Unterminated quoted string
/bin/cpio: 1: /bin/cpio: Syntax error: Unterminated quoted string
E: amd64-microcode: failed to create or prepend the early initramfs to the initramfs
/usr/share/initramfs-tools/hooks/zz-busybox-initramfs: 28: /usr/share/initramfs-tools/hooks/zz-busybox-initramfs: /usr/lib/initramfs-tool/bin/busybox: Exec format error
/bin/cpio: 1: /bin/cpio: Syntax error: Unterminated quoted string
E: mkinitramfs failure find 141 cpio 2 gzip 0
update-initramfs: failed for /boot/initrd.img-4.15.0-76-generic with 1.
按照以下指示另一个答案,我尝试使用 livecd 进行相同的操作,但出现了与上述相同的错误。
现在我甚至无法从 GRUB 菜单中的旧内核登录。它说Loading initial ramdisk