[SOLVED] Run level 4 configuration fails after slackpkg upgrade-all
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Run level 4 configuration fails after slackpkg upgrade-all
I chose to use all old configuration files and keep the new ones. But after reboot, I got bunch of hardware configuration error and I cannot even login saying:
INIT: cannot execute "/etc/rc.d/rc.4"
Welcome to Linux 126.96.36.199 (tty1)
(none) login: root
Unable to determine your tty name
I remember that I made runlevel 4 the default in /etc/inittab so that it can bring up login manager directly after reboot but the upgrade doesn't recognized the configuration file correctly hence the tty problem. How can I fix the problem? I assume I can use boot disk to fix the problem, but I don't know how. Please help.
Last edited by ethereal1m; 04-22-2010 at 11:54 AM.
At the lilo screen, select the name of what you wish to boot, then hit the Tab key.
Press the space bar one time, then type "init 3" - without the quotes.
After booting, issue startx. You should be able to fix your configs easily then.
I can boot using boot disk and mount my hard drive from that point but I don't know how to restore my system. How can I incoperate my new configuration files (from slackpkg upgrade-all) with my old configurations? I was upgrading from 13.0 64 into current (I assume upgrade-all installs "current").
Did you ever try booting into runlevl 3 as was suggested above? I've never tried it so I can't tell you if it works or not. You could try mounting your installed system, editing /etc/inittab so it goes into runlevel 3 and try it that way. From there it's hopefully as easy as what I posted in the code tags.