[SOLVED] lilo, BIOS vga mode, menu missing, Ryzen in a thinkpad, Slackware 15
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.
lilo, BIOS vga mode, menu missing, Ryzen in a thinkpad, Slackware 15
"A subject that accurately describes your problem will make your thread much more likely to get a quick response."
Anyway. I was on -current before and I had a lilo menu in red.
Congratulations all round though releasing 15.0, getting all those vanilla compiles to mesh together is wonderful. But I've lost that red menu block. I have just the one line lilo 24.2 prompt, which admittedly shows all my lilo labels if I press TAB which lets me use them.
I also had to append "mem=16G" to get lilo to work. This Lenovo Thinkpad BIOS (1.47, latest version, for model A285) has quirks.
"Boot loader will fall back to TEXT only operation", the VGA warning, and that's what it's doing. I think if I only used 4-bit shades it might work but the defaults use 8-bit.
Googling mutters about people in general ignoring it. I didn't get that warning with -current though.
The only other change I can see from the liloconfig skeleton is the initrd=/boot/initrd.gz I added, and LBA32.
My lilo has the default vga=standard still. There's supposed to be a way to display all acceptable vga modes at boot time but I've not managed that.
Ignoring grub, can anyone suggest what I might try in order to get my red menu back? It's trivial but it has me puzzled.
The way is "Trial & Error." You're on your own here.
There was something like 16 modes every card was supposed to have automatically. I don't know how many it is now. But there's a pile of 3 digit number choices you can stick in to lilo.conf
Code:
vga=791
used to be a standard one. Find out what you can put in (Lilo docs) find out which ones don't crash your box(trial & error) and post your winning recipe.
EDIT: On a newish box like that, you should have the all-pervasive UEFI along without a boot loader from the last millenium. Your distro, your rules, I know, but I'd suggest it. That's coming from someone who has BIOS issues getting out of legacy mode. And the Thinkpads always have quirks which may not be in the generic kernel.
Last edited by business_kid; 02-13-2022 at 11:34 AM.
I also had to append "mem=16G" to get lilo to work.
Try adding the 'large-memory' option to your /etc/lilo.conf
I always enable the 'lba32' and 'compact' options. I have never had hardware where there was a problem.
If you use 'vga=normal', the default BIOS settings are used, which will always work.
With 'vga=ask', you can see possible alternatives on your hardware.
I am happy to use the default Slackware LILO bitmap.
Okay. First off, this is what the BIOS appears to be telling me:
Code:
root@a285:~# lilo -T video
VGA adapter:
640x350x16 mode 0x0010
640x480x16 mode 0x0012
320x200x256 mode 0x0013
root@a285:~#
though none of those modes, or any other I tried, removes the "fall back to TEXT only" warning.
I have got back to my red boot rectangle, with all my labels, by removing every part of the lilo.conf relating to vga or bmp. All I have now, which works fine, is:
- the message.txt is empty. No warnings, boot screen as desired, I have no idea why the warning showed up this time, it wasn't there with 14.2-current. The initrd.gz is there because I'm using LVM/LUKS for encryption at rest.
I would write that with a space character between the initial double quote and the option as the kernel parses the append line as space delimited parameters.
Code:
append=" mem=16G"
Quote:
LBA32
That should be lower case.
Code:
lba32
I would still add a global option.
Code:
vga=normal
Quote:
image = /boot/vmlinuz initrd=/boot/initrd.gz
The "initrd=" is unnecessary as the huge kernel does not use an initrd.
Thank you allend, I've corrected those now. I still seem to need the initrd.gz with -huge, possibly because of luks encryption modules which might normally load that way. Dropping the root= line was a surprise.
I can now confidently add self-compiled kernels with my own edits, as a learning step. I'm sure it could be done with a grub2 configuration file but that's unfamiliar to me. My trivial compile script extends this working lilo.conf very easily now.
...I still seem to need the initrd.gz with -huge, ...
Yes. While huge handles most common scenarios without an initrd, there are still times when an initrd is needed. E.g., using kernel-huge, I'm still trying to figure out all the modules I need in the initrd to get a macbook pro booting from a USB flash drive!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.