Solaris 8 booting from wrong device


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8 booting from wrong device
# 1  
Old 06-17-2008
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!
# 2  
Old 06-17-2008
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
# 3  
Old 06-17-2008
I actually have /pci@1f,0/pci@1/scsi@8/disk@0,0

not sure if it should disk or sd?
# 4  
Old 06-17-2008
sd did not work... got an error that cannot open boot device
# 5  
Old 06-18-2008
hi,

boot from net or cdrom, then mount c1t0d0s0 and edit the vfstab.
change c0t0d0s* to c1t0d0s*
# 6  
Old 06-18-2008
What taran says is correct. You need to do this. Btw Juha, I think you did a restore to this disk, correct?
# 7  
Old 06-18-2008
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... Smilie

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 Smilie

Anyway thanks for your tips!
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Red Hat

Device-mapper behaviour booting on init=bin/bash

Good morning Recently we needed to change the password from a redhat 6.5 system that no one knew the root password. Starting the system with the init=/bin/bash method took us to the following scenario: system_vg active with only root_lv and tmpfs mounted. our entries at fstab are like... (1 Reply)
Discussion started by: Ikaro0
1 Replies

2. Red Hat

This doesn't look like a partition table Probably you selected the wrong device.

Hi, I need to mount the device from this device # fdisk -l . . . Disk /dev/sdas: 2000.4 GB, 2000365289472 bytes 255 heads, 63 sectors/track, 243197 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size... (0 Replies)
Discussion started by: justbow
0 Replies

3. Solaris

Booting from wrong SCSI-disk. Error -256 Stack Underflow

Hi. I need to boot on Sun Blade 150 from scsi-disk, that ran on old Sun Ultra 10. It is necessary to take some the information from an old disk and something to study. The workstation is booted and I receive the following issue::mad: Sun Blade 150 (UltraSPARC-IIe 650MHz), No Keyboard (tip... (3 Replies)
Discussion started by: wolfgang
3 Replies

4. Solaris

What's wrong with my system? Solaris not booting.

Booting the 32-bit OS ... SunOS Release 5.7 Version Generic_106541-31 Copyright (c) 1983-2002, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: wz-ultra1 metainit: wz-ultra1: there are no existing databases The system is coming up. Please wait. checking ufs... (2 Replies)
Discussion started by: CollenM
2 Replies
Login or Register to Ask a Question