> I removed the suse partition and now i get 
> 
> GRUB Loading stage1.5.
> GRUB loading , please wait
> Error 22

That would be because the grub stage1 in the MBR is trying to load stage2 from 
the SUSE partition, which you just deleted.

To get the opensolaris version of grub back in your hard disk's MBR follow 
these steps:

1. Boot from the opensolaris live CD.
2. Find out the device name for your hard disk by typing "format" then exiting 
by pressing CTRL+C. The device name for your hard disk will be something like 
c4t0d0 or c0d0 .
3. Using the device name you found out in step 2, work out the full path to the 
raw version of the opensolaris root slice. For example /dev/rdsk/c0d0s0.
4. Install grub to the MBR of this disk using a command like this:

installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d0s0

Once you do this, you can then add entries to the file 
/rpool/boot/grub/menu.lst for any other operating systems that you have 
installed.

The crucial point to note is that when you install Linux you need to tell the 
installer to put the boot loader at the start of the Linux partition *not* in 
the MBR. Both SUSE and RedHat have options to do this.

The version of grub supplied with Linux cannot be used to boot opensolaris 
since it does not contain a ZFS filesystem reader. You can however put a 
Linux-supplied version of grub in the MBR and "chainload" the opensolaris grub 
from the start of the opensolaris partition, although this is more messy as you 
end up with 2 different grub menus to look after.

Cheers

Andrew.
-- 
This message posted from opensolaris.org

Reply via email to