GRUB 找不到根文件 Ubuntu 20.04

GRUB 找不到根文件 Ubuntu 20.04

刚刚尝试使用最新的 Ubuntu 全新安装我的计算机,但它立即带我进入 grub。我的分区保存在 (hd0,msdos5) 中。我做了以下分配:

grub> set root=(hd0,5)
grub> linux /boot/vmlinuz-5.4.0-29-generic root=/dev/sda5
grub> initrd /boot/initrd.img-5.4.0.29-generic
grub> boot

但启动后我收到消息说放弃等待根文件系统设备.然后警告!/dev/sda5 不存在。转到 shell!然后我想我就被困在灰烬中了。

我真的不知道该怎么办,因为我以前从未遇到过这种问题

相关内容