[SOLVED] Solaris 11 + CentOS 6 dual boot , how to make it work
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Solaris 11 + CentOS 6 dual boot , how to make it work
Hi , today my solaris 11 goes crazy , its create so many core
so i decide to install Solaris 11 with CentOS 6 as second boot
first i install CentOS 6 and next i install Solaris 11, install Solaris goes right without touching CentOS partitions
but once Solaris 11 boot up, there is no any info about CentOS in Solaris 11 grup.conf
i am trying to edit /rpool/boot/grub/menu.1st
I added this way at the end of the line
Code:
title CentOS (2.6.32-279.14.1.el6.i686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.32-279.14.1.el6.i686 ro root=UUID=a1af40e5-04f$
initrd /boot/initramfs-2.6.32-279.14.1.el6.i686.img
make active
chanloader +1
boot
but not workable
here is my CentOS 6 grub.conf
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.14.1.el6.i686)
root (hd0,1)
kernel /boot/vmlinuz-2.6.32-279.14.1.el6.i686 ro root=UUID=a1af40e5-04fb-496c-96c4-7a0e3519169d rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-279.14.1.el6.i686.img
isk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008374c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10 76800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 10 13064 104857600 83 Linux
/dev/sda3 13064 13325 2097152 82 Linux swap / Solaris
/dev/sda4 13326 30401 137162970 bf Solaris
I set MBR at /dev/sda1 or /dev/sda ( forgotten, sorry maybe need to reproduce) , solaris install in /dev/sda4, first install linux then second install Solaris
and here is grub.conf
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-[generic-]version.img
#boot=/dev/sda1
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.i686)
root (hd0,0)
kernel /vmlinuz-2.6.32-279.el6.i686 ro root=UUID=e49bb085-fa9a-4bb7-8a46-ace9fc8d5992 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-279.el6.i686.img
title Solaris 11
rootnoverify (hd0,4)
makeactive
chainloader +1
###Solaris 11
Below is Solaris 11 menu.1st
Code:
noc@sol-11:~$ cat /rpool/boot/grub/menu.lst
# default menu entry to boot
default 0
#
# menu timeout in second before default OS is booted
# set to -1 to wait for user input
timeout 30
#
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: do not enable grub serial console when BIOS console serial
# redirection is active.
# serial --unit=0 --speed=9600
# terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
splashimage /boot/grub/splash.xpm.gz
foreground 343434
background F7FBFF
#
# To chainload another OS
#
# title Another OS
# root (hd<disk no>,<partition no>)
# chainloader +1
#
# To chainload a Solaris release not based on GRUB:
#
# title Solaris 9
# root (hd<disk no>,<partition no>)
# chainloader +1
# makeactive
#
# To load a Solaris instance based on GRUB:
#
# title Solaris <version>
# bootfs <poolname>/ROOT/<BE_name>
# kernel /platform/i86pc/kernel/amd64/unix
# module /platform/i86pc/amd64/boot_archive
#
# To override Solaris boot args (see kernel(1M)), console device and
# properties set via eeprom(1M) edit the "kernel" line to:
#
# kernel /platform/i86pc/kernel/amd64/unix <boot-args> -B prop=value,...
#
#
#
title Oracle Solaris 11 11/11
bootfs rpool/ROOT/solaris
kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/amd64/boot_archive
title Centos Grub
rootnoverify (hd0,0)
makeactive
chainloader +1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.