LinuxQuestions.org
Help answer threads with 0 replies.
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 01-01-2008, 11:41 AM   #1
Reisswolf
Member
 
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Solaris and Linux dual boot question (again)


Hi,

I have run a problem. When I was using Fedora 6, I could use "makeactive" and "chainloader+1" in Fedora's grub.conf to boot into Solaris. But now, the same thing fails to work in Fedora 8. When I select Solaris from Fedora's grub list at boot time, the screen momentarily goes blank and then returns to the same Fedora grub list. It does not go to the Solaris grub list, like it used to earlier.

My Solaris partition is /dev/sda1, my Linux swap is in /dev/sda5 and my Linux root is in /dev/sda6. If someone could tell me how I can boot into Solaris Express again, I would be very grateful.

I have checked with Google, but almost all the sites talk about using the chainloader to dual boot. I would be extremely thankful to anyone who could give me some good instructions on how exactly to boot into Solaris (and then perhaps use Solaris' grub to boot into Fedora.

Thanks in advance for your help.
 
Old 01-01-2008, 11:45 AM   #2
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
Try making the Solaris partition active (and the only one in that state) in the partition table.
 
Old 01-01-2008, 02:32 PM   #3
Reisswolf
Member
 
Registered: Jun 2007
Posts: 67

Original Poster
Rep: Reputation: 15
jlliagre, sorry if this seems like a simple question, but how do I do that?

Moreover, if it would not be too much trouble, can you please tell me what I would then expect to see on the screen when I am booting? The thing is, I cannot afford to be locked out of both Solaris and Fedora. I have some very important files in Fedora, and I would like to be able to access them.

The ideal thing for me would be to use Solaris' grub to boot into both Solaris and Fedora. But even after an exhaustive search on Google I have not been able to find any solution.

Thanks in advance for your help.
 
Old 01-01-2008, 03:21 PM   #4
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
Quote:
Originally Posted by Reisswolf View Post
jlliagre, sorry if this seems like a simple question, but how do I do that?
That's the way I would do it from Solaris:
Code:
# fdisk /dev/rdsk/c0d0p0

             Total disk size is 9729 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 Linux native      0  2431    2432     25
          2                 DOS-BIG        2432  2555     124      1
          3       Active    Solaris2       2556  4987    2432     25
          4                 Win95 FAT32    4988  9728    4741     49


SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection:
Quote:
Moreover, if it would not be too much trouble, can you please tell me what I would then expect to see on the screen when I am booting?
I expect Solaris grub menu to appear.
Quote:
The thing is, I cannot afford to be locked out of both Solaris and Fedora. I have some very important files in Fedora, and I would like to be able to access them.
Then backup them on an external media before playing with the partition table.
Quote:
The ideal thing for me would be to use Solaris' grub to boot into both Solaris and Fedora.
Save Fedora entries on an USB key or something and add them to Solaris grub when under Solaris, that should just work.
 
Old 01-02-2008, 12:33 PM   #5
Reisswolf
Member
 
Registered: Jun 2007
Posts: 67

Original Poster
Rep: Reputation: 15
jlliagre, merci beaucoup pour la response.

However, I have bad news to report. I have tried everything imaginable--from using fdisk to make the Solaris partition active, to specifying the root partition in Fedora's boot. But each time I get "Error 8: Kernel must be loaded before booting."

I have been looking for a solution for this all day long. I am shut out from my Solaris partition, and I have an important personal project going on in there.

If someone could share a solution, I would be grateful.

Thanks in advance.
 
Old 01-02-2008, 01:35 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
You can boot on a Solaris installation CD/DVD or better a Solaris live distribution and check if your on disk Solaris installation is still there, and have a look at its /boot/grub/menu.lst.

The error message you got means you tell grub to boot without providing a kernel directive.
 
  


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
wishes to all,,how to make dual boot linux-rhel-4,win2003 and solaris-9 anandabalan Linux - General 2 06-05-2006 03:15 PM
linux and solaris dual boot niranjan_mr Linux - Software 7 11-02-2005 06:39 PM
dual boot system(solaris and linux) on diff HD ddaas Solaris / OpenSolaris 8 07-22-2005 04:20 AM
Sparc hardware: dual boot solaris & linux bulliver Solaris / OpenSolaris 18 04-25-2005 07:50 AM
how to dual boot solaris 8 and linux 8 sridhar11 Solaris / OpenSolaris 3 10-25-2004 02:26 AM

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

All times are GMT -5. The time now is 05:44 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