LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 07-20-2005, 02:14 PM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 453

Rep: Reputation: 30
dual boot system(solaris and linux) on diff HD


Hi,
Today I 've tried to install Solaris 10. I have 2 hard disks (hda and hdd ). Linux (FC3) is on hda installed.
I've tried to install Solaris on the second hard disk. The result was disastrous. It has destroyed my partition table of the second hdd (where I had other partitions with data) and at the end it doesn't boot. At least my hard disk with linux is untouched and I can boot linux
Now I want to start it over again.

How can I install Solaris 10 safe on the second hard ? The hard disk is 80 GB and I think I need maximal 10 GB for Salaris?
How should I partition the disk?

I want to use grub for booting linux (/dev/hda1) and Solaris (on the other disk).
How should I configure grub?

Any help would be really appreciated
 
Old 07-20-2005, 02:58 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Solaris is not designed to destroy partition tables unless you explicitly allows it to do it. Tell us about what went wrong and why ...

That said, I always install Solaris on the first disk, so it's probably the best choice.

One advice, once you have partitioned your disk never let Linux or Solaris "adjust" the partition size to either optimize or not cross a cylinder boundary.

Also, you may need to leave some cylinders unused at the end of the disk, as Solaris and linux do not peek the geometry the same way ... (compare the output of "fdisk -G /dev/rdsk/c0d0p0" and its linux equivalent).
 
Old 07-21-2005, 02:52 PM   #3
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 34
Solaris only supports one ufs partition in a single harddisk. we have to divide that single partition into various slices for our partitions. Grub does not support dualbooting Solaris. the bootloader of Solaris does support linux and windows. for dualbooting solaris and windows u would want to install the bootloader of solaris intop the MBR of hda.
 
Old 07-21-2005, 03:32 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Solaris only supports one ufs partition in a single harddisk.
Not exactly, Solaris only access one Solaris (or Solaris2) partition, but mount up to three ufs primary partitions, and up to 7 ufs partitions on slices.
Quote:
we have to divide that single partition into various slices for our partitions.
True, just like BSD, although the partition and slice terms are reversed there.
Quote:
Grub does not support dualbooting Solaris.
It does when the Solaris are in different disks, even on the same disk and a little of hacking, it can too handle that:
http://blogs.sun.com/roller/page/ulf...d_dual_tripple
Also, you can have more than one version of Solaris in the Solaris partition with "live upgrade".
http://docs.sun.com/app/docs/doc/817...kv5m1jq?a=view
 
Old 07-21-2005, 03:40 PM   #5
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
ddaas, I found this site helpful:

http://multiboot.solaris-x86.org/

I have solaris on a partition on hda and linux on hdb, however i use lilo. Sorry cant help with grub but may be able to give some help should you choose to use lilo.
 
Old 07-22-2005, 02:03 AM   #6
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 453

Original Poster
Rep: Reputation: 30
HI,
Thanks for your help.
Now Solaris and Linux are both on my computer. Linux is on HDA and Solaris is on HDD.
HDD is partitioned as following:

hdd1 - 10G - Solaris
hdd2 - 10G - Linux swap ( I had a Linux distro before)
hdd3 - extended
hdd5 - EXT3
hdd6 - EXT3


So, as a conclusion:

Solaris can be installed on a partition of a second hard disk and Linux ( or windows )on other HD. Grub is the boot manager.
This was done with Solaris 10.

Some time ago, I managed to install Solaris 8 on the same hard disk with Windows and Linux + grub
 
Old 07-22-2005, 02:17 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,280

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
ddaas, does this mean you now have grub successfully booting both ???.
If not, set up grub as you would for Windows, and chainload it the same to boot Solaris.
 
Old 07-22-2005, 03:08 AM   #8
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 453

Original Poster
Rep: Reputation: 30
yes, now grub works for both. I can choose between Linux and Solaris.

I think that the installation of solaris miss the final step.
The problem is that when Solaris starts it says that something has changed and wants to scan for modifications. Then asks me where is the kernel (hda, cdrom/dvd or hdd). I said always hdd.


Then I have a working console where I can login.
Then X wants to start but the frequency of my monitor is out of range and it crashes. The problem is that I can't get back to by console to try to do something.

ctrl+alt+F doesn't work (like in Linux does). So how can I change terminals in solaris (the equivalent of ctrl + alt + F1,2,3,4,5,6,7 in Linux)?

I didn't have enough time to try to solve these problems, but today Ill make the time.

I will give you more details later.
 
Old 07-22-2005, 04:20 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,500

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
I think that the installation of solaris miss the final step.
The problem is that when Solaris starts it says that something has changed and wants to scan for modifications.
This is possibly due a wrong boot-device in the "eeprom".
Quote:
Then asks me where is the kernel (hda, cdrom/dvd or hdd). I said always hdd.
Ok
Quote:
Then I have a working console where I can login.
Then X wants to start but the frequency of my monitor is out of range and it crashes. The problem is that I can't get back to by console to try to do something.
You have not configured X properly at installation time, this shouldn't have happened as you had to validate the configuration after a sample graphic test is shown.
Quote:
ctrl+alt+F doesn't work (like in Linux does). So how can I change terminals in solaris (the equivalent of ctrl + alt + F1,2,3,4,5,6,7 in Linux)?
You can't, there are no virtual consoles with Solaris.

To fix the X11 problem, boot in single user mode (pass the -s option to the boot loader) and run kdmconfig.
Alternatively, if you are quick enough, you can disable dtlogin when still in console mode by logging as root and typing "/usr/dt/bin/dtconfig -d"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
linux and solaris dual boot niranjan_mr Linux - Software 7 11-02-2005 06:39 PM
Sparc hardware: dual boot solaris & linux bulliver Solaris / OpenSolaris 18 04-25-2005 07:50 AM
Triple boot system: Windows XP, Linux, Solaris 10 RazielX Solaris / OpenSolaris 3 03-02-2005 04:54 AM
how to dual boot solaris 8 and linux 8 sridhar11 Solaris / OpenSolaris 3 10-25-2004 02:26 AM
Dual Boot diff Hard Disk diff OS on Suse 9.1 wilhem Linux - Newbie 1 08-13-2004 06:06 PM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration