The officially official Devuan Forum!

You are not logged in.

#1 2020-11-27 00:31:26

Registered: 2018-08-18
Posts: 2  

grub missing after update-upgrade to devuan 3

apt install update && apt install upgrade
and reboot the laptop I find the black screen with the grub> label.

I can access the distro after performing the following commands:
grub> set root=(hd1,gpt2)
grub> linux /boot/vmlinuz-*********** root=/dev/sda2
grub> initrd /boot/initrd.img-**********
grub> boot

I try to install-reinstall grub (as I was able to do on other occasions) by doing:
sudo update-grub (also tried sudo update-grub2)
sudo grub-install /dev/sda

But when I restart I get the grub> label again.


#2 2020-11-27 05:41:50

From: London
Registered: 2019-03-24
Posts: 1,594  

Re: grub missing after update-upgrade to devuan 3

The grub> prompt indicates that grub.cfg can't be found or that it does not contain any menuentry stanzas so check /boot/grub/grub.cfg (or post it here if you're not sure) and also run the set command from the prompt to list all the variables and find where GRUB is looking for the configuration file.

Another possibility is that this is a UEFI system and the firmware is loading the wrong NVRAM entry. Use the efibootmgr -v command to list all of the boot entries. Check for /sys/firmware/efi to confirm that the system is booted in UEFI mode. See … t_efivarfs if the NVRAM variables cannot be listed even if the box is booted in UEFI mode.

Black Lives Matter


Board footer