Re: ld-linux broken



In comp.os.linux.misc Bob Tennent <BobT@xxxxxxxxxxxxx>:
On Thu, 30 Mar 2006 08:00:38 +0200, Michael Heiming wrote:
In comp.os.linux.misc Bob Tennent <BobT@xxxxxxxxxxxxx>:
An attempted downgrade of glibc from 2.3.6 to 2.3.5 (because of network
problems) using rpm --oldpackage has gone badly wrong. If I try and start
anything, even ls, I get

-bash: /bin/ls: /lib/ld-linux.so.2: bad ELF interpreter: No such file
or directory

Can the system be rescued?

Sure, boot from rescue CD/etc and "relocate" packages using rpm.

Thanks. Unfortunately the system is located a few thousand miles away
in my daughter's residence, so I'm going to ask you to verify that I'm
interpreting your suggestion correctly: boot from a rescue CD, fsck the
partitions (the box had to be switched off), mount the partitions, cd to
where the RPMs are, and then do

rpm -U --noscripts --replacepkgs --relocate /=<root mountpoint> rpms

Looks not that bad, albeit I'd test this on a similar system
locally to be sure. You'd perhaps need to tell rpm where the rpmdb
of the actual system is.

It may be easier to just upgrade to FC5. Would an upgrade fsck dirty
partitions automatically?

Mh, see above.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 228: That function is not currently supported, but
Bill Gates assures us it will be featured in the next upgrade.
.



Relevant Pages

  • Re: ld-linux broken
    ... boot from rescue CD/etc and "relocate" packages using rpm. ... partitions, mount the partitions, cd to ...
    (comp.os.linux.misc)
  • SYSTEM RUNNING SLOW !
    ... My HDD's RPM may not be same, ... does it affect system boot time if RPM of both drives are ... 2HDDs & 2CD drives with the IDE ports of the motherboard ... connected as primary master & 2ndary master or as primary ...
    (microsoft.public.windowsxp.hardware)
  • SYSTEM RUNNING/BOOTING SLOW...
    ... My HDD's RPM may not be same, ... does it affect system boot time if RPM of both drives are ... 2HDDs & 2CD drives with the IDE ports of the motherboard ... connected as primary master & 2ndary master or as primary ...
    (microsoft.public.windowsxp.hardware)
  • SYSTEM RUNNING/BOOTING SLOW !!
    ... My HDD's RPM may not be same, ... does it affect system boot time if RPM of both drives are ... 2HDDs & 2CD drives with the IDE ports of the motherboard ... connected as primary master & 2ndary master or as primary ...
    (microsoft.public.windowsxp.general)
  • Re: Transferring Windows OS from IDE to SCSI
    ... >>> my extant 7200 RPM 20GB IDE drive. ... >> try booting the clone on the SCSI drive, ... >> drive and it will detect the install and ask if you want to ... >> Symantec SystemWorks Pro 2003 off ebay, using the ghost off that. ...
    (comp.sys.ibm.pc.hardware.storage)