Solaris Vista Dual Boot Revisited
By moinakg on Apr 20, 2007
There was another thread of discussion on OpenSolaris Discuss on the Vista Dual boot issue and that prompted me to re-look at the problem. The Bcdedit dance is much too cumbersome and none of the Shareware GUIs around Bcdedit make much sense. The complete discussion thread is here:
After some digging it boiled down to the Windows DiskID being the critical factor here. You can read all about the Windows MBR DiskID or Signature here:
In fact folks are still able to dual boot Vista with Linux using Grub. Linux flavors use grub-install to prepare the MBR and grub-install (or setup) preserves the Windows DiskID. Solaris however was using the home-grown installgrub(1M) and as is explained in the thread , it failed to preserve the Windows DiskID and thus Vista won't boot.
I have got around to making a couple of changes to installgrub to preserve the DiskID and luckily for me, we had a bunch of Sony Vaio laptops coming in for Managers preinstalled with Vista. So I got to test it on those machines using the following steps:
- Resize Vista using a Gparted CD.
- Boot into Vista and check everything is OK
- Take a backup of the updated MBR
- Install Solaris Express B60
- Copy my modified installgrub binary to the system
- Restore the original Vista MBR using dd
- Now run the modified installgrub