lilo -v hangs...
good day everyone,
I have been upgrading my slackware -current box regularly and flawlessly. Last night I left my box upgrading and when i woke up this morning i tried to call /sbin/lilo and it hangs on this message: Quote:
This is my laptop and this is my "uname -a" and "/etc/lilo.conf" respectively: Code:
bash-5.0# uname -a Code:
# LILO configuration file Could any kernel expert advise me on this? will slackware boot normally? Thank you in advance |
Quote:
https://docs.slackware.com/howtos:sl...out_the_kernel In particular, pay attention to the part in the yellow box. Quote:
Tip: You can use LILO to make a menu for kernels to boot. I generally keep a stanza for old kernels in lilo.conf, so that the system will boot in the event that a new kernel doesn't work properly. This is shown in bold below. Change your lilo.conf to look like this: Code:
boot = /dev/sda Quote:
Code:
# lilo |
Quote:
Would it make a difference at the next boot whether I have 1 label or 12 new&old kernel labels on lilo.conf, if I still can't run /sbin/lilo? Would I not have a kernel-panic message or a complete black screen at the next boot without even starting the bootloader? If lilo would not run the first time why should it run after just adding a few lines to /etc/lilo.conf? In fact, i tried anyway, and result: still hanging! Code:
bash-5.0# lilo Did I miss your point? |
Quote:
|
Quote:
I tried to run the lilo setup running pkgtool from root console. Lilo setup also hangs at Quote:
I really would like to know how this happened from 'slackpkg upgrade-all' but I am more interested to know if anyone has some hints on whether (and/or how) I will be able to reboot my box? Thanks |
UNREAL!
I solved the problem! It seems that my external 2TB HHDD was causing conflicts. I guessed it after running 'fdisk -l'; I noticed that it reads my internal HHD layout but hang again reading the external USB HHDD. Once I disconnected the USB hard drive lilo run beautifully. |
Quote:
The instructions are on the screen which appears at the LILO prompt of the installer: "Welcome to Slackware64 version 15.0 (Linux kernel 5.4.35)! If you need to pass extra parameters to the kernel, enter them at the prompt below after the name of the kernel to boot (e.g., huge.s). In a pinch, you can boot your system from here with a command like: boot: huge.s root=/dev/sda1 rdinit= ro In the example above, /dev/sda1 is the / Linux partition." Emphasis added. Glad you fixed it. |
@rkelsen, just an FYI, you don't *need* lba32, because lilo defaults to using it. The warning states that "LBA32 addressing assumed". Adding it does remove the warning, but that's about it.
|
lilo -v hangs...
Yeah, I know, but I hate being nagged. ;)
|
All times are GMT -5. The time now is 03:59 AM. |