*BSD News Article 93550


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!posgate.acis.com.au!news.can.connect.com.au!news.syd.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!EU.net!news-peer.sprintlink.net!news.sprintlink.net!sprint!howland.erols.net!ais.net!uunet!in1.uu.net!140.142.64.3!news.u.washington.edu!news.alt.net!newspost1.alt.net!usenet
From: Dan Odom <daniel@thelonious.spidome.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /bin/sh -> /usr/local/bin/bash won't boot
Date: 14 Apr 1997 10:30:54 -0500
Organization: Altopia Corp. - Affordable Usenet Access - http://www.alt.net
Lines: 33
Message-ID: <87wwq539ld.fsf@thelonious.spidome.net>
References: <3350EBA5.26EB8E3B@airmail.net>
X-Newsreader: Gnus v5.4.37/XEmacs 19.15
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39065

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
> 
> Now the computer won't boot.

It sounds like your /usr partition isn't mounted when something wants
sh.  My advice is to let /bin/sh be and just use chsh to change your
personal shell to bash.

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

Just mount /dev/wd0 / should do it (I think).

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

-- 
Daniel Odom | product designer | PGP key available via finger
"Without going out of your door, you can know the ways of the world.
Without peeping through your window, you can see the way of heaven.
The farther you go, the less you know." -- Tao Te Ching chapter 47