Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 14:28:54 +0200
From:      Thierry Herbelot <Thierry.Herbelot@alcatel.fr>
To:        Ian Edwards <ian@concerto.demon.co.uk>
Cc:        FreeBSD questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Installing 2nd copy of FreeBSD
Message-ID:  <37610106.597C0ED4@telspace.alcatel.fr>
References:  <XFMail.990611121728.ian@concerto.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

When I went to 3.0, I also had a 2.2.8-S partition that I wanted to
preserve (in the same way as you : on the same disk).

The problem comes from the old bootblocks (used in 2.x and 3.0) which
can only see one bootable FreeBSD partition on a disk.

If you look in the archives, you will find a post by Greg Lehey,
explaining how ot install a second version of FreeBSD in a "e" BSD
partition in lieu of a "a" partition (In this way : in the same "DOS"
partition, you cut a "a" partition for the root part of BSD no1, other
partitions as you like for swap, var, ..., then the "e" partition to
install the 2nd BSD root partition - you may have these partitions in
your da0s3 and all other partitions (/usr : on for each BSD version
/home...) in the second BSD partition (da0s2).

I found that an easier way was to buy a second disk and have one release
of FreeBSD on each disk (with the swap and /home partitions shared
between the two). 

Either way, have a long look at the disklabel man page.

	TfH

Ian Edwards wrote:
> 
> Hello,
> 
> I am trying to instal two copies of FreeBSD 3.0 onto the same disk - one
> will get upgraded to -stable, the other to -current.
> 
> Using install floppies from the FreeBSD 3.0 CD.
> 
> Disk (Quantum 6GB SCSI C/H/S = 783/255/63 on BusLogic BT-948) is sliced
> 
>     da0s1 47MB  id=6 DOS
>     da0s2 1024M id=160
>     da0s3 1024M id=165 FreeBSD
> 
> I have installed 3.0 into da0s3 and it seems OK.
> 
> When I try to install into da0s2 I change the slice id (in the FreeBSD
> slice editor the installation floppy starts) to 165.  When I get to
> the FreeBSD Disklabel Editor and try to create a 64MB root filesystem
> it says
> 
> "This region cannot be used for your root partition as the FreeBSD boot
>  code cannot deal with a root partition created in that location."
> 
> What is the problem ?
> 
> I have tried setting the id of slice da0s3 to 160 so the installation
> does not see the existing copy of FreeBSD but this does not help.
> 
> Thanks,
> Ian.
> 
>  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>   E-mail: Ian Edwards <ian@concerto.demon.co.uk>
>   Date:   11-Jun-99             Time:   12:17:28
> 
>   Early Music Record Labels    - http://www.concerto.demon.co.uk/
>   The 'ups' debugger for C/C++ - http://www.concerto.demon.co.uk/UPS/
>  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Thierry Herbelot <thierry.herbelot@alcatel.fr>
Phone : (+33) 1 46 52 47 23
Home Page : http://perso.cybercable.fr/herbelot


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37610106.597C0ED4>