LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 03-07-2005, 10:25 AM   #1
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
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
 
Old 03-07-2005, 06:18 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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)
 
Old 03-17-2005, 07:22 PM   #3
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
can you install solaris 10 without using its bootloader then reconfigure the grub bootloader.
 
Old 03-18-2005, 08:00 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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
 
Old 03-18-2005, 10:17 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I confirm there's no option to prevent the Solaris installer to overwrite the MBR with its own boot loader.
 
Old 09-21-2006, 08:11 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
Old 09-22-2006, 06:10 AM   #7
pavan.tc
LQ Newbie
 
Registered: Sep 2006
Location: Bangalore
Posts: 3

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Triple boot system: Windows XP, Linux, Solaris 10 RazielX Solaris / OpenSolaris 3 03-02-2005 04:54 AM
Triple Boot Fedora C2 and Suse and windows = big grub error maneeshsethi Linux - Software 6 10-07-2004 04:03 PM
Triple boot w/ GRUB belorion Linux - General 3 06-29-2004 12:58 PM
Triple boot Solaris 8, Win 2000, linux 7.2 yassyboy Solaris / OpenSolaris 1 07-16-2003 08:43 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration