Link to home
Start Free TrialLog in
Avatar of locster73
locster73

asked on

Solaris won't boot

Hi i am getting this message when I am booting the Solaris machine.

Type control-d to proceed with normal startup,
(or give root password for system maintenance):
ENTER RUN LEVEL (0-6, s or S) [3]:

INIT: Cannot create /var/adm/utmpx
Unfortunately the last admin guy left and I don't have the root password to do fsck -y

can someone help me to fix this issue?
Avatar of arnold
arnold
Flag of United States of America image

You have to use the install media to boot the system.
Then drop into the shell.
One in the shel, you have to know what the setup was on the system:
Did it use individual partitions or did it use metadevices.


http://sunsolarisadmin.blogspot.com/2007/03/how-to-reset-root-password-in-sun.html

echo "<password>" | perl -e '$test="$_"';chomp($test);print  scalar crypt($test,"f4")."\n";'
The result is the encrypted password you provided which you can enter into the old shadow file.
ASKER CERTIFIED SOLUTION
Avatar of Amol
Amol
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial