On Mon, 2009-08-10 at 14:59 -0700, Igor Korot wrote:
> Hi, ALL,
> I have a computer with the Gentoo Linux running. I decided to install 
> OpenSolaris on it and make it a dual-boot.
> 
> The hardware setup is:
> 2 hard drives.
> 
> 1 hard drive is recognized as /dev/hda and has 2 partitions: /dev/hda1 for 
> /boot and /dev/hda2 for Linux swap.
> 
> 2 hard drive is recognized as /dev/hdd and _now_ has 2 partitions: /dev/hdd1 
> for Linux / and /dev/hdd2 which currently contains Solaris installation.
> 
> I successfuuly made a bootable OpenSolaris CD and successfully installed 
> OpenSolaris on the /dev/hdd2 (c8d1p1, c8d1 is a disk name from the 
> OpenSolaris setup) following the instruction on the 
> http://opensolaris.org/os/community/documentation/reviews/Dual_Boot_Install_Doc_Plan/Dual-Booting-OpenSolaris-with-Ubuntu-Linux/Installing-OpenSolaris-on-New-Linux-Partition/
>  page.
> 
> The problem arises when I went to the step "Add Ubuntu Linux Back to the GRUB 
> Menu" part of the URL above. After the computer rebooted, and selecting "Boot 
> from the Hard Drive" from the BIOS menu, I found that I have my old 
> /boot/grub/grub.conf (menu.lst), i.e. Solaris install did not modified my 
> boot partition at all.
> So I boot to my Linux install successfully and tried to add OpenSolaris to 
> the "grub.conf" file. I just grabbed the lines from the URL that are there.
> 
> To my surprise, those lines did not appera after reboot, and I still ended up 
> with the exact same lines in the boot menu in GRUB.
> 
> So, my questions are:
> 1. How come the installation do not recognize that it needs to change the 
> grub menu of the boot partition?
> 2. What I need to do in order for the OpenSolaris lines appear in the grub 
> menu after reboot?
> 3. Is this setup will even work? I mean installing OpenSolaris on the 
> /dev/hdd hard drive?
> 
I am not sure, but I believe that OpenSolaris changed the master boot
record on your /dev/hdd. I think when you first boot up it starts with
your /dev/hda. I suspect that you need to change your menu.lst
on /dev/hda.

I have Debian GNU/Linux on one hard drive and OpenSolaris on another. In
the linux /boot/grub/menu.lst I have
# For OpenSolaris
title           OpenSolaris
root            (hd1,0)
makeactive
chainloader +1

I think it's necessary to chainload because GNU/Linux doesn't recognize
OpenSolaris's ZFS file system.

Bob Plantz



Reply via email to