The officially official Devuan Forum!

You are not logged in.

#1 2019-03-22 03:15:38

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

UEFI and NVME help

Greetings everyone. I've been working on this for a few days now and getting nowhere so hoping you can assist,

Performed a net install of beowulf using UEFI. Created my ESP (/dev/nvme0n1p1) and other partitions. The installer went off without any issues. Upon reboot I'm greeted with the grub CLI. I can manually tell grub where everything exists with the following:

set root=(hd0,gpt2)
linux /boot/vmlinuz-4.19.0-2-amd64 root=/dev/nvme0n1p2
initrd /boot/initrd.img-4.19.0-2-amd64
boot

Devuan boots right up and I get a working install. So I've tried to fix grub using the following commands:

grub-install /dev/nvme0n1
update-grub

I can confirm that the efi variables have been written and are set to the 0000 spot with:

efibootmgr --verbose | grep devuan

Upon reboot I'm still greeted by the Grub CLI. I've updated my bios to the latest provided by Lenovo for this T570. Has anyone had any luck getting UEFI to to work? I recall this laptop having issues in the past with Linux Mint but I don't recall what I did beyond the above steps. Thanks in advance for any suggestions!

****EDIT*****
Fixed grammar/spelling errors

Last edited by aut0exec (2019-05-03 12:44:45)

Offline

#2 2019-03-22 11:37:41

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

Re: UEFI and NVME help

Either install one of the unsigned kernels (e.g. linux-image-4.19.0-2-amd64-unsigned) or change the name of the bootloader directory from EFI/devuan to EFI/debian.

Offline

#3 2019-03-22 12:29:56

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Re: UEFI and NVME help

fsmithred wrote:

Either install one of the unsigned kernels (e.g. linux-image-4.19.0-2-amd64-unsigned) or change the name of the bootloader directory from EFI/devuan to EFI/debian.

Good sir.... If our paths ever cross, I owe you a beverage of your choosing!

I changed devuan to debian and I should've tried to reboot first but I went ahead and re-ran 'grub-install /dev/nvme0n1p1' and 'update-grub' but upon a reboot after that, I saw the wonderful grub menu!

Offline

#4 2019-03-22 18:35:53

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

Re: UEFI and NVME help

Forgot to mention this...

For uefi, the command is just grub-install. You don't need to tell it where to put the bootloader, because it knows to put it in the efi partition. And every time you run it, it'll make another devuan dir in your efi partition. If you want it to update the bootloader that's in the debian dir (i.e. the one you're actually using) run grub-install --bootloader-id=debian

And I suppose you could turn on secure boot now. I haven't tried that.

Offline

#5 2019-03-22 19:36:58

rolfie
Member
Registered: 2017-11-25
Posts: 1,060  

Re: UEFI and NVME help

The nvme SSD does not matter. ASCII also installs easily on nvme.

The issue is grub and efi with Beowulf, refer to https://dev1galaxy.org/viewtopic.php?id=2676.

Needs to be fixed in the installer.

Rolf

Online

#6 2019-03-23 02:23:36

aut0exec
Member
Registered: 2018-11-21
Posts: 81  

Re: UEFI and NVME help

rolfie wrote:

The nvme SSD does not matter. ASCII also installs easily on nvme.

The issue is grub and efi with Beowulf, refer to https://dev1galaxy.org/viewtopic.php?id=2676.

Needs to be fixed in the installer.

Rolf

Ahh.. My search terms were wrong.... That thread already answered the question! Thank you both for the information and helping to get the situation fixed.

Offline

Board footer