As the subject suggests, my laptop crashed during make installworld. The new kernel boots, but the ELF interpreter is not found and I cannot get to a single user prompt. What is the least painful way to proceed?
on 21/02/2011 10:04 David J Brooks said the following:> As the subject suggests, my laptop crashed during make installworld. The new > kernel boots, but the ELF interpreter is not found and I cannot get to a single > user prompt. What is the least painful way to proceed?My take would be an alternative bootable media: live CD or install CD or etc. -- Andriy Gapon
On Mon, 21 Feb 2011 18:56:36 +0200 Andriy Gapon <avg@freebsd.org> wrote:> on 21/02/2011 10:04 David J Brooks said the following: > > As the subject suggests, my laptop crashed during make installworld. The new > > kernel boots, but the ELF interpreter is not found and I cannot get to a single > > user prompt. What is the least painful way to proceed? > > My take would be an alternative bootable media: live CD or install CD or etc.Or, if the hard drive is easy to get at, and he has the a (S)ATA-to-usb dongle / dock; connect the hard drive to another FreeBSD machine and copy required files off that one. But first things first: does the old kernel still boot? (depending on how far in the process make installworld came, it might) HTH -- Regards, Torfinn Ingolfsen
On 2011-Feb-21 08:04:00 +0000, David J Brooks <freysman@comcast.net> wrote:>As the subject suggests, my laptop crashed during make installworld. >The new kernel boots, but the ELF interpreter is not found and I >cannot get to a single user prompt. What is the least painful way to >proceed?My first suggestion would be to boot the previous kernel. If that doesn't help, try specifying /rescue/sh as the single-user shell. If neither of those work, please specify the exact error message you get and the point where you get it (if you don't have a serial console available, post a link to picture of the screen showing the issue). -- Peter Jeremy -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110221/bc877bc2/attachment.pgp
>>On 2011-Feb-21 08:04:00 +0000, David J Brooks <freysman@comcast.net> wrote: >>As the subject suggests, my laptop crashed during make installworld. >>The new kernel boots, but the ELF interpreter is not found and I >>cannot get to a single user prompt. What is the least painful way to >>proceed? > >My first suggestion would be to boot the previous kernel. If that doesn't >help, try specifying /rescue/sh as the single-user shell.> > >If neither of those work, please specify the exact error message you >get and the point where you get it (if you don't have a serial console >available, post a link to picture of the screen showing the issue).I was able to boot the old kernel, but that didn't seem to help. Using /rescue/sh got me a usable prompt, and I was able to do a 'mount -a -t ufs' which got my hopes up, but trying to run 'make installworld' still gives me this: ELF interpreter /libexec/ld-elf.so.1 not found Abort trap I looked in /libexec and found ld-elf.so.1 and ld-elf.so.1.old I tried copying ld-elf.so.1 to ld-elf-so.1.new and .old to ld-elf.so.1 and rebooting the old kernel in hopes that it would work. No joy. Next I made a copy of the 8.2-RC# install disk and tried to do an upgrade in place. It was unable to backup /etc to /var/tmp/etc due to: ELF interpreter /libexec/ld-elf.so.1 not found Abort trap .. again. This happens pretty much anytime I try to execute a command that does not come from /rescue I really rather not do a clean install and lose all my configuration data, but it's increasingly looking like that may be my only option. David