At the present time, Solaris installation will overwrite your MBR.  You can 
edit and use your /boot/grub/menu.lst file in Solaris to add chainloader(s) to 
boot into Windows (already created) and Linux (to be created by you).

But if you want to keep your Linux version of the GRUB, one of the easiest 
tricks that I have been using is to follow the following procedure:

1. While in Linux & before installing Solaris, edit the /boot/grub/menu.lst 
file to add a chainloader to the partition in which Solaris is to be installed,

title Solaris
root (hd0,2)
chainloader +1

(the above entry assumes that Solaris is to be installed into the third primary 
partition)

2.  Copy the Master Boot Record to a particular directory in your USB stick 
(say, /media/usb/mbr_linux):

# dd if=/dev/sda of=/media/usb/mbr_linux bs=512 count=1

3. After installing and booting into Solaris, copy this file back to MBR:

# dd if=/media/usb/mbrsuse of=/dev/sda bs=512 count=1

4. Do a reboot, the Ubuntu GRUB boot screen will show up, you can then boot 
into either Solaris or Ubuntu (or Windows). 



> Thank you for reading my post.
> 
> I was wondering if any member of this forum can help
> me with the following query:
> 
> I have an Intel system (desktop) with three HDDs
> having dual-boot configuration...with Windows 2003
> Server on the first hard-disk, Ubuntu Linux on the
> second & third HD being blank as of now. My
> bootloader is GRUB and I have been thinking of
> installing OpenSolaris on the last remaining drive.
> 
> I am in a quandry as to if I go ahead with
> OpenSolaris installation, will Solaris' default
> bootloader  overwrite the existing GRUB & render my
> system useless...;) or is it that during installation
> Solaris will give me option for going on with the
> existing bootloader...I am just confused and want to
> make sure that I understand things in this regard
> before proceeding ahead. 
> 
> Do you think that adding an entry corresponding to
> OpenSolaris on 3rd HDD in GRUB's menu.lst file will
> be sufficient after I have completed the
> installation. 
> 
> Thanks!
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to