> I installed bash2 from the ports collection, then made a symbolic link
> like
> ln -s /bin/sh /usr/local/bin/sh
You shouldn't do _this_. :) The default /bin/sh is good enough for
the daily jobs of a shell anyway (including a commandline editor,
and most of the Posix features), and much less bloated. Remember,
each system(3) library call will create an instance of this shell.
If at all, build a statically compiled version of bash, and install
this one.
Quote:> Now the computer won't boot.
Sure. /sbin/init wants to run ``sh -c /etc/rc''. But there's no
/usr yet...
Quote:> My questions is, how do I mount the root file system after
> booting up the boot floppy?
You don't need a boot floppy. :)
Quote:> mount -t <fstype> /dev/wd0
> I am not sure of the <fstype>, ...
...nor do you need the fstype at all (it's "ufs", for the curious).
But, you need to remember the -u option to mount(8) (update).
So now, boot your machine single-user, that's the -s option at the
boot: prompt. Once /sbin/init has been loaded, it will ask you for
the single-user shell, defaulting to /bin/sh. Since you don't have
this one, pick /bin/csh. ;-) Then, check your filesystems, and mount
them read/write:
fsck -p
mount -a -t local
If your only concern would have been to mount the root f/s read/write,
this is:
mount -u /
Btw., there's another instance of a /bin/sh available as /stand/sh.
But, _don't_ copy this one into /bin, instead make it a link. It's
the huge merged sysinstall binary, a megabyte-heavy thing. You don't
want multiple copies of it.
--
cheers, J"org
Never trust an operating system you don't have sources for. ;-)