Subject: Re: running netbsd 1.3.2 && 1.4 on the same machine?
To: Xiaoqiao Li <xqli@cs.wustl.edu>
From: Zdenek Salvet <salvet@ics.muni.cz>
List: netbsd-help
Date: 07/01/1999 20:55:20
> I would like to run netbsd 1.3.2 && 1.4 on the same machine 'cause I want
> to port some legacy code from netbsd 1.3.2 to 1.4. Is it possible to run
> multi-version netbsd on the same machine? If it is, how do I do that?
I have three such machines :-)
Install one version and create one more partition in NetBSD disklabel
for alternate root, then manually untar the second version distribution
files on the alternate root partition.
I have 1.4 on wd0a, 1.3.3 on wd0e, /home+swap are shared. Now I can boot 1.3.3
by giving "boot wd0e:netbsd -a" boot command and answering "wd0e" to root
partition prompt (you can compile root partition setting to your kernel
after you have NetBSD running).
# uname -sr
NetBSD 1.3.3
# disklabel wd0
...
7 partitions:
# size offset fstype [fsize bsize cpg]
a: 1028160 4112640 4.2BSD 1024 8192 16 # (Cyl. 4352 - 5439)
b: 401625 5140800 swap # (Cyl. 5440 - 5864)
c: 4273290 4112640 unused 0 0 # (Cyl. 4352 - 8873)
d: 8404830 0 unused 0 0 # (Cyl. 0 - 8893)
e: 610470 5542425 4.2BSD 1024 8192 16 # (Cyl. 5865 - 6510)
f: 2233035 6152895 4.2BSD 1024 8192 16 # (Cyl. 6511 - 8873)
g: 3277197 63 MSDOS # (Cyl. 0*- 3467*)
# cat /etc/fstab
/dev/wd0e / ffs rw 1 1
/dev/wd0b none swap sw 0 0
/dev/wd0a /v14 ffs rw 1 2
/dev/wd0f /home ffs rw 1 2
/dev/wd0g /win98 msdos rw,noauto 1 2
--
Zdenek Salvet salvet@ics.muni.cz
Ustav vypocetni techniky Masarykovy univerzity, Brno
tel.: ++420-5-41 512 257 Fax: ++420-5-41 212 747
----------------------------------------------------------------------------
If God had meant for us to be in the Army,
we would have been born with green, baggy skin.