help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UEFI grub devices wrong


From: Goh Lip
Subject: Re: UEFI grub devices wrong
Date: Fri, 17 Jan 2020 18:16:56 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1



On 2020-01-17 16:12, Felix Miata wrote:

grub rescue> insmod normal
error: symbol `grub_file_filters' not found.



On 2020-01-17 16:12, Felix Miata wrote:
) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)
> grub rescue> insmod normal
> error: symbol `grub_file_filters' not found.


normal.mod is only in bios-legacy grub, not used in uefi grubs.

Use any uefi grub (Ubuntu,Debian,Fedora, install media boot menu
grub....) and manually boot up Opensuse installed OS at its grub prompt.
You must use a uefi grub. You can check with "grub> echo $grub_platform"

grub> set root=(hd0,8) {or (hd1,9) or....}
{you can check with 'grub> ls (hd0,8)' and 'grub> cat
(hd0,8)/etc/os-release'}
grub> probe -u ($root) --set=abc
grub> ls ($root)/boot/
{this is to check your kernels, vmlinuz and initrd files}
grub> linux /boot/vmlinuz-x-xxx-default root=UUID=$abc ro
grub> initrd /boot/initrd-x-xxx-default
grub> boot

When booted, fix your fstab to the correct /boot/efi ($esp) UUID.
Mount it as /boot/efi
And do
sudo grub2-install
sudo update-grub

And you might have to (best do it anyways)
```
sudo cp /boot/grub2/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi
sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L "opensuseTW" -l
"\EFI\Manjaro\grubx64.efi"
```
Verify first your /boot/efi partition with 'findmnt /boot/efi' to be
sure you get the correct naming for your $esp partition.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]