Boot mirror on x86 systems

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Tue Jan 17 2006 - 09:55:30 EST


Dear managers,

> one part of setting up a boot mirror with disksuite is to go to the ok
> promt and do something like
>
> ok printenv
> ok nvalias bootdisk /pci@1c,600000/scsi@2/disk
> ok nvalias mirrdisk /pci@1c,600000/scsi@2,1/disk
> ok setenv boot-device disk0 disk1 net
> ok boot
>
> However as I learned from google there is no OBP on x86 systems. What
> do I have to do to make the system boot from the second disk (if the
> first fails), except setting the boot order in the BIOS (provided I
> have done all the usual metattach stuff)? Or is this already
> sufficient?

There is another difference between SPARC and x86. On SPARC machines we
usually do

        installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c2d0s0

to bring bootable code on the mirror disk. I learned that on x86 one
should use

        installboot /usr/platform/`uname -i`/lib/fs/ufs/pboot
/usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c2d0s2

instead. However, this is no longer working with Solaris 10 01/06. I
googled and found the following command

        /sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2
/dev/rdsk/c2d0s0

but this gives me

        Solaris partition not found. Abort operation.

What am I missing?

Regards,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:33 EDT