System is stuck at the OK prompt | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

System is stuck at the OK prompt

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-21-2012
bluridge bluridge is offline
Registered User
 
Join Date: Feb 2007
Last Activity: 28 December 2012, 6:37 AM EST
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
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?

Thanks!
Sponsored Links
    #2  
Old 12-21-2012
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 24 October 2014, 3:14 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,469
Thanks: 8
Thanked 548 Times in 525 Posts
Recable?

There are procedures online: Recovering From Boot Problems - Solaris Volume Manager Administration Guide
Sponsored Links
    #3  
Old 12-22-2012
GP81 GP81 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 13 January 2014, 7:20 AM EST
Location: Warsaw, Poland
Posts: 65
Thanks: 0
Thanked 14 Times in 13 Posts
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.

Code:
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  
Old 12-28-2012
bluridge bluridge is offline
Registered User
 
Join Date: Feb 2007
Last Activity: 28 December 2012, 6:37 AM EST
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #5  
Old 12-31-2012
Martincorneuk Martincorneuk is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 17 October 2013, 9:48 AM EDT
Location: Coventry, England
Posts: 25
Thanks: 5
Thanked 1 Time in 1 Post
Quote:
Originally Posted by bluridge View Post

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....

Martin
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
System stuck up in maintanence mode manojsomanath Solaris 8 03-04-2011 09:19 AM
system won't start to GUI it stuck eykyn17 Solaris 7 11-14-2007 03:19 PM
System Specs in OK Prompt Pablo_BR UNIX for Dummies Questions & Answers 4 08-25-2005 06:32 PM
system get stuck on stand by mode dougpss Solaris 2 01-20-2005 10:54 AM
wiping system from ok prompt forbin24 UNIX for Dummies Questions & Answers 2 10-12-2004 05:03 PM



All times are GMT -4. The time now is 09:05 PM.