Skip to contentSkip to conversation

Solaris and Linux on one disk?

DISCUSSION Grant Beattie 4 participants 5 messages Jun 5, 1998 – Jun 12, 1998

lore
Share & tools
lore
#0 lore raw

Hi all,

Is it possible to have Solaris and Linux reside on the same disk and multiboot?

Also, does Ultralinux support the UFS file system? Would be nice if both OS's could share a partition, eg. /export.

thanks
grant

#1 lore raw
Quoted 5 lines

Hi all,

Is it possible to have Solaris and Linux reside on the same disk and multiboot?

Yes, SILO supports it, but due to missing features in IEEE1275 PROM one cannot pass arguments to Solaris kernel that way. So one might also want to install Solaris on a different partition and put it's bootblocks there, then boot disk:d or whatever.

Quoted 3 lines

Also, does Ultralinux support the UFS file system? Would be nice if both OS's could share a partition, eg. /export.

Current CVS kernel (see ftp://vger.rutgers.edu/pub/linux/README.CVS) has read-write support for UFS, although it is still experimental. So, don't use it for data you would not like to loose. On the other side, bug reports/comments are welcome and may improve UFS support, so that it moves from EXPERIMENTAL to stable...

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | [email protected] | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc Linux version 2.1.103 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

#2 lore raw
In reply to Grant Beattie
Quoted 6 lines · Grant Beattie

Hi all,

Is it possible to have Solaris and Linux reside on the same disk and multiboot?

yes.

Very important : See the Silo readme in /usr/doc the boot partitions of both Solaris and Linux must be on the same first 1Go of the disk. because there is a bug in eprom.
So you must have
/dev/sda1 450mo -> solaris /
/dev/sda2 450mo -> linux /
/dev/sda3 xxxxMo -> solaris /usr
/dev/sdaYY xxxxMo -> solaris or linux /usr local home or other

install solaris first, and ask for a second partition /linux than install linux : reformat this partition and install it.
than configure silo

Quoted 2 lines

Also, does Ultralinux support the UFS file system? Would be nice if both OS's could share a partition, eg. /export.

No problem :

mount -t ufs /dev/sdxx /export

FC

#3 lore raw
In reply to Grant Beattie
Quoted 8 lines · Jakub Jelinek
Quoted 2 lines

Also, does Ultralinux support the UFS file system? Would be nice if both OS's could share a partition, eg. /export.

Current CVS kernel (see ftp://vger.rutgers.edu/pub/linux/README.CVS) has read-write support for UFS, although it is still experimental. So, don't use it for data you would not like to loose. On the other side, bug reports/comments are welcome and may improve UFS support, so that it moves from EXPERIMENTAL to stable...

I'd be glad to play around with it if it will help improve stability. I have a Sparc 5/170, any good or bad experiences with these?

grant

#4 lore raw
In reply to Grant Beattie
Quoted 5 lines · Grant Beattie

Hi all,

Is it possible to have Solaris and Linux reside on the same disk and multiboot?

I use SunOS 4.1.2, Solaris 2.4 and Linux on both an IPC and a SS2. I use the following configuration for /etc/silo.conf:

------->snip<-----
timeoutP
partition=5
root=/dev/sda5
image=/boot/vmlinux-2.0.27.gz

        label=linux
        root=/dev/sda5
        read-only
image=/boot/vmlinux-2.0.32.gz
        label=lin32
        root=/dev/sda5
        read-only

image=1/kernel/unix
label=sol
solaris
image=1/kernel/unix

        label=sol-single
        literal="-s"
        solaris
image=1/kernel/unix
        label=sol-conf
        literal="-r"
        solaris

other=4
label=sun
image=sd()1/kernel/unix
label=sol-ipc
solaris
other=sd()4
label=sun-ipc
------->snip<-----

One word to the mixed bootprom V0 and V2 entries.
I have one silo.conf for both machines.
And my IPC has a bootprom V0 whereas my SS2 has V2.
For the linux partition this does not matter but for SunOS and Solaris.

Of course you have to modify it for your needs.

Quoted 2 lines

Also, does Ultralinux support the UFS file system? Would be nice if both OS's could share a partition, eg. /export.

As far as I know UFS is only supported read only.
And there is yet no ext2 support for Solaris.
So both OS's can NOT share a partition except the swap partition.

Hope this helps.
Gerold

Signature · 4 lines
Gerold Pauler                                  [email protected]
Friedrich-Wilhelm-Str. 92
12099 Berlin
------------------------------------------------------------------------