*BSD News Article 93524


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!arclight.uoregon.edu!nntp.kreonet.re.kr!xfer.kren.nm.kr!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /bin/sh -> /usr/local/bin/bash won't boot
Date: 14 Apr 1997 09:53:52 GMT
Organization: Awfulhak Ltd.
Lines: 33
Message-ID: <5isurg$5j7@ui-gate.utell.co.uk>
References: <3350EBA5.26EB8E3B@airmail.net>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39052


In article <3350EBA5.26EB8E3B@airmail.net>,
	Phil Crown <pcrown@airmail.net> writes:
> 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" ?

> 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 :)

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !