recover root password

need help Trying to halt the initial bootup using STOP +A and the trying ok boot cdrom -s " FATAL: system is not bootable, boot command is disabled."How can i solve this ...using Solaris installation CD Thanks,simer
[264 byte] By [simi2ka] at [2007-11-27 1:30:16]
# 1

> need help

>

> Trying to halt the initial bootup using STOP +A and

> the trying

>

> ok boot cdrom -s

>

> " FATAL: system is not bootable, boot command is

> disabled."

>

> How can i solve this ...using Solaris installation CD

>

>

> Thanks,

> simer

In fact, The most convenient place to find help is google.

{1} ok boot

FATAL: system is not bootable, boot command is disabled

(1)ok printenv

........

{1} ok setenv auto-boot? false

auto-boot? = false

{1} ok reset-all

SC Alert: Host System has Reset

{1} ok setenv auto-boot? true

auto-boot? = true

{1} ok boot

.......... lots of output ........

volume management starting.

The system is ready.

xxxxxx console login:

love_ninia at 2007-7-12 0:31:06 > top of Java-index,General,Maintenance...
# 2
thanks for replyI allready did that but still when I run boot cdrom -s getting the same error" FATAL: system is not bootable, boot command is disabled."Is there anything else i can do-simer
simi2ka at 2007-7-12 0:31:06 > top of Java-index,General,Maintenance...
# 3

You are seeing that error because you are halting the system in such an abrupt fashion,

that it requires you to perform "repairs" to whatever caused the abrupt interruption.

That "cause" just happened to be you in this instance.

Change autoboot to `false` and reset the system.

It will automatically reboot and stop at OBP.

If necessary, immediately do another reset.

Then you can boot from the optical drive and perform whatever repairs

you deem necessary to the filesystem(s) and files.

Once the system is repaired, you then reset auto-boot to `true`, again.

rukbata at 2007-7-12 0:31:06 > top of Java-index,General,Maintenance...
# 4
Thanks, I am now able to boot cdrom -sbut now i have edited the /etc/shadow file (to recover root)even after editing I am not able to login as root (without password as I have removed the encrypted part)what might be causing this any Ideas
simi2ka at 2007-7-12 0:31:06 > top of Java-index,General,Maintenance...
# 5
if you have a user on the system whose password you know, copy that over to the roots encrypted password field
irua at 2007-7-12 0:31:06 > top of Java-index,General,Maintenance...