Assume the system is boot up on a ZFS root using the old mountroot setup.
Remove the following entries in /etc/system:
(delete from /etc/system) rootfs:zfs zfsroot:rootpool/rootfs
BFU to snv_62+.
Copy /boot/grub/menu.lst to your top level rootpool filesystem since that is where GRUB will read the menu.lst from:
# mkdir -p /rootpool/boot/grub (assuming rootpool is mounted on /rootpool) # cp /boot/grub/menu.lst /rootpool/boot/grub
Edit /rootpool/boot/grub/menu.lst to include an entry for booting up your ZFS root filesystem:
title Solaris ZFS bootfs rootpool/rootfs kernel$ /platform/i86pc/kernel/unix -B $ZFS-BOOTFS,console=ttya module$ /platform/i86pc/boot_archive
Install the new bootloader, assuming ZFS rootpool is on c0d0s3:
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s3
Reboot. Remember to change the boot device in BIOS to where the rootpool is and select your ZFS Boot entry from the GRUB menu.
Page Last Modified: 10 Apr 2007
Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | HelpYour use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.Copyright © 1995-2008 Sun Microsystems, Inc.