> Thanks for that.. :D
> 
> By the way, Is it possible for me to setup the
> Solaris grub instead of installing a new grub in
> linux? I like the Solaris grub better..
> 
> I was able to initialize Linux, however, it can't go
> through... It says:
> 
> [i]No kernel found... try adding init= on your
> bootloader (or something like that...)[/i]
> 
> All of my linux partitions are reiserfs... Would that
> matter?

Since your Linux boot folder is in a separate partition, you should mount 
/dev/hda5 to /mnt, and the correct grub-install command should be:

# grub-install   --rootdirectory=/mnt   /dev/hda5

This command will install the Linux boot loader into the first track of your 
"boot" partition, which is /dev/hda5, or (hd0, 4) in grub.

To install the Linux boot loader into the MBR, the command is:

# grub-install   --rootdirectory=/mnt   /dev/hda

This command, of course, will overwrite your Solaris boot loader in the MBR.  
To add Solaris boot loader into the Linux boot loader, simply add the following 
lines to the end of your /boot/grub/menu.lst file:

    title Solaris
    root (hd0,1)
    chainloader  +1

Solaris is notorious for its strict standard-compliance (just wish all Linux 
distros could do the same); it always installs stage2 of the grub boot loader 
into the first sector of the Solaris partition.  There is no need to do 
anything (except editing the menu.lst file) to dual-boot Solaris from Linux.

> 
> By the way, I have the boot folder (on linux) mounted
> on another partition... Here's my layout...
> 
> hda1     windows
> hda2-4  solaris
> hda5     linux /boot
> hda6     linux /
> hda7     linux swap

Since you are already using the logical (extended) partitions, there is no 
hda4.  Furthermore, Solaris, as it is currently structured, can only utilize 
one "fdisk" partition.  Thus, you can only install Solaris in either hda2 or 
hda3, but not both AFAIK.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to