Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-07-2005, 10:25 AM
|
#1
|
|
Member
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35
Rep:
|
How to use grub to boot the triple OS: windows,linux,solaris?
Dear All
I intend to install Solaris 10, but I prefer making sure that every step will go well to rescuing a boot failure OS.
I've just looked through this forum, and i'm afraid such a bootloader problem might happen:
after installed Solaris, Linux may failed to boot using the default Solaris boot loader.
So I'm just wondering whether we can use grub to boot the mutiple OS or not.
Can anyone tell if my idea can be practicable? If so, how?
Regards
chuanweizuo
|
|
|
|
03-07-2005, 06:18 PM
|
#2
|
|
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282
Rep:
|
For my part I did install Solaris letting it overwrite the drive boot sector, then
I booted from a Linux rescue CD (slackware 2nd CD)
I mounted my Linux root partition in /mnt/hd, then I used
chroot /mnt/hd
to change root to my Linux root partition and I reinstalled grub with
Code:
grub
grub> root (hd0,0)
grub> setup (hd0)
As you can see my drive is hda and my /boot partition is /dev/hda1
Then I rebooted in Slackware-linux and I edited the grub.conf (or menu.lst)
Code:
title solaris 10
rootnoverify (hd0,1)
chainloader +1
makeactive
boot
(I installed Solaris in /dev/hda2)
|
|
|
|
03-17-2005, 07:22 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2005
Posts: 18
Rep:
|
can you install solaris 10 without using its bootloader then reconfigure the grub bootloader.
|
|
|
|
03-18-2005, 08:00 AM
|
#4
|
|
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282
Rep:
|
I don't think so, I did not even try it though.
But the steps above work fine to use multiboot for Solaris and Linux
I did it twice (I re-installed Solaris to give it more space) and each time it worked
without a problem
|
|
|
|
03-18-2005, 10:17 AM
|
#5
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
I confirm there's no option to prevent the Solaris installer to overwrite the MBR with its own boot loader.
|
|
|
|
09-21-2006, 08:11 PM
|
#6
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Update:
The way this thread explains how to boot Solaris is obsolete since Solaris Express 7/05 and Solaris 10 1/06.
Enhancements to grub allow it to natively boot the O/S, i.e. without chainloading.
|
|
|
|
09-22-2006, 06:10 AM
|
#7
|
|
LQ Newbie
Registered: Sep 2006
Location: Bangalore
Posts: 3
Rep:
|
Two issues here :
If you have to boot the older solaris 10 (before Solaris 10 1/06 - without the GRUB), you can do so by chainloading. But, as remarked before, it will overwrite the MBR. You can reinstall the linux grub on the MBR to get back your original configuration.
If you have linux grub in the MBR, you still need to chainload, since linux grub cannot read ufs, which is the FS that solaris uses.
Solaris grub is installed within the partition on which solaris is installed. So, you can chainload into it like you do with windows, but in this case, you will see yet another grub menu (the solaris grub - which can read ufs), and you can boot into solaris from its menu.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:02 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|