Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Dec 1998 11:59:39 +0100 (CET)
From:      Michael Ranner <Michael.Ranner@netway.at>
To:        freebsd-stable@FreeBSD.ORG
Subject:   How to install two FreeBSD releases a single disc?
Message-ID:  <XFMail.981206115939.Michael.Ranner@netway.at>

next in thread | raw e-mail | index | archive | help

Hi there!

I like to install FreeBSD 2.2.7 (2.2.8) and 3.0 on the same disc.
Because the FreeBSD boot loader looks for the first compatibility slice, it's
only possible to boot from the first installed release (first slice).

I have tried to change the fdisk information for the first slice
(2.2.7) temporarly from BSD to FAT, then it was possible to boot from the 3.0
release. This is not a very useable workaround because after this, I've to
restore the complete disklabel for the first slice to boot from it.

Any other ideas?

fdisk output:

The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 2088387 (1019 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 129/ sector 63/ head 254

The data for partition 2 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 2088450, size 2088450 (1019 Meg), flag 0
        beg: cyl 130/ sector 1/ head 0;
        end: cyl 259/ sector 63/ head 254

disklabel output for partition 1 and 2 are identical:

  a:    65536        0    4.2BSD        0     0     0   # (Cyl.    0 - 4*)
  b:   524288    65536      swap                        # (Cyl.    4*- 36*)
  c:  2088387        0    unused        0     0         # (Cyl.    0 - 129*)
  e:    65536   589824    4.2BSD        0     0     0   # (Cyl.   36*- 40*)
  f:  1433027   655360    4.2BSD        0     0     0   # (Cyl.   40*- 129*) 


Regards

Mike

/\/\ichael Ranner - Michael.Ranner@netway.at - webmaster@mariazell.org
----------------------------------------------------------------------
        Homepage: http://www.netlounge.at/mranner/
Mariazell Online: http://www.mariazell.org/
----------------------------------------------------------------------

 *  Real  Programmers work for Los Alamos National Laboratory, writing
    atomic bomb simulations to run on Cray YMP supercomputers.

 *  Real Programmers work for the National Security Agency, decoding
    Russian transmissions.

 *  Real Programmers are at work for Boeing  designing the operating
    systems for cruise missiles.

------------------------ END OF TRANSMISSION -------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

--------------End of forwarded message-------------------------

/\/\ichael Ranner - Michael.Ranner@netway.at - webmaster@mariazell.org
----------------------------------------------------------------------
        Homepage: http://www.netlounge.at/mranner/
Mariazell Online: http://www.mariazell.org/
----------------------------------------------------------------------

 *  Real  Programmers work for Los Alamos National Laboratory, writing
    atomic bomb simulations to run on Cray YMP supercomputers.

 *  Real Programmers work for the National Security Agency, decoding
    Russian transmissions.

 *  Real Programmers are at work for Boeing  designing the operating
    systems for cruise missiles.

------------------------ END OF TRANSMISSION -------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.981206115939.Michael.Ranner>