Fresh Slackware Current Lenovo X13 No Video on Boot with LUKS/LVM
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fresh Slackware Current Lenovo X13 No Video on Boot with LUKS/LVM
I have a Lenovo X13 (AMD Renoir) which has LUKS/LVM on the nvme
When using elilo on boot I can see the vmlinuz and initrd load and then the screen seems to "hang" however I know from experience the boot continues to the luks password input. If I put the password into the blank screen and continue I can successfully boot to the framebuffer initialization and then the screen comes back to command prompt.
I've never been able to figure out how to fix this in elilo so I'm using refind instead.
I thought I'd report it since others may have the issue in the future. This has been happening from 5.10 kernel forward.
This is a fresh install of current form June 11th.
The classic lilo can set up the screen resolution between the lilo prompt + kernel loading until something that I believe to be the drm initialization.
Maybe try to set that with elilo ?
I've searched high and low to find the proper vga or video options to input. I can find tons of information on lilo but not elilo
Any hints would be helpful!
Yep.. used the video= settings from there though they dont apply to BEFORE the LUKS prompt only after I enter it in blindly on the blank screen.
EDIT: My point really is after install and first boot noone is going to know they're at the prompt.. it just looks like the machine froze
lilo, elilo, grub, all have kernel append lines in their configs, where kernel parameters can be customized, including video parameters -- so the same parameters, once you know what they are for your hardware, are valid in all three boot loaders--just find the append line, and insert additonal kernel parameters between the quotes. The parameters for video on my pinebook are "video=eDP-1:1920x1080@60 video=HDMI-A-1:1920x1080@60 vga=current" which I supply to u-boot via a kernal append line in a file called /boot/extlinux/extlinux.conf--yet another boot loader, but same old kernel append line.
Last edited by slac-in-the-box; 06-18-2021 at 07:24 PM.
Reason: correction
Well metageek, adding in amdgpu into the initrd did fix it. No penguins but at least I get a prompt for LUKS password.
This probably isnt something that can be included in a default install but I guess someone looking to do a luks/lvm install with AMD may come across this thread and it may help them out.
I recompiled the kernel with those options with stock initrd and.. no joy.
I should also say with fbdev added in initrd also no joy
Adding amdgpu to this particular laptop allowed the display
I had a similar behavior with my Laptop Lenovo Ideapad 5, with CPU AMD Ryzen and GPU Radeon. I couldn't find a way to make it show the kernel boot messages after boot. I fould out (I don't remember the forum), that eLilo dones't support it.
In my case (and several others) we couldn't get the install media to boot, and if you did manage to get it installed somehow, elilo did some strange things during the boot (no penguins, etc).
The solution was to use grub, which worked perfectly! I now also use grub on the install media, as it was the only way I could get my laptop to boot the install disk!
I've now switched all my machines bar one (non-UEFI) over to grub. It was a bit of a learning curve, but Slackware makes it fairly easy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.