In order to recover from some problems, you will need to boot single user from CDrom.
On SPARC systems with Openboot PROMs, this is done through:
ok boot cdrom -s
On all systems, you can boot an interactive installation in the window system and escape to a shell window. This method has the advantage of usually mounting your filesystems under /a.