The officially official Devuan Forum!

You are not logged in.

#1 2021-05-08 17:09:17

mclien
Member
Registered: 2020-02-29
Posts: 23  

Grub defect

Notebook of my son (tuxedo)

We can manually start it from grub, but something is off.

set prefix=(hd0,gpt4)
set root=(hd0,gpt4)
insmod linux
insmod normal
normal

what bothers me is this:

~# lsblk
NAME           MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda              8:0    0 931.5G  0 disk  
├─sda1           8:1    0    34M  0 part  /boot/efi
├─sda2           8:2    0   7.5G  0 part  
│ └─sda2_crypt 254:1    0   7.5G  0 crypt [SWAP]
├─sda3           8:3    0 923.9G  0 part  
│ └─sda3_crypt 254:0    0 923.9G  0 crypt /
└─sda4           8:4    0   156M  0 part  /boot

We havn't done that delibrate, but the sd4 and sda1 having a /boot part seems off.

It is running beowulf, freshly updated.

Any hints where to start fixing?

Offline

#2 2021-05-08 17:30:05

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,864  

Re: Grub defect

sda1 should be the efi partition, which appears to be correctly mounted at /boot/efi. Run blkid to prove to yourself that it holds a fat32 (vfat) filesystem.

I'm having trouble keeping up with the changes in grub's behavior over the last year or so, but I think you probably just need to remove grub-efi-amd64-signed. The unsigned package will remain. Run grub-install and update-grub afterward. This solution assumes you don't use secure boot.

If that doesn't work, ask again or poke around the forum for other solutions. (Hint: search for "set prefix")

Offline

Board footer