Dual boot Solaris and Windows 7

Dual booting Solaris and Windows 7 is just like dual booting Solaris and anything else, you just specify the correct entry in menu.lst to boot. Windows 7 installs two partitions: a WinRE recovery and the normal “holds everything” partition. My grub entry is set to boot off the WinRE partition since that is what it was booting from the beginning when I installed Win7. Here’s what my menu.lst looks like:


title Solaris Express Community Edition snv_121 X86
findroot (pool_pool1,2,a)
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive


title Windows
rootnoverify (hd0,0)
chainloader +1

findroot has now been replaced by root() to support ZFS filesystems. It still has the same syntax almost, you just specify what disk,partition. root() is still recommended for Windows systems though. You can see my poolname is “pool1″ and it boots partition #2. Win7 is using the first partition on the disk. And then installgrub is still the same:


# installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0

Simple stuff.

Leave a Reply