dual booting Solaris 8 and Solaris 9

dual booting Solaris 8 and Solaris 9

Post by nicole_lea » Fri, 05 Sep 2003 09:28:44


I thought this should be fairly easy but I got stuck.

Any way this is the scenario.

I have a E250 running Solaris 9 with more than 2 HD's on it. I needed
to put Solaris 8 on one of the empty Hard Drive. I put the CD rom in
and did the usual boot cdrom and came to the point of laying out file
systems.
I chose c0t9d0(18G) as I am already using c0t0do as my boot disk for
Solaris 9.
I customized the layout and started the installation.

It would start creating / /opt /export/home etc. After a min It gives
me an error saying that

Error: Couldnt mount /usr/local file system(s)

and just hangs there.

Why does it fail?

I chose only one Hard drive and there is nothing on other hard drive
related to the new installtion.

Is it a good idea to share the disks from the Solaris 9 installation
like /usr/local and /opt by making entries to my /etc/vfstab on
solaris 8? They would contain freeware and other packages.

Stepping ahead a bit lets say I am done with the dual boot and I know
that I can boot what ever OS I want from the OBP giving the exact path
to the device(from /dev/rdsk) or boot disk5 from OBP.

Is there any way I can customize some OBP stuff and choose which
Version of OS I would like to get into when the system starts up?

From man reboot

Example 2: Rebooting Using a Specific Disk and Kernel

The following example reboots using a specific disk and ker-
nel. Note that multiple boot arguments are quoted.

example# reboot "disk1 kernel.test/unix"

So If I am on solaris 9 I can reboot to solaris 8 directly by passing
the arguments to reboot without getting to the Ok prompt. The only
scenario I am looking at is when the system boots after a shutdown it
will take the value from OBP param boot-device and I would like to
boot into the other disk instead the one listed first. How do I do
this?

A bit off topic

How do I send a STOP+A signal to a host If I am connected via a
terminal server and the host doesnt have a Key board. Does having 2
keyboards one on the original system and one via the host to terminal
server cause problems?

Thanks a lot.
 
 
 

dual booting Solaris 8 and Solaris 9

Post by Ian Fitche » Fri, 05 Sep 2003 17:40:15


XXXX@XXXXX.COM (Nicole Harvey) writes:


I have a feeling/vague recollection that Solaris is being far too
clever and falling flat on its face. I think it's spotted the
existing Solaris installation and has wilfully incorporated
information from that installation into your new installation. With
the expected fatal results.


Solaris has binary compatibility with *previous* releases, ie. a
Solaris 8 binary should work just fine on Solaris 9. The reverse
isn't true (it may work but it isn't supported and don't complain if
your system is trashed).

The freeware stuff is almost certainly compiled on something ancient
like Solaris 2.4 so should be just fine.


Look at eeprom(1m). You can set all the OBP values from the command
line, for example, boot-device. You need to give it the same names
as you would at the OBP prompt so you may want to set some PBP
devaliases next time you're in there.


Send a BREAK through your terminal server, that is, assuming you have
reset the system's console to the serial port.

Cheers,

Ian

 
 
 

dual booting Solaris 8 and Solaris 9

Post by nicole_lea » Sat, 06 Sep 2003 14:01:12

Thanks, Ian

Well I got thru the Installation but still I dont get why it wouldnt
like slice 6. I tried skipping creating a file system on slice 6 and
it went fine. After the install I checked the partition table and the
cylinder boundaries were not overlapping . Why would this happen
during installation with one particular slice?

I chose /dev/dsk/c0t9d0s6 to be mounted on /usr/local and it failed
and then I chose /dev/dsk/c0t9d0s5 to be mounted on /usr/local and it
went thru fine. What could be the reason



Yeah! My systems console is connected via a serial port to a terminal
server and I log on to the termial server(runs some Linux) using my
Sun Blade. I tried sending in a break signal from my blade but it
didnt help. In fact I tried ctrl+pause.

Is ctrl+pause==break??
 
 
 

dual booting Solaris 8 and Solaris 9

Post by finis » Sat, 06 Sep 2003 19:02:29


It depends on your terminal emulator prog (look for docs). If you use
tip, it's a ~# sequence, if HyperTerminal (Windows prog, you know) -
Ctrl-Break, if telnet to some terminal concentrator - ^], send brk,
and so on ...

By the way, try to set boot device to your other disk and boot from it
;))
Probably it helps
 
 
 

dual booting Solaris 8 and Solaris 9

Post by Ian Fitche » Sat, 06 Sep 2003 20:03:07


XXXX@XXXXX.COM (Nicole Harvey) writes:


Unfortunately, it could be almost anything :-) From a
misconfiguration on your part to a duff disk and Solaris not telling
you in an obvious fashion. We'd need more details but on the whole
if s5 is working then everybody's happy.

Solaris has some defaults choices for partitions, eg. s0 is the /
partition. These aren't fixed in stone but as a starter for ten, is
s6 already being used for, say, /usr?


As Igor says in his follow-up it really does rather depend on your
terminal server. For example, the default character sequence for
sending BREAK on a Lightwave Console is

ESC B

but on a Lightwave you can configure it to something of your own
choosing. You're not sending the BREAK directly from your keyboard,
by typing a peculiar character sequence on your keyboard you're
trying to convince the terminal server to send a BREAK to the
console. Time to RTFM! :-)

Cheers,

Ian