Re: /bin/sh terminated abnormally

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: Mon, 16 Feb 2004 17:49:03 -0500
At 5:49 PM -0500 2/10/04, Didier wrote:
>I upgraded 4.8 to FreeBSD4.9 Release
>
>ran
>- make buildworld
>- make buildkernel KERNCONF=MYKERNEL
>- installkernel KERNCONF=MYKERNEL

I assume you mean 'make installkernel' there.

>rebooted to single mode ...now I am getting the following
>error messages:
>
>Terminated abnormally. going to single user mode, enter full
>pathname of shell or RETURN for /bin/sh:
>
>I hit enter and kept getting this line,  tried /bin/tcsh ...
>I still can't get the prompt ... can you help please

At this point, I think you first have to reboot to your previous
kernel.  To do that, reboot again.  Press the space bar (or
something other than enter) so you get into the boot-loader.
If you have the newer boot-screen, there is a menu option
which will get you into the boot loader.

Once you are in the boot-loader, type:
     unload
     load /boot/kernel.old/kernel
     boot

That should get you up on the old kernel.  Assuming that works,
the first thing you should do is:
     cd /boot
     mv kernel kernel-BAD
     mv kernel.old kernel

-- 
Garance Alistair Drosehn            =   gad_at_gilead.netel.rpi.edu
Senior Systems Programmer           or  gad_at_freebsd.org
Rensselaer Polytechnic Institute    or  drosih_at_rpi.edu
Received on Mon Feb 16 2004 - 13:49:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC