The officially official Devuan Forum!

You are not logged in.

#1 2018-12-09 13:16:14

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hello all,

after upgrading Ascii to Ceres (in situ), all went well for a week or so. Last week, after an apt upgrade, the abovementioned Grub version was installed. This leads to a  Grub prompt after boot. Regress/fallback to Grub 2.02~beta3-5 does not help (Grub prompt). Anyone else experiencing same?

I have done the usual grub-install, update-grub stuff etc. with no (apparent) errors. See below -

LC_ALL=C  grub-install  --target=x86_64-efi --bootloader=devuan

Efibootmgr reports -

.
.
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0017,0018,0019,001A,001B,001C,001D,001E,001F,0020,0021,0022
Boot0000* devuan    HD(2,GPT,1c827e00-759b-4e15-b15d-6a271b180f3c,0x3a352800,0x168e800)/File(\EFI\devuan\grubx64.efi)
.
.

My EFI setup -

root@Pezenas:/Transit# ll /boot/efi/EFI/devuan/
total 1424
   8 drwx------ 3 root root    8192 Dec  9 10:57 .
   8 drwx------ 6 root root    8192 Dec  8 16:45 ..
   8 drwx------ 5 root root    8192 Dec  8 12:54 grub
   8 -rwx------ 1 root root    6028 Dec  9 10:54 grub.cfg
   8 -rwx------ 1 root root     157 Dec  9 10:54 grub.cfg.min
1376 -rwx------ 1 root root 1407904 Dec  9 09:48 grubx64.efi
   8 -rwx------ 1 root root    6028 Dec  9 10:57 .new

lsblk output -

root@Pezenas:/Transit# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1     259:0    0   477G  0 disk 
└─nvme0n1p1 259:4    0 465.7G  0 part 
  └─md0       9:0    0 931.1G  0 raid0 /
nvme1n1     259:1    0   477G  0 disk 
├─nvme1n1p1 259:2    0 465.7G  0 part 
│ └─md0       9:0    0 931.1G  0 raid0 /
└─nvme1n1p2 259:3    0  11.3G  0 part  /boot/efi

From the Grub prompt -

set pager=1
set root=(md/0)
linux /boot/vmlinux..... root=/dev/md0
initrd /boot/initrd...
boot

will bring the system up. For obvious reasons, I would prefer to avoid this. smile

It would seem I am not alone here -

https://lists.dyne.org/lurker/message/2 … f7.en.html

Any pointers much appreciated.

Johnnie390

Last edited by Johnnie390 (2018-12-09 14:11:56)

Offline

#2 2018-12-09 16:28:28

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

I haven't tried that yet, but I will let my ceres install take over the boot on this machine. Meanwhile, can you tell me how your grub directory got into the efi partition? The only file I have in any of the efi directories is grubx64.efi. My grub directory is a subdir of /boot, as it has always been.

Offline

#3 2018-12-09 17:43:52

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,409  

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

grub-efi-amd64  2.02+dfsg1-8 seems to  be working correctly here. I rebooted into my ceres install, checked that the grub version was right and ran grub-install --bootloader-id=nodbus && update-grub.

This installation is on a single partition. No raid, lvm or encryption.

Offline

#4 2018-12-10 06:57:32

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Thanks for the reply. Does not help me much though.

Irrespective of the grub directory being in the esp/efi.. tree, I am still stumped. Did you read the link I provided on other person's woes?

Regards,

Johnnie390

Offline

#5 2018-12-15 10:38:22

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hello all,

still landing in the grub prompt... Any pointers/ideas?

Regards,

Johnnie390

Offline

#6 2018-12-15 10:52:48

KatolaZ
Member
Registered: 2017-03-11
Posts: 79  

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hi,

there is a 2.02+dfsg1-9 in Ceres, which introduced a change to not enforce signature check if Secure Boot is disabled (as it seems to be the case here). Could you please try it?

HND

KatolaZ

Offline

#7 2018-12-15 11:12:35

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hello KatolaZ,

thank you. Will do and report back.

Regards,

Johnnie390

Offline

#8 2018-12-15 11:50:57

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hello all,

which package specifically (2.02+dfsg1-9) should be installed? There are quite a few in the Grub family.

Regards,

Johnnie390

Offline

#9 2018-12-15 13:16:30

Johnnie390
Member
From: EU
Registered: 2018-12-09
Posts: 16  
Website

Re: Devuan Ceres Grub 2.02+dfsg1-8 (EFI)

Hello all,

answering my own question here...

I uninstalled grub-efi-amd64-signed and re-ran update-grub. Now, no grub prompt. Things work.

Regards,

Johnnie390

Offline

Board footer