> Hello, > > I tried to installed OpenSolaris from the live CD. > The graphical installer went to 100%, and then it > crashes with an unmeaningful error. > > Nevertheless, I think that the installation was > complete and that something went wrong while GRUB was > installed. Rebooting shows me, that there was no more > bootmanager. Before I installed OpenSolaris, there > was already Windows 7 and Linux installed. > > I re-installed the GRUB from my previous > Linux-installation and everything went fine - I can > boot Windows 7 and Linux again. > > My question is now: How can I add OpenSolaris to the > "Linux"-GRUB, perhaps someone can point me to some > documentation about starting OpenSolaris with GRUB? > Thank you very much in advance.
OpenSolaris makes itself bootable by installing grub into the first cylinder of its partition then setting that as the active partition. It does not alter the MBR. To get opensolaris booting you need to fix the install of grub in the OpenSolaris partition. Start by booting the OpenSolaris CD and attempting to "import" the ZFS pool which has been created on your hard disk. Run the command "zpool import" and it will show a list of all pools that are available for importing. You should then be able to run "zpool import -f rpool" to import the pool on the hard disk. Assuming that works, then the filesystem on disk is OK. You then need to install grub. To install grub, you first need to discover which disk device OpenSolaris is installed on. Do this by issuing the "format" command, then press CTRL+C to exit from it. You should see a list of hard disks in your system. Pick the one that contains your installation of OpenSolaris, then issue the command "installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0" where c0d0 is the disk device which you found by running format. Once you have installed grub successfully you can chainload OpenSolaris' version of grub from the Linux version. For a cleaner boot experience you may prefer to boot into OpenSolaris' grub instead and simply insert lines for Linux into that. HTH Andrew. -- This message posted from opensolaris.org
