Wednesday, May 15, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2044  / 2 Years ago, sun, september 4, 2022, 3:55:01

I attempted to upgrade my Ubuntu 18.04 LTS to 20.04 this morning. After reboot, a symbol 'grub_file_filters' not found error was reported.


I googled and tried the two popular methods which I found, but none of them succeeded. The same error stuck every time I rebooted the system


The operations I applied are shown below, wish could help to find out the root cause and solution:




1. Repair by a livecd


My /boot is an independent partition so I mounted it as an extra step based on the solution what I found. The whole operations sequence is


% sudo su

% mount /dev/sdb3 /mnt
% mount --bind /dev /mnt/dev
% mount --bind /dev/pts /mnt/dev/pts
% mount --bind /proc /mnt/proc
% mount --bind /sys /mnt/sys
% mount /dev/sdb2 /mnt/boot

% chroot /mnt
% grub-install /dev/sdb
% update-grub

% exit
% umount /mnt/boot
% umount /mnt/dev/pts
% umount /mnt/dev
% umount /mnt/proc
% umount /mnt/sys
% umount /mnt

% reboot



2. Boot-repair


I doubt what this did is similar to the operation sequence in part 1. The whole log is a little bit long so I uploaded it to https://0bin.net/paste/aChHYcRK#h2E3oydL5mm6JxbVmBAOQgpKkax4nHHXuDCFgOm77qp




3. insmod


In the grub rescure console, I tried


grub rescure> insmod (hd1,2)/grub/i386-pc/linux.mod
error: symbol `grub_file_filters' not found.
grub rescure> ls (hd1,2)/grub/
./ ../ gfxblacklist.txt unicode.pf2 i386-pc/ locale/ fonts/ grubenv grub.cfg



Please kindly to help me, thank you!


More From » boot

 Answers
7

Problem solved. In BIOS I found the preset setup sequence is my Win10 (/dev/sda) -> Linux (/dev/sdb). Having reordered the sequence and put my Linux partition in the first, I can see the grub now.


[#822] Tuesday, September 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rofity

Total Points: 182
Total Questions: 98
Total Answers: 115

Location: Albania
Member since Sat, Jan 7, 2023
1 Year ago
rofity questions
Mon, Apr 25, 22, 12:28, 2 Years ago
Tue, Jul 5, 22, 16:53, 2 Years ago
Sat, Apr 8, 23, 05:32, 1 Year ago
Mon, May 10, 21, 22:51, 3 Years ago
Tue, May 17, 22, 02:46, 2 Years ago
;