Netra T1 200 with Solaris 8 02/02 installed, w/o cdrom attached, two
disks are mirrored using SDS4.2.1 and /usr is partitioned. Both passwd and
shadow were corrupted and no previous backup, opasswd or oshadow were
As a result, the system is not able to be coming up, it reports:
! no such user as root, adm, sys,lp, etc.
I tried to boot into single user mode from install server:
boot net -s mount /dev/dsk/c0t0d0s0 /a
then, created the passwd from scratch: root::0:1:root user:/:/sbin/sh
(only this single entry, I think it is sufficient to bring the system up.)
But after reboot, it reports: missing or bad passwd entry for root.
I booted into single mode from net again, found that the passwd file was
empty, where is the entry I entered before?
Is it because the root file system is managed by volumn manager? or I
did not mount as read-write mode? or I should recreate the shadow file as
well and how to sync from passwd to shadow file?
Please advise me on the correct steps to take in this case. Your help in
this matter will be greatly appreciated.