Eug*_*msc 24 grub2 grubrescue 19.04 19.10
我将 Ubuntu 从 19.04 升级到 19.10。升级没有错误,但重启后 grub 在启动时抛出错误并进入 rescu 模式
error: symbol 'grub_file_filters' not found.
Entering rescue mode...
grub rescue>
Run Code Online (Sandbox Code Playgroud)
它是一台物理机而不是虚拟机,我在双引导下有 windows 和 linux。
我设法用 ls 找到了我的 linux 所在的分区,但真的不知道下一步该做什么。
insmod normal 失败并出现相同的错误
yor*_*rch 22
就我而言,我有一个 Xubuntu 18.04 虚拟机,升级到 20.04 后,出现了 grub 错误。所以我遵循了这里描述的内容,这是针对 Kali 的,但应该适用于任何 Linux / grub 安装:
使用 Ubuntu / Xubuntu ISO Live 进入实时模式(我使用 Ubuntu 20.04,因为我已经在我的电脑中下载了它)。
进入后,我打开一个终端并运行:
# 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
# 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
Run Code Online (Sandbox Code Playgroud)
如果一切顺利,您应该会看到一条消息,内容如下:
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
Run Code Online (Sandbox Code Playgroud)
小智 14
遇到了同样的问题,通过在终端启动 19.10“救援”USB 密钥来解决:(sda您的磁盘在哪里,磁盘sda1上的分区在哪里。)
$ sudo mount /dev/sda1 /mnt
$ sudo grub-install --root-directory=/mnt /dev/sda
Run Code Online (Sandbox Code Playgroud)
小智 6
我无法boot-repair(或boot-repair-disk)工作,但设法通过从实时 Ubuntu 19.10 USB 启动、安装旧磁盘、输入chroot并运行grub-install和来解决此问题update-grub。
这里有一个启动板错误,它推荐了此处描述的 chroot 修复程序。
| 归档时间: |
|
| 查看次数: |
58188 次 |
| 最近记录: |