Let me
pour you some tea, pass the crumpets, and tell you about the time I decided to change the root shell on a Sun Ultra 60 to bash.
It was my first week at $LARGE_FAMOUS_SOFTWARE_COMPANY, and I could barely stand my own coolness. Full of youth and arrogance, and blissfully unaware of the depths of my own ignorance, I figured all the bleating about statically linked shells was nonsense. Besides, bash was so much freaking cooler than the lame old sh Sun was saddling me with. Also, real men logged in as root all the time because they never make mistakes.
So I downloaded and installed bash from Sunsite, vipw'd away, and of course decided to reboot the box because I was a Windows fool. It promptly refused to boot with a cryptic error message. The flip side of a large ego is that it is very fragile, and mine is no exception. I was too embarrassed to ask my colleagues or IT for help, so I embarked on a sweaty 11-hour misadventure to resolve the problem.
Sun machines of that era (and maybe later, I don't know) mounted a very minimal root filesystem with a small set of key binaries which included sh. That sh (probably Bourne, but I don't remember) was statically linked, and therefore completely self contained. The boot process would then execute a series of shell scripts to mount the other filesystems and do other initialization. I had been smart enough to move bash into the root filesystem, but not smart enough to find the libraries it dynamically loaded using
ldd(1). Had I done that, I would've discovered bash needed a bunch of files that were off in some other filesystem (probably /usr/local, I don't remember). The boot process would mount root, try to execute root's shell, and explode in midair when bash refused to run.
Careful partitioning of hard disks to prevent system downtime caused by full filesystems is somewhat of an anachronism nowadays. Heck, there are some that want to
put everything in one big filesystem. It's the modern way. The point is, make sure you know exactly what you're doing before you try changing root's shell.