The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun Solaris Ultra 10 Not booting! turki_00 SUN Solaris 12 01-15-2008 11:42 AM
Solaris m/c not booting lydiaEd SUN Solaris 1 12-13-2007 04:03 AM
What's wrong with my system? Solaris not booting. CollenM SUN Solaris 2 12-08-2006 04:22 AM
error booting solaris 10 deepak1 UNIX for Dummies Questions & Answers 5 12-21-2005 04:00 AM
booting problems on solaris lealyz UNIX for Advanced & Expert Users 10 08-13-2002 01:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-17-2008
Registered User
 

Join Date: Sep 2006
Posts: 28
Solaris 8 booting from wrong device

Hi,

I'm trying to boot solaris 8 box and it seems to boot off from wrong device:

Code:
ok boot -s
Boot device: /pci@1f,0/pci@1/scsi@8/disk@0,0:a  File and args: -s
SunOS Release 5.8 Version Generic_108528-20 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
ifconfig: plumb: hme0: Bad file number
moving addresses from failed IPv4 interfaces: hme0 (couldn't move, no alternative interface).
 Hostname: myhost
/dev/dsk/c0t0d0s1: No such device or address
The / file system (/dev/rdsk/c0t0d0s0) is being checked.
Can't open /dev/rdsk/c0t0d0s0
/dev/rdsk/c0t0d0s0: CAN'T CHECK FILE SYSTEM.
/dev/rdsk/c0t0d0s0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

WARNING - Unable to repair the / filesystem. Run fsck
 manually (fsck -F ufs /dev/rdsk/c0t0d0s0). Exit the shell when
done to continue the boot process.


 Type control-d to proceed with normal startup,
(or give root password for system maintenance):
However when I boot from cdrom I get the following:

Code:
# echo | format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@1f,0/pci@1/scsi@8/sd@0,0
How can I get the server to boot from correct device?

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 06-17-2008
Registered User
 

Join Date: Nov 2006
Posts: 260
go to your ok prompt do a devalias
and compares if any boot device alias has /pci@1f,0/pci@1/scsi@8/sd@0,0 in it.

If there isnt. Do a nvalias and map a new alias boot3(whatever) to /pci@1f,0/pci@1/scsi@8/sd@0,0

do a man on devalias
do a man on nvalias
Reply With Quote
  #3  
Old 06-17-2008
Registered User
 

Join Date: Sep 2006
Posts: 28
I actually have /pci@1f,0/pci@1/scsi@8/disk@0,0

not sure if it should disk or sd?
Reply With Quote
  #4  
Old 06-17-2008
Registered User
 

Join Date: Sep 2006
Posts: 28
sd did not work... got an error that cannot open boot device
Reply With Quote
  #5  
Old 06-17-2008
Registered User
 

Join Date: Apr 2008
Location: Frankfurt a.M.
Posts: 38
hi,

boot from net or cdrom, then mount c1t0d0s0 and edit the vfstab.
change c0t0d0s* to c1t0d0s*
Reply With Quote
  #6  
Old 06-18-2008
Registered User
 

Join Date: May 2008
Location: s'pore
Posts: 898
What taran says is correct. You need to do this. Btw Juha, I think you did a restore to this disk, correct?
Reply With Quote
  #7  
Old 06-18-2008
Registered User
 

Join Date: Sep 2006
Posts: 28
Hi,

editing the vfstab did the trick... however I still can't boot up the server, I can run fsck when booting from CD, but when I try to boot the server to single user mode without CD it boots up and goes into maintenance mode, but does not let me ctrl+D or type the root password... it just hangs...

I didn't restore the disk, it was just one very old disk that I would have needed. I've never had such a problem before

Anyway thanks for your tips!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0