Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-26-2003, 10:54 PM
|
#1
|
LQ Newbie
Registered: Apr 2002
Location: Rochester, NY, US...
Distribution: Mandrake...
Posts: 13
Rep:
|
initscripts gone, can't boot!
Hello,
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?
Thanks,
jdm
|
|
|
08-26-2003, 11:05 PM
|
#2
|
Member
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255
Rep:
|
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.
|
|
|
08-26-2003, 11:23 PM
|
#3
|
LQ Newbie
Registered: Apr 2002
Location: Rochester, NY, US...
Distribution: Mandrake...
Posts: 13
Original Poster
Rep:
|
Hi sikandar,
Yeah, I forgot the install CD had that rescue mode... This will work, thanks! Now back to messing with the kernel.....
-jdm
|
|
|
08-26-2003, 11:55 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
For Mandrake 9.1 its :
F1 (for advanced options)
Then type :
rescue
at the prompt.
|
|
|
08-26-2003, 11:58 PM
|
#5
|
LQ Newbie
Registered: Apr 2002
Location: Rochester, NY, US...
Distribution: Mandrake...
Posts: 13
Original Poster
Rep:
|
Oops...
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?
-jdm
|
|
|
08-27-2003, 10:44 AM
|
#6
|
LQ Newbie
Registered: Apr 2002
Location: Rochester, NY, US...
Distribution: Mandrake...
Posts: 13
Original Poster
Rep:
|
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?
-jdm
|
|
|
All times are GMT -5. The time now is 08:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|