Re: Solaris 9 and Linux on same Hard Disk

From: Paul Floyd (root_at_127.0.0.1)
Date: 07/30/04


Date: 30 Jul 2004 19:51:02 GMT

On Fri, 30 Jul 2004 11:01:36 -0500, Thomas Rates <analysis@cox.net> wrote:
> How do I install Linux and Solaris on the same HD? When I tried to
> install Solaris the installer told me they can't both be on the same
> hard disk. I was wondering if marking my Linux partitions as DOS would

What exactly did it say? Which version of linux are you installing? What
is your intended partition layout? How many hard disks will you be
using?

I've had no problems installing SuSE and Red Hat on this PC, along with
Solaris. I suggest that you install Solaris first (though use another
fdisk to create your partitions). Then install Linux, but only use the
advanced options for dealing with the target partition - the default
options will probably either use the entire disk, or else try to use
your Solaris partition as swap.

Solaris can mount ext2fs read-only - see
http://paulf.free.fr/software.html for a binary that will work with
Solaris 9, or google for the Solaris 8 version (I assume you're not
going to install anything older).

You'll need to recompile the Linux kernel in order to mount Solaris UFS
partitions. I did once manage to get this to work. Beware though, if the
Linux partition is after the Solaris partition, this may cause the Linux
device letter to change e.g., /dev/hda to /dev/hdb.

You can install Linux in an extended partition, as well as it's swap
partition. This is useful if you're short on primary partitions -
remember 4 is all you get per hard disk.

One last thing. If you have just one hard disk, then either the Linux
bootmanager (lilo or grub) should be fine. There's not much point using
the Solaris boot loader - Linux requires something like lilo or grub. If
you install Solaris on a disk other than the 1st, then the installer
will probably try to get you to install the 'x86 boot parttion'. If you
intend using lilo/grub, this is a bit of a waste of time.

A bientot
Paul

-- 
Paul Floyd                 http://paulf.free.fr (for what it's worth)
Surgery: ennobled Gerald.


Relevant Pages

  • Re: Has anyone attempted a recent kernel build on Sparc or Power ?
    ... I was not able to install on a Tadpole Cycle U60 (like UltraSPARC ... You mean "re-port" the new Linux kernel to SPARC one more time? ... Then port the granddaddy glibc library for all GNU tools? ... > to build anything within a Solaris zone. ...
    (comp.os.linux.misc)
  • Re: Solaris 9 and Linux on same Hard Disk
    ... changing the partition type of my Linux partitions to DOS and the ... >>How do I install Linux and Solaris on the same HD? ...
    (comp.unix.solaris)
  • Re: Grub did not install on dual boot machine.
    ... why did you "install" Linux on a FAT16 partition. ... See below re: grub. ...
    (comp.os.linux.setup)
  • Re: dual boot with xp on same drive
    ... >>i would like to install linux (i have downloaded fedora and burnt to ... >>i have partition magic to create a new partition. ... >>on partition 1 where i would like to put linux. ... Backup your Windows partitions. ...
    (comp.os.linux.setup)
  • Re: Co-existing with Windows and Linux
    ... Windows XP and Linux can co-exist on the same laptop and hard drive ... one for Linux and much ... NTFS partition to give you room for Linux. ... Install XP first using the restore disk that came with your system. ...
    (comp.os.linux.portable)

Quantcast