Solved

cannot boot sun sparc 5 with one good disk one bad disk

Posted on 2010-11-30
10
451 Views
Last Modified: 2012-05-10
I have an old sparc 5 with two hard drives in it. one would boot into sun os, and the second into solaris. the machine came with the sun os disk and it sits on the bottom, with the solaris disk above it.

i turned it on today for the first time in years and it won't boot. from the sounds, the bottom sun os hard drive is not coming up (i put them in one at a time to hear when it gave a bad noise).

i need to work in the slaris disk, but when i put that in the machine by itself, in the bottom bay, it still won't boot. we see the message "lookuppn failed. no such file or directory errno 2"

Any suggestions? is the sun os disk needed to boot solaris?
0
Comment
Question by:rich_tanenbaum
  • 3
  • 3
  • 3
  • +1
10 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
When you place it in, try to issue boot disk1 or boot disk0 depending on which you have it in.
The openboot is configured to boot of the first disk which is no longer functional.

You may need to look at the nvram to see which it is trying to boot first.  The other option is to get the Solaris install disks and reset/update the openboot configuration to point to the correct item.
use probe-scsi to see which scsi ID gets assigned.
Do not rember if the lower was scsi 0 and the upper was id 1 or whether the lower was 1 and the upper was 3.

at the ok prompt:
boot disk1 or boot disk0 should do the trick.

Are you using Solaris 8 I think this is the last version that is supported on the sparc 5.?


0
 
LVL 16

Expert Comment

by:Joseph Gan
Comment Utility
Did you get ok promb?

I remember for those old machines, boot command was "b" instead of "boot".
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
The issue the person likely has is that the openboot mechanism tries to load from the wrong disk, switching disks does not help since the Solaris path to boot the system differs from the SUNOS presumably pre 5.7
You should get an error during boot that a certain path can not be located.
0
 

Author Comment

by:rich_tanenbaum
Comment Utility
I put just the good disk in, in the upper bay. then i tried boot disk0 then boot disk1 etc. to boot disk4. nothing works.

same error as before, every time. nothing about a path.

not sure of which solaris it is, as it is quite old.
0
 
LVL 15

Expert Comment

by:roylong
Comment Utility
Get your install CDs out and reinstall?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 16

Expert Comment

by:Joseph Gan
Comment Utility
First to try when power on the system, using STOP-A to get to the ok prompt, then run

ok>prob-scsi-all

That should show you the internal disks aliases. If this doesn't work, go to the link below:

docs.sun.com/app/docs/doc/801-6396-11

The Sparcstation5 service manual contains some hardware testing commands as well as trouble shooting procedures.
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
You do not need to reinstall, you need to update the openboot to reference the correct device.

I think the primary disk must be in the lower bay.  The SCSI ID assigned by the bay so make sure that you do not have SCSI ID jumpers on the drive itself.

You can still get a solaris 8 disk if you need it from Oracle for $95.

There is the more complex @boot string
i.e. deals with bus/pci/to a point where you point the boot to the correct parition to boot the system i.e. /platform/sun4m/kernel or something like that.

Using the Install media you can repair the boot verus reinstalling.

You can also use the install cd to gain access to the data.  I.e. the step before the final instruction to install, exit and it should drop you into a shell prompt where you can use mount to mount the partitions from the drive to see wat is there as well as to run tests on the drive.
0
 

Author Comment

by:rich_tanenbaum
Comment Utility
I neglected to mention I tried prob-scsi, and it told me the good disk was dsk1. But it would still not boot off of it. There are no jumpers on either drive.
0
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
Comment Utility
Please try:

ok set-defaults
ok setenv auto-boot? false
ok setenv diag-switch? false
ok reset

ok probe-scsi

Use the disk to boot off.
0
 

Author Comment

by:rich_tanenbaum
Comment Utility
That's close to what worked. On another forum (sunrescue) we were at the same monebt advised to try:

ok set-defaults boot-file

and it worked.

Thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now