1828147 Members
2654 Online
109975 Solutions
New Discussion

boot problem

 
nash11
Frequent Advisor

boot problem

If the glibc rpm package ( glibc-2.3.2.xxx ) was erased by mistake in RH server , what is the method to rescue the OS , except re-install , could advise what is the best way ? thx
8 REPLIES 8

Re: boot problem

connect this machine harddisk to another similar machine as seconday harddisk and copy the files if you know what they are

else use the cd and do upgrade and select the packages manually and select glibc

these are the two methods i use if this happens.

-chakri
Ivan Ferreira
Honored Contributor

Re: boot problem

You can boot from the CD using "linux rescue", then re-install the package using:

rpm -ivh glibc-.rpm --root=/mnt/sysimage
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
nash11
Frequent Advisor

Re: boot problem

thx reply ,

but it seems can't boot into the rescue mode as the OS was crashed,
nash11
Frequent Advisor

Re: boot problem

thx reply ,

I can see the grub menu when boot , but I can't go to the single user mode as the OS crashed , could advise what can I do ? thx
nash11
Frequent Advisor

Re: boot problem

I still have another problem , once I boot with source disc and type the "linux rescue" , the system will search the scsi driver of the harddisk which is aic7xxx , but however it can't load it , so can't write something to the harddisk . if I can see the grub menu now , how can I make use of it to install back the rpm ? eg. go to the rescue mode , but the OS crashed now .

Rajeev  Shukla
Honored Contributor

Re: boot problem

That is the reason why after installation creation of rescue disk is recomended. If you had a rescue disk created you could boot the system into rescue mode with the filesystems mounted on /mnt and then from the Linux Installation CD you could install the glibc rpm.
If you have another similar system with same SCSI driver, then you can create a rescue disk and boot this system with it and give a try

Re: boot problem

hi,

as i suggested earlier, take the harddisk to another machine and connect it as seconday harddisk. copy the rpm file on that machine and do rpm -qpvl it will give you list of files installed by that rpm. copy all of them from the primary harddisk to secondary .i.e crashed machine HDD.

This should work
Vitaly Karasik_1
Honored Contributor

Re: boot problem

>I still have another problem , once I boot >with source disc ....

Try boot from the latest RH installation CD.
If you still don't see your scsi harddisk, probably you should use driver floppy from HP. Did you use driver floppy during server installation?