LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   dual boot system(solaris and linux) on diff HD (https://www.linuxquestions.org/questions/solaris-opensolaris-20/dual-boot-system-solaris-and-linux-on-diff-hd-345089/)

ddaas 07-20-2005 03:14 PM

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

jlliagre 07-20-2005 03:58 PM

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).

vimal 07-21-2005 03:52 PM

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.

jlliagre 07-21-2005 04:32 PM

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

tobyl 07-21-2005 04:40 PM

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.

ddaas 07-22-2005 03:03 AM

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

syg00 07-22-2005 03:17 AM

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.

ddaas 07-22-2005 04:08 AM

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.

jlliagre 07-22-2005 05:20 AM

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"


All times are GMT -5. The time now is 09:20 AM.