*BSD News Article 93813


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newsout1.alt.net!news1.alt.net!news-in.iadfw.net!pcrown.net!news.veng.com!not-for-mail
From: Phil Crown <pcrown@airmail.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /bin/sh -> /usr/local/bin/bash won't boot
Date: Thu, 17 Apr 1997 22:40:16 -0500
Organization: RedHat Linux v4.1
Lines: 40
Message-ID: <3356ED20.5DA7772@airmail.net>
References: <3350EBA5.26EB8E3B@airmail.net> <5isurg$5j7@ui-gate.utell.co.uk>
NNTP-Posting-Host: dal34-11.ppp.iadfw.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.27 i486)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39266


Brian Somers wrote:
> > I installed bash2 from the ports collection, then made a symbolic link
> > like
> >
> > ln -s /bin/sh /usr/local/bin/sh
> 
> Do you mean "ln -s /usr/local/bin/bash /bin/sh" ?

yes, thanks... :-)

> 
> > Now the computer won't boot.
> 
> ;O
> 
> > My questions is, how do I mount the root file system after
> > booting up the boot floppy?
> .
> > mount -t <fstype> /dev/wd0
> >
> > I am not sure of the <fstype>, I could look in /etc/fstab, but I have to
> > be mounted first to do that! :-)
> 
> "mount /dev/wd0a /mnt".
> 
> You don't need to do this.  Just type "-s" at the boot prompt, and when
> it asks you for your shell, type "/bin/csh".
> 
> At the next prompt, do "mount -u /" and "mount /usr".  I hope you
> didn't *remove* the shell :)

ok, its fixed now, the biggest problem is that the computer is 1200
miles away, so I was not sure who/how it would actually get fixed.

It apparently was sitting at the boot prompt and was able to mount the
root file system and fortunately I did "mv /bin/sh /bin/sh.orig" first.
:-)

-- 
Phil Crown  pcrown@airmail.net  http://web2.airmail.net/pcrown/