System is stuck at the OK prompt

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Operating Systems Solaris System is stuck at the OK prompt
# 1  
System is stuck at the OK prompt

Here is a little background. We have a V240 server that has two disks mirrored (out of 4 disks) and one of the disk complained when booting up. The system complained with /etc/inittab file is truncated or corrupted, cannot create /ar/adm/utmpx failed write of utmpx entry.

Someone tried to fix this problem by removing the mirrored root disk and tried booting up the system. I believe with mirrored disks you cannot do that and must break the mirror to remove. Or at least boot up to the other mirrored root disk before breaking the mirror.

The system boots up in the ok prompt with the original mirrored disk and I cannot get it to boot to the other mirrored disk. I have ran the devalias and used this path to create nvalias altboot path and rebooting the box. But I still come up with the ok prompt.

am trying to boot to the other mirrored disk but have failed to get to that point. Whoever build thi box provided me with a Gold Disk and this is what was used in place of the root disk but I do not think the mirror was broken up before using this Gold Disk...thus think we may have a stale system.

Any ideas on how to boot up in the other mirrored disk?

# 2  
# 3  
Maybe boot block is not installed on the second drive?
If it is not installed then boot from cdrom into single user mode and install boot block.
ok boot cdrom -s
# /usr/sbin/installboot /usr/platform/
`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/cxtxdxsx

And then try to boot from the second drive.
# 4  
Thanks for the help! I have thought about the boot block maybe not being installed on the second drive. I thought with mirroring the boot block would be on the second drive because after all the root drive has the boot block installed so this would be replicated over to the second mirrored disk. I did not want to make it worse by running the installboot command. Also with the error messages showing /etc/inittab truncated or corrupted...this does not sound like a boot block issue?

The last file executed before the system boots up is /etc/inittab so does that mean the boot block was successfully executed if I coem to the ok prompt?

I am stil not able to figure out why we are getting this error on the /etc/inittab execution. If you have any ideas please throw them out!

I am trying to locate a Solaris 8 boot cdrom and try to boot in single user mode and copy over the default /etc/inittab file and see if this helps.
# 5  
Originally Posted by bluridge

The last file executed before the system boots up is /etc/inittab so does that mean the boot block was successfully executed if I coem to the ok prompt?
I'm no genius but..... Your machine would come to the ok> prompt with no disks in it.... OBP sits beneath the OS and is totally independant of it so the bootblk isn't a factor in getting to the ok> .... :0/

What are you using to mirror the disks SDS/SVM or VxVM?

By rights there should be no need to break the mirrors neatly.... The whole point of mirroring them is to protect against a catestrophic failure in a disk.... Which you would have created by pulling one of them.... I'd have thought both should be bootable, you need to be absolutely sure the boot paths for rootdisk & rootmirror are correct, it's easy to miss a slice or somesuch....

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #8
Difficulty: Easy
macOS is based on the Unix operating system.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Unable to move from rsc prompt to ok prompt

Hi, on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies

2. UNIX for Dummies Questions & Answers

How to Change the % prompt to - prompt in UNIX?

how to Change the % prompt to - prompt in unix :wall: ---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ---------- How To display the last modification time of any file in unix ---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies

3. Solaris

System stuck up in maintanence mode

Hi All, I got a big problem here. While setting up a sun cluster, I accidentally tried out "bootadm update-archive" as I was unable to bring the cluster up. After which, i tried a reconfiguration reboot. Now The system is always booting into maintanence mode with error message... (8 Replies)
Discussion started by: manojsomanath
8 Replies

4. Solaris

Can't bring E25K system controller to OK prompt

Hi, Due to some changes at our company, we lost the password for the root and sms-svc account on the primary system controller (E25K). We connected a serial console to the system controller but we never managed to break the session to bring it to the OK prompt. (tried: ~#, ~ b, ~, , a b,... (9 Replies)
Discussion started by: Solarius
9 Replies

5. Solaris

How to change the system prompt and BG of terminal?

Hi all, I was wondering how to change the PS1 to my liking? I tried changing it using PS1='my choice' it worked but the subsequent terminals i open will not have it as the default PS1 ,how do i change it? also i am running as super user, and i need to exec bash, to get the bash environment...... (4 Replies)
Discussion started by: wrapster
4 Replies

6. Solaris

system won't start to GUI it stuck

Hi. I got this message in our sun station and it stuck Setting default IPv4 interface for multicast: add net 224.0/4: gateway pecsun22 but i can still telenet the station... who could i fix this.. appreciate your help (7 Replies)
Discussion started by: eykyn17
7 Replies

7. UNIX for Dummies Questions & Answers

System Specs in OK Prompt

Hello to all! In the OK prompt, which command should I use to see RAM memory, CPU, and disks partition and capacity? I have in my hands an ancient Ultra5 machine, which Im trying to install Solaris, but don't know if the configuration is the original one. Thanks! (4 Replies)
Discussion started by: Pablo_BR
4 Replies

8. Solaris

system get stuck on stand by mode

Hi Im using a Sun blade 1500 with solaris 8 and when the monitor goes to stand by mode, the machine doesnt return to the normal mode anymore. Then i have to reboot it always. Does anybody have a clue how can i solve it or turn off the stand by mode? Thanks (2 Replies)
Discussion started by: dougpss
2 Replies

9. UNIX for Advanced & Expert Users


I have been busy reading away on devices and filesystems and I am stuck on a particular subject matter.. I'm not understanding the concept behind mknod mkfifo makedev or related commands.. can anyone shed some light on the subject.! any feedback welcome! moxxx68 (0 Replies)
Discussion started by: moxxx68
0 Replies

10. UNIX for Dummies Questions & Answers

wiping system from ok prompt

So last week I posted about my system that will not completely boot. It reports a bad trap and reboots in an endless cycle. I'm at a point where I just want to wipe the system clean, reload the software and basically start from scratch. I can interrupt the boot cycle and get to an ok prompt.... (2 Replies)
Discussion started by: forbin24
2 Replies

Featured Tech Videos