Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Today I've been trying to compile and set up a 2.6.0-test4-mm1 kernel on my Mandrake 9.1 system. I got it to compile alright, but had module problems on boot. I heard in a few places that the packages at http://supermount-ng.sourceforge.net/mdk-25/ may be necessary, so I downloaded them. I removed my old hotplug and initscripts packages and thought I had the new ones intstalled right, but apparently I didn't, because on reboot it couldn't find inittabs and I could not boot up. Now, is there any way to get in and fix this? I have no really important data on this machine, so a reinstall would not be terribly bad, but I'd like to avoid it if I can. I tried making a boot floppy from my other Mandrake 9.1 machine, but it wouldn't boot up for some reason. Any suggestions?
I used the linux rescue option with F5 key and was able to boot from linux RH9 CD. So just boot from CD and then you have to press F5 and then type "linux rescue" I hope it will solve your problem.
Sorry, I spoke too soon, I have another problem. After going into rescue mode, I can mount my existing partitions under /mnt, and I have access to all my data. Now I have rpm's for the stuff I accidentally removed, but I do not know how to go about installing them, since if I just do:
rpm -i initscripts-XXXX
It gives errors like:
error: cannot open Packages index using db3 - No such file or directory (2)
error: cannot open Packages database in /var/lib/rpm
What do I need to do to get it to install as if I had been able to boot up normally?
So basically what I'm asking is: is it possible to install an RPM onto the system when I can't boot it, and my only access to the system is mounting it under /mnt when in rescue mode?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.