Page MenuHomeSolus

Lightdm failed at boot after installing nvidia driver.
Closed, ResolvedPublic

Description

Lightdm failed at boot after installing nvidia driver. On intel everthing ok. I have thinkpad with optimus.
Driver installed by DoFlicky.

levelast@levelast-thinkpad ~ $ inxi -G
Graphics:  Card-1: Intel Device 5916
Card-2: NVIDIA GM107M [GeForce GTX 950M]
Display Server: X.Org 1.18.4 drivers: modesetting,nouveau (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.03hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
GLX Version: 3.0 Mesa 17.0.4

Event Timeline

levelast created this task.Apr 18 2017, 4:34 PM

It looks like you might not be booting into the latest kernel (where only the latest kernel will have the nvidia driver module). What's does this show

uname -a; eopkg info linux-lts | head -n 2

If you boot from a non Solus controlled bootloader, it will need to be updated

It looks like you might not be booting into the latest kernel (where only the latest kernel will have the nvidia driver module). What's does this show

uname -a; eopkg info linux-lts | head -n 2

If you boot from a non Solus controlled bootloader, it will need to be updated

You are right.

Linux levelast-thinkpad 4.9.18-10.lts #1 SMP Sun Mar 26 15:44:05 UTC 2017 x86_64 GNU/Linux
Installed package:
Name                : linux-lts, version: 4.9.22, release: 17

But how can i update kernel info from a non Solus controlled bootloader? update-grub doesn't work for Solus =(.

OK you're booted in Solus right now under a GRUB system, so:

sudo clr-boot-manager update

You'll retain the new kernel and current kernel, however it'll now build the /vmlinuz and /initrd.img links.
Then you should be able to update-grub from the other distro.

levelast added a comment.EditedApr 19 2017, 5:07 PM
In T3330#59198, @ikey wrote:

OK you're booted in Solus right now under a GRUB system, so:

sudo clr-boot-manager update

You'll retain the new kernel and current kernel, however it'll now build the /vmlinuz and /initrd.img links.
Then you should be able to update-grub from the other distro.

Thanks for fast reply. But...

levelast@levelast-thinkpad ~ $ sudo clr-boot-manager update
Password: 
[FATAL] cbm (src/bootman/update.c:L85): Cannot determine boot device

Are you using UEFI?

Run sudo CBM_DEBUG=1 clr-boot-manager update

In T3330#59223, @ikey wrote:

Are you using UEFI?

Yes.

In T3330#59224, @ikey wrote:

Run sudo CBM_DEBUG=1 clr-boot-manager update

levelast@levelast-thinkpad ~ $ sudo CBM_DEBUG=1 clr-boot-manager update
Password: 
[INFO] cbm (src/bootman/bootman.c:L437): Current running kernel: 4.9.18-10.lts
[DEBUG] cbm (src/bootman/bootman.c:L124): UEFI boot now selected (goofiboot)
[INFO] cbm (src/bootman/update.c:L75): Checking for mounted boot dir
[FATAL] cbm (src/bootman/update.c:L85): Cannot determine boot device

I added right /boot partition (EFI system) in /etc/fstab and everything works.

levelast closed this task as Resolved.May 6 2017, 5:05 PM