[rescue] Making Solaris 10 boot after the boot device has changed

velociraptor velociraptor at gmail.com
Sat Dec 23 17:15:38 CST 2006

On 12/23/06, Micah R Ledbetter <vlack-lists at vlack.com> wrote:
<snipped boot woes>

My tactic in this situation would be to give the system a full boot
path from the OK prompt:

boot -rs /path/to/c0t2d0s#

You're not getting the right links in /dev/rdsk after the read-only
boot because the system is still looking for the disks in the wrong

Booting with the -r flag will cause the system to rebuild the device
tree before it goes interactive in the boot process (this doesn't
happen automagically--that's why devfsadm is there, as is the -r
flag). Booting will probably still fall to maintenance mode after this
b/c of the vfstab being borked, but at that point you should be able
to mount them manually and fix them.

Alternatively, you could boot off the CD, mount /etc/, change the
vfstab, mount / and create the file /reconfigure, then @ the OK prompt
change the nvalias which identifies the boot disk and reboot.

(See <http://www.princeton.edu/~unix/Solaris/troubleshoot/bootseq.html>
for details on the Solaris boot sequence.)

And you're right, it would be silly to reinstall Solaris because of this. :-)


More information about the rescue mailing list