Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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