From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 14:57:08 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6C8916A4CE for ; Tue, 15 Feb 2005 14:57:08 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D2B43D46 for ; Tue, 15 Feb 2005 14:57:08 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq68-122.dial.allstream.net [216.123.128.122]) by outbox.allstream.net (Allstream MTA) with ESMTP id 360DC1EC3B0; Tue, 15 Feb 2005 09:57:32 -0500 (EST) Date: Tue, 15 Feb 2005 09:56:30 -0500 From: epilogue To: Jeff BSD Message-ID: <20050215095630.1f2caea7@localhost> In-Reply-To: <205376f105021420572470976@mail.gmail.com> References: <205376f105021420572470976@mail.gmail.com> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Broken shell - I can't login at all X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 14:57:09 -0000 On Mon, 14 Feb 2005 20:57:28 -0800 Jeff BSD wrote: > Hi- > I'm in the process of upgrading a 4.6 system to 5.3. When I boot the > machine it gets to: > > ---- > 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? hello jeff, please see if it will accept /rescue/sh (the statically compiled rescue binary) gl, epi > Jeff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >