disaster recovery: I can't login
fbsd.questions at rachie.is-a-geek.net
Sat Apr 19 09:29:45 UTC 2008
On Saturday 19 April 2008 11:08:36 Dino Vliet wrote:
> Hi folks,
> Yesterday disaster struck after I wanted to remove Gnome and issued
> the following command:
> pkg_deinstall -R x11/gnome* -x evolution
> I went to sleep and when I woke up I rebooted and got the login
> screen iso my normal graphical GDM. I logged in as I normally do
> and thought I was logged in because I saw a line saying I had
> mail, but then the line below that one said:
> /usr/local/bin/bash was not found.
> As root I coudn't login as well, so I sat a while looking at my
> screen and looking for options.
And at this point, you should reboot the machine in single user mode. You can
then pick /bin/sh as the shell.
Problem with today's modular software: they start with the modules
and never get to the software part.
More information about the freebsd-questions