So I'm upgrading from FreeBSD 7.2 to FreeBSD 8.0 and after a while I get to the part where you have to rebuild all 3rd party applications (stuff from the ports tree or those compiled from source). I do that, invoke freebsd-update install one last time and reboot.

It turns out that bash requires an old libncurses version which is fine except that I completely forgot about rebuilding bash! Furthermore, I did not heed the usual warning on keeping root's default shell sh. (Like what can happen, right? Ha!) So I've learned a lesson about heeding warnings.

Now, however, I need to learn if I'm screwed or if there's some way to get out of this. Thanks.

link|improve this question

55% accept rate
1  
Do you have a live CD to boot with, then chroot into your FreeBSD's /, and then either set root shell to sh or rebuild bash? – chronos Dec 5 '09 at 21:21
Good idea; definitely worth a try. Why not put it as an answer and get some rep? If it works, you'll get 25 from me alone. – gvkv Dec 5 '09 at 22:44
feedback

1 Answer

up vote 5 down vote accepted

Can't you boot in single user mode? It asks for the shell path and defaults to /bin/sh.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.