i googled this for you... hope will be help full for you.. .....................................
On Tue, 15 Feb 2005 14:34:46 +0100, Ruben de Groot <ruben at jail2.bzerk.org <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>> wrote: >* *>* Hi, *>* *>* On Mon, Feb 14, 2005 at 08:57:28PM -0800, Jeff BSD typed: *>* > Hi- *>* > I'm in the process of upgrading a 4.6 system to 5.3. When I boot the *>* > machine it gets to: *>* *>* How are you doing the upgrade? There are some specific steps about *>* upgrading from 4.x to 5.x all the way down in /usr/src/UPGRADING. *>* Also, I believe only upgrades from 4-STABLE are supported, so since *>* 4.6 is pretty old, you probably should upgrade in 2 steps: 4.6 -> *>* 4-STABLE followed by 4-STABLE -> 5.3 (This counts for source upgrades, *>* not binary upgrades) *>* *>* > ---- *>* > init: bin/sh on /etc/rc terminated abnormally, going to single user *>* > mode *>* > Enter root password, or ^D to go multi-user *>* > Password: *>* > ---- *>* > *>* > I enter the password, then: *>* > *>* > ---- *>* > Enter full pathname of shell of RETURN for /bin/sh: *>* > pid # (sh), uid 0: exited on signal 12 *>* > init: bin/sh on /etc/rc terminated abnormally, going to single user *>* > mode *>* > Enter root password, or ^D to go multi-user *>* > Password: *>* > ---- *>* > *>* > Round and round I go. *>* > *>* > Sounds like I broke /bin/sh to me. I've messed around in safe mode *>* > but I can't see how I can use it to possibly fix my problem, assuming *>* > I did do anything to /bin/sh (which I don't think I did - *>* > intentionally/directly that is). *>* > *>* > How do I fix it so I can boot it? A bit of the chicken and the egg, *>* > what? *>* *>* Yes, it sounds like the easiest way for you would be to boot from a 5.3 *>* installation CD and just do a binary upgrade. The problem is you now *>* have a mixed 4.6/5.3 system with out-of-sync binaries, libs and kernel *>* and there really isn't much fun in trying to troubleshoot that. *>* *>* If you want to continue down this road, there is a chance that you can at *>* least get a working shell by entering /rescue/sh on the above "Enter full *>* pathname of shell of RETURN for /bin/sh:" prompt. From there you can use *>* other tools from /rescue (if they were allready installed before your *>* system got hosed) to try and finish the installworld *>* *>* G'luck *>* *>* Ruben *>* *>* * Thanks all- Turned out I was booting the wrong kernel (new kernels are in /boot/kernel/... duh!) Took me hours to figure that one out. As always, upgrading provides a unique learning experience. Your advice was useful and appreciated however. Jeff .......................................... mustafa On 10/26/05, freebsdug <[EMAIL PROTECTED]> wrote: > > Hi ! I am having a problem in FreeBSD server. last one month it was > working fine but right now at the startup time it is asking me > > "Enter full pathname of Shell or RETURN for /bin/sh : " > > The way I solved it 1st time is not working now. > > My solution was > 1. At the boot startup I entered in safe mode (3) > 2. command used #fsck > Manually fixed it > > 3. command used # init 0 > > 4. Again at the boot startup I pressed F2 > 5. command used # -s > 6. Username: root & Password: ;-) not now > > after that it was working fine last two hours > > Again getting same error in below after restart the server > > " Enter full pathname of Shell or RETURN for /bin/sh : " > > Could you please tell me what is the permanent solution. > > > Thanks & Regards, > > Moshiur Rahman Khan > Alcatel Bangladesh > > > > > > > > > > To unsubscribe send a blank mail to: > [EMAIL PROTECTED] > > > ------------------------------ > YAHOO! GROUPS LINKS > > > - Visit your group "bdlug <http://groups.yahoo.com/group/bdlug>" on > the web. > - To unsubscribe from this group, send an email to: > [EMAIL PROTECTED]<[EMAIL PROTECTED]> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------ > -- Sky is the Limit ! [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/hYOolB/TM --------------------------------------------------------------------~-> To unsubscribe send a blank mail to: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/bdlug/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
