Quote:
Originally Posted by keefaz
If your root partition is /dev/hda2, your root line is wrong, it should be:
Code:
title Slackware
root (hd0,1)
kernel /boot/vmlinuz-huge-2.6.24.5 root=/dev/hda2 ro
|
Nope the root line is correct, because of the way opensolaris installs, it places GRUB to the MBR of the disk it is installed on. My hda (first disk) has windows and slackware on it with slacks lilo installed on the MBR of that disk. The second disk (hdb) has opensolaris on it and GRUB installed to the second disks MBR.
Opensolaris is based around the Solaris OS. It uses the Solaris the ZFS filesystem. Most other OSes won't recognize it, including Slackware. It also has it's unique GRUB. As far as I am lead to believe you have to use the opensolaris grub to load other OSes because other linux grubs cant load solaris, and lilo definately cannot.
To boot into opensolaris installed on the second disk I had to change the order of boot for the disks in the bios. In other words hda(hd0) becomes hdb(hd1) and vice versa. Therefore Slackware is now on hd1 on second partition (hd1,1). But in Slackware itself it is still in /dev/hda2.
I did not want to keep going into the bios to change the boot order of my disks every time I wanted to change OSes.
Solved the problem now. Thanks to jlliagre pointing me in the right direction initially. I read this webpage on chainloading.
http://users.bigpond.net.au/hermanzo...ainloader_boot
I managed to chainload the slackware lilo by referencing the MBR of the first disk as follows...
Code:
title Slackware Disk MBR
root (hd1)
chainloader +1
Note no second parameter like (hd1,1).
Selecting Slackware Disk MBR now gives me the normal Slackware lilo splash screen where I can login to both Windows and Slackware. Nice.
After doing this I now realize I do not need the windows entry in GRUB.
Thanks to all on both the opensolaris subforum and here who helped out.