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.
When I installed Debian alongside my Slackware I learned from a member here that you have to tell LILO about the other os.
You'll have to edit your lilo configuration file. (lilo.conf)
The entry that I made in lilo.conf looked like this:
Code:
other = /dev/sdb
label = debian
In your case it would be /dev/sda3 and the label would be Solaris; which I see you have already done.
However as soon as you make that change you should re-run LILO right away if you haven't already.
This only worked for me because I installed Grub to the master boot record of Debian.
And booting Debian for the first time I had to run:
Code:
sudo os-prober
sudo update-grub
I noticed that the EXT 4 partition that you created:
Code:
/dev/sda1 ext4 10GB
is only 10 GB's. Any time that I have created a EXT 4 journaling fs/partiton I created at least 20 GB as a base and than created a 1-2 GB swap partition. You may want to resize your partitions and include at least one swap for both os's to use.
I guess I could go the other way and just let Grub be the default bootloader. Still I would have thought that since Solaris uses grub, it would have noticed the Linux partition and give me an option to have grub load it. Of course that would be too easy. I am not too familiar with grub though.
I guess I could go the other way and just let Grub be the default bootloader. Still I would have thought that since Solaris uses grub, it would have noticed the Linux partition and give me an option to have grub load it. Of course that would be too easy. I am not too familiar with grub though.
Googled and found a few howtos that may help with solaris 11:
I guess I could go the other way and just let Grub be the default bootloader. Still I would have thought that since Solaris uses grub, it would have noticed the Linux partition and give me an option to have grub load it. Of course that would be too easy. I am not too familiar with grub though.
Yes, you could do that.
-:-To install the bootloader to the MBR of /dev/sda just run grub-install as "root"
Than run grub-update.-:-
When your installing another os you don't get the partition in the Grub Menu you can run:
Code:
grub-mkconfig
By doing that it invokes 'os-prober.'
If a new kernel is updated or installed you will have to update Grub.
Well I decided to reinstall Solaris using the 'text' installer ISO. It seems that 11.2 you only get a text iso , unlike Solaris 10 where you have an iso that allows either a text option or install using CDE as the gui. Oh well, no big deal the install went fine but when I rebooted it just hangs and I get this:
I guess if you install the text option it doesn't automatically go to a gui? Still it won't even go to a command-line either. What did I do wrong?
Well I decided to reinstall Solaris using the 'text' installer ISO. It seems that 11.2 you only get a text iso , unlike Solaris 10 where you have an iso that allows either a text option or install using CDE as the gui. Oh well, no big deal the install went fine but when I rebooted it just hangs and I get this:
So the text installer is just that then, Solaris without a desktop?
Ok I will stick with the livecd, but that still does not solve my multiboot issue, since 'grub' or any grub-related command just doesn't exist.
Is your multiboot all on one drive or 3 different drives?
-:- Slackware uses LILO so you will have to tell LILO about Solaris and any other distro's by editing the lilo.config file with a chain-load entry.-:- Than re-run LILO-
To solve the grub bootloader issue try running these commands as root and it should find your other distro and add it to your GNU Grub Menu-
since 'grub' or any grub-related command just doesn't exist.
suggest to read bootadm man page, (however not sure if it will work
in a multiboot configuration).
within solaris grub file '/rpool/boot/grub/menu.conf'
add:
Code:
Title name_of_linux_distro Grub
rootnoverify (hd0,1)
makeactive
chainloader +1
If you do decide give it to try, it appears those settings need to be added to the solaris's menu.conf by
using the bootadm command and not editing the file directly with
an editor.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.