help-grub
[Top][All Lists]
Advanced

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

UEFI grub devices wrong


From: Felix Miata
Subject: UEFI grub devices wrong
Date: Fri, 17 Jan 2020 03:12:58 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.5

I've replaced a failed nvme stick by restoring from backup. I get only a grub
rescue> prompt:

grub rescue> set
cmdpath=(hd1,gpt1)/EFI/OPENSUSETW
prefix=(hd1,gpt7)/boot/grub2
root=hd1,gpt7
grub rescue>ls
(hd0) (hd1) (hd1,gpt16) (hd1,gpt15) (hd1,gpt14) (hd1,gpt13) (hd1,gpt12) 
(hd1,gpt11) (hd1,gpt10) (hd1,gpt9) (hd1,gpt8) (hd1,gpt7) (hd1,gpt6) (hd1,gpt5) 
(hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)
grub rescue> insmod normal
error: symbol `grub_file_filters' not found.

This is with only one storage device in the PC, empty DVD drive, no USB sticks
inserted, only the M.2 NVME stick. Why does it report (hd1) at all, much less
having all the partitions? On the partitions, everything is configured for hd0
being the only storage device.

This is openSUSE Tumbleweed's grub, but I'm not sure how old, so don't know
whether it's 2.02 or 2.04. When the original stick was created, the ESP had
been setup while 2.02 was installed. Since then, Tumbleweed has moved from
2.02 to 2.04.

Is it a BIOS failure? Software failure? Installation failure? What should I do?

# efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0003,0004
Boot0000* opensusetw    
HD(1,GPT,5b331d7f-9488-4df5-9eed-c7250696b833,0x800,0xa0000)/File(\EFI\OPENSUSETW\GRUBX64.EFI)
Boot0003* UEFI OS       
HD(1,GPT,5b331d7f-9488-4df5-9eed-c7250696b833,0x800,0xa0000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0004* UEFI: Optiarc DVD RW AD-7200S 
PciRoot(0x0)/Pci(0x17,0x0)/Sata(3,65535,0)/CDROM(1,0x4e8dd,0x7800)..BO

BIOS seems to match this well enough.

# parted -l
Model: ZTC-PCIEG3-128G (nvme)
Disk /dev/nvme0n1: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                        
Flags
 1      1049kB  337MB   336MB   fat32           M12P01 EFI System (ESP)     
boot, esp
 2      337MB   2174MB  1837MB  linux-swap(v1)  M12P02 Linux Swap           swap
 3      2174MB  2593MB  419MB   ext2            M12P03 Linux reservation
 4      2593MB  6787MB  4194MB  ext4            M12P04 Linux /usr/local
 5      6787MB  13.5GB  6711MB  ext4            M12P05 Linux /home
 6      13.5GB  26.7GB  13.2GB  ext4            M12P06 Linux /pub
 7      26.7GB  35.1GB  8389MB  ext4            M12P07 openSUSE Tumbleweed
 8      35.1GB  43.5GB  8389MB  ext4            M12P08 openSUSE 15.0
 9      43.5GB  51.9GB  8389MB  ext4            M12P09 openSUSE 15.1
10      51.9GB  60.3GB  8389MB  ext4            M12P10 Debian 10 Buster
11      60.3GB  68.7GB  8389MB  ext4            M12P11 openSUSE 15.2
12      68.7GB  77.0GB  8389MB  ext4            M12P12 Ubuntu 18.04 Bionic
13      77.0GB  85.4GB  8389MB  ext4            M12P13 LinuxMint 19 XFCE
14      85.4GB  93.8GB  8389MB  ext4            M12P14 Buster mini mini
15      93.8GB  102GB   8389MB  ext4            M12P15 Fedora 31
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



reply via email to

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