我把Ubuntu从19.04升级到19.10。升级没有出错,但在重新启动后,grub在启动时抛出一个错误,并进入rescu模式。
error: symbol 'grub_file_filters' not found.
Entering rescue mode...
grub rescue>这是一台物理机器,而不是virtualbox,我有windows和linux双引导。
我设法找到了我的linux上有ls的分区,但不知道下一步该做什么。
“不正常”失败时会出现相同的错误。
发布于 2019-10-26 14:16:56
一周前我也遇到了同样的问题。我通过从sourceforge下载开机修复盘来解决这个问题。如果您有合适的CD驱动器,您将需要制造一个可引导的USB密钥或CD。网上有很多关于如何做到这一点的指南。我希望你能进入一个你能做到的系统。你可以在Windows上做。
可以从grub救援提示符和grub提示符修复它。我第一次尝试了这个,但在网上找到的指南上没有成功。
祝好运
发布于 2020-07-12 12:35:32
在我的例子中,我有一个Xubuntu18.04VM,在升级到20.04之后,得到了grub错误。因此,我遵循了对这里的描述,这是针对Kali的,但是应该适用于任何Linux / grub安装:
# So we can run the next commands as `root`:
sudo su
# To figure which partition had my Xubuntu installation (partition type `Linux`)
# in my case it was `/dev/sda1`, we can use:
fdisk -l
# If you used a logical volume, your volume should be named `/dev/mapper/ubuntu--vg-root` and not `/dev/sdxx`
# Let's mount a few things:
mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
# Now let's try to fix Grub:
grub-install /dev/sda如果一切顺利,你应该看到这样的消息:
Installation finished. No error reported
# To change back chroot:
exit
# And now we can umount all:
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
# Now we can reboot:
reboot发布于 2019-11-08 00:54:29
我无法让boot-repair (或boot-repair-disk)工作,但通过从一个活跃的Ubuntu19.10usb启动、安装旧磁盘、输入chroot、运行grub-install和update-grub来修复这个问题。
还有这里有个发射台臭虫,它推荐这里描述的色度修复程序。
https://askubuntu.com/questions/1183951
复制相似问题