Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: peter@abbnm.com (Peter da Silva)
Subject: Re: SRM able to handle more than 1 os on one HD?
Date: 2 Mar 2002 17:48:45 GMT	[thread overview]
Message-ID: <a5r39t$fri@web.nmti.com> (raw)
In-Reply-To: 77b348b9.0203011921.66d6dff9@posting.google.com

Disclaimer: I haven't done any really deep Linux fiddling, but according to
the docs the Linux aboot loader should be able to boot kernels from a UFS
file system, so it'll load both the Tru64 kernel and the Linux kernel whe
given proper incantations.

Personally, I'd invest 10 bucks in a couple-hundred-meg surplus SCSI drive
and boot Linux off that.

In article <77b348b9.0203011921.66d6dff9@posting.google.com>,
TiHKAL <msgtihkal@excite.com> wrote:
> Is it possible to install both Tru64unix and Linux on 2 different
> partitions on the same scsi hard drive and be able to choose either os
> at boot? If so, would SRM be the boot loader or milo? I seem to
> remember seeing somewhere that SRM only supported one os per hard
> disk, but I'm not sure if this is true.

To do this you need to have a partition scheme that both operating systems
wil use. It appears Linux supports the BSD partitions that SRM uses, and
SRM does support specifying a boot partition.

There's a couple of ways to approach this problem, then:

	1. Boot from a linux kernel in the Tru64 "a" partition that has
	   been configured to mount a later partition from "d" onwards
	   ("a" is the BSD root, "b" is the BSD swap, and "c" is the whole
	   disk) as its root.

	2. Install the Linux root in a high partition ("d" etc) and get SRM
	   to boot that.

In either case you should be able to use the same swap partition for both
operating systems. So here's a possible layout:

	part	linux	tru64	

	a	hda0	rz0a	BSD (Tru64) root partition
	b	hda1	rz0b	Swap partition
	c	hda2	rz0c	"Whole Disk" partition, do not touch.	
	d	hda3	rz0d	Linux root partition
	e..h	hda4...	rz0e...	other Tru64 and Linux partitions.

You'll have to do the linux-fu yourself, but it'll end up
something like this:

>>>boot dka0 -fi vmlinuz -fl "root=/dev/hda4 bootdevice=hda4"

Or:

>>>boot dka0 -fi 4/vmlinuz -fl "root=/dev/hda4 bootdevice=hda4"

to boot Linux, and:

>>>boot dka0 -fi vmunix

to boot Tru64

Good luck!
-- 
 `-_-'   In hoc signo hack, Peter da Silva.
  'U`    "A well-rounded geek should be able to geek about anything."
                                                       -- nicolai@esperi.org
         Disclaimer: WWFD?


  reply	other threads:[~2002-03-02 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02  3:21 SRM able to handle more than 1 os on one HD? TiHKAL
2002-03-02 17:48 ` Peter da Silva [this message]
2002-03-12 15:24 ` strsha
2002-03-12 18:05   ` Robert M. Riches Jr.
2002-03-14 17:34   ` Wilko Bulte
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox