LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-26-2007, 08:57 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
installing solaris and linux in same disk


Hi,
I 've receive solaris sytsem for intel, I install it, unfortunately it removed all my linux partition. So I install again in other partition the debian, so now I have to system on my machine, but debian didn't give me the menu for Solaris at it did for other linux or Micro$$. Is there a document which explains how to do it.
So here 2 questions:
1. how to install solaris without removing the linux
2. How to tell linux to creat an appropriate boot for solaris in grub.

any help is appreciated
thanks
bela
 
Old 04-26-2007, 10:24 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
Quote:
Originally Posted by abd_bela
Hi,
I 've receive solaris sytsem for intel, I install it, unfortunately it removed all my linux partition.
You should have watched carefully the installation dialog. It certainly warned you about this deletion.
Quote:
So I install again in other partition the debian, so now I have to system on my machine, but debian didn't give me the menu for Solaris at it did for other linux or Micro$$. Is there a document which explains how to do it.
So here 2 questions:
1. how to install solaris without removing the linux
Just by telling the installer you want to preserve existing partitions.
Quote:
2. How to tell linux to creat an appropriate boot for solaris in grub.
Linux bundled grub cannot boot Solaris, you need to install Solaris enhanced grub which know ufs. Eventually, you have to manually add the linux entry in the menu.lst file.
 
Old 04-26-2007, 12:43 PM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Original Poster
Rep: Reputation: 31
Thank you, now I have 2 systems on the machine, Debian is last install, so the grub installed belongs to debian, I want to access to the solaris too!!!
I have to add something in menu.list of grub,
to boot linux with just add where is the kernel like /boot/kernel image
what is the equivalent on solaris, where to find the kernel
Suppose I install 2 version of solaris v1 and v2, how to tell this

thank for help
 
Old 04-26-2007, 01:52 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
Unfortunately, as I already wrote, the debian grub cannot boot Solaris. You need to reinstall Solaris grub, the simplest way possibly being by reinstalling Solaris.
 
Old 04-26-2007, 02:39 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The way I boot Solaris Express using Linux grub is to add lines similar to the ones below to my /boot/grub/menu.lst
Code:
title Solaris Express
       rootnoverify (hd1,0)
       makeactive
       chainloader +1
 
Old 04-26-2007, 03:14 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
Quote:
Originally Posted by reddazz
The way I boot Solaris Express using Linux grub is to add lines similar to the ones below to my /boot/grub/menu.lst
[...]
Indeed, that pass the control to Solaris grub which then allows to boot Solaris, saving a grub reinstallation.

I didn't thought about this way to recover Solaris grub. Thanks for the tip !

To abd_bela: beware to replace the disk/partition information [here (hd1,0) for reddazz] by the correct one for your own setup and remember that grub numbering starts with 0 (your first hard disk controller is "hd0", your second primary partition is ",1").

Last edited by jlliagre; 04-26-2007 at 03:17 PM.
 
  


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
GNU/Linux vs Solaris Disk Notation praveen_repelle Solaris / OpenSolaris 1 02-03-2007 10:54 AM
Solaris disk mirroring neil Solaris / OpenSolaris 4 09-25-2006 07:46 AM
Using USB memory disk in solaris. UltraSoul Solaris / OpenSolaris 1 06-20-2005 12:07 PM
Mounting Sun Solaris boot disk in Linux for export jdc2048 Linux - General 1 11-14-2004 12:26 PM

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

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