Boot failsafe mode.
On a SPARC system:
ok boot -F failsafe |
On an x86 system, select failsafe mode from the GRUB prompt.
Mount the ZFS BE on /a when prompted:
. . . ROOT/zfsBE was found on rpool. Do you wish to have it mounted read-write on /a? [y,n,?] y mounting rpool on /a Starting shell. |
Change to the /a/etc directory.
# cd /a/etc |
If necessary, set the TERM type.
# TERM=vt100 # export TERM |
Correct the passwd or shadow file.
# vi shadow |
Reboot the system.
# init 6 |