2. Please add the below entry in menu.lst # vi /boot/grub/menu.lst #---------- ADDED BY BOOTADM - rootmirror ---------title Solaris rootmirror root (hd1,0,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive #---------------------END BOOTADM-------------------Note: Now when you reboot, you will be able to see "rootmirror" option in GRUB menu. After break the mirror you can chose "rootmirror" from GRUB menu to boot from the mirror disk. 3. Split off submirror: metadetach <mirror> <submirror> # metadetach d0 d20 # metadetach d1 d21 # metadetach d6 d26 4. mount the disk to be unencapsulated on mountpoint /mnt, perform normal Solaris Volume Manager unencapsulation steps: # vi /mnt/etc/vfstab file mounts for all root partitions, make sure that they reference the /dev/dsk and /dev/rdsk # vi /mnt/etc/system file and comment out the below entry *set md:mirrored_root_flag=1 5. Update boot path in /mnt/boot/solaris/bootenv.rc file: and change bootpath environment variable to reflect this "unencapsulated" disk # vi /mnt/boot/solaris/bootenv.rc setprop bootpath '/pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@1,0:a' setprop altbootpath '/pci@0,0/pci1022,7458@11/pci1000,3060@4/sd@0,0:a' NOTE: If you missed this step, when you boot from the mirror disk, the server will panic panic[cpu0]/thread=fffffffffbc22d40: cannot mount root path NOTE: If you are not sure what the physical path is that belongs in the above, It is recommended you run the following command to identify the physical device path: ls -la /dev/dsk/c#t#d#s# 6. install a boot block on the unencapsulated disk: (substitute correct /dev/rdsk... device above) # installgrub -fm /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/cxtxdxs0 Updating master boot sector destroys existing boot managers (if any). continue (y/n)?y stage1 written to partition 0 sector 0 (abs 16065) stage2 written to partition 0, 233 sectors starting at 50 (abs 16115) stage1 written to master boot sector
7. Update the boot archive in /mnt
# bootadm update-archive -R /mnt Creating ram disk on /mnt updating /mnt/platform/i86pc/boot_archive...this may take a minute # ls -l /mnt/platform/i86pc/boot_archive (ensure this is a new module) 8. unmount this disk from /mnt mountpoint before rebooting. 9. Boot from the mirror disk. # shutdown y g0 i6 In some cases the BIOS disk numbering may change, it may be due to when BIOS configuration is modified. Then you will be unable to boot from main disk and mirror disk. In such a condition, we need to check and modify the BIOS boot disk order. hd0 -> 1st bios disk hd1 -> 2nd bios disk Where hd is the GRUB device name for Hard Disk and 0 is the 1st BIOS disk. If the BIOS disk numbering got changed, when you boot the server You will get an error message similar like the below mentioned. root (hd1,0,a) Filesystem type unknown, partition type 0xbf kernel /platform/i86pc/multiboot Error 17: Cannot mount selected partition Press any key to continue...
REFERANCE Please go through the below mentioned link, which will explain "The New Bootloader for x86 Platforms" http://www.sun.com/bigadmin/features/articles/grub_boot_solaris.jsp