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.
After updating my Slackware-current installation yesterday I encountered a strange problem. Since the kernel was updated too, I proceeded to rerun the lilo command, but it stalled with no output to the terminal. I waited for about half an hour and tried to kill it, but it wouldn't die after a Ctrl+C, I had to close the terminal. Next time I ran strace lilo to see where it gets stuck. Turns out, it tries, for some unknown reason, to open /dev/hda, which is a CD-ROM drive in my Dell Inspiron 5100. The hard drive is /dev/hdc, and everything seems to be right in the /etc/lilo.conf file.
After trying some tricks, unsuccessfully, like manually giving different options to lilo in the command line, I finally sort of solved the issue by renaming /dev/hda into /dev/hdaOLD, running lilo (which now worked as usual) and renaming it back again.
There's no CD in the drive. lilo worked perfectly fine before, and it's the same version 22.8. I'm quite confused about what happened. Could anyone provide some ideas?
Strange. The only thing I could suggest is to pass the -v option (or -v 5 for complete verbosity) to lilo to see what's going on. All of my LILO installs have been successful, so I'm not the best for LILO troubleshooting (but my system is very simple with only one SATA hard drive and one IDE DVD drive, with no dual-boot setup). Some others with more experience may be able to help you further. It does seem like a strange problem.
Are you positive that your hard drive is an IDE and not SATA hard drive (hence /dev/hdc)?
Strange. The only thing I could suggest is to pass the -v option (or -v 5 for complete verbosity) to lilo to see what's going on. All of my LILO installs have been successful, so I'm not the best for LILO troubleshooting (but my system is very simple with only one SATA hard drive and one IDE DVD drive, with no dual-boot setup). Some others with more experience may be able to help you further. It does seem like a strange problem.
That's what I tried to do with strace. It stalled at something like
stat64("/dev/hda",
and hanged at it forever. But it shouldn't have been trying it in the first place...
Quote:
Are you positive that your hard drive is an IDE and not SATA hard drive (hence /dev/hdc)?
Yes, it's an old laptop, circa 2003...
By the way, after an update, everything is back to normal again. So, it might have been a temporal glitch connected somehow to the very update procedure.
Thanks for your interest. It does seem like a strange problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.