Date: Thu, 27 Dec 2001 18:13:51 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Paolo Losi <paolo@linux.netline.it>, freebsd-questions@FreeBSD.ORG Subject: Re: CURRENT and STABLE on the same HD: any clever recipe? Message-ID: <p05101007b851588f57cb@[128.113.24.47]> In-Reply-To: <20011227215246.A24756@linux.netline.it> References: <20011227215246.A24756@linux.netline.it>
next in thread | previous in thread | raw e-mail | index | archive | help
At 9:52 PM +0100 12/27/01, Paolo Losi wrote: >Hello everyone, > I'm trying to put STABLE and CURRENT on the same HD and looking >for a clever way to do that. It would be nice to have 2 distinct slices >for the installation... It's fairly easy to do, if you have a good understanding of what freebsd is looking for "at install time" and "at bootup time". If you want a simple recipe which should work, try the following: Decide which version of freebsd you want to have first in the layout on the physical disk, and which you want to have second. Decide what sizes you want for both. Start to install the version you wish to have *second* on the disk. In the "fdisk" step, create two slices. Create the first slice the size you want for the first version of freebsd, but mark that as a 'DOS' slice (or probably anything except a freebsd slice). Create the second slice the size you want for the second version of freebsd, and leave that defined as a freebsd slice. Continue on through the installation, putting all the partitions for the second system in that second slice. Note that when you get to the 'disklabel' step, it will only show you the second slice, because the first slice was not marked as a freebsd slice. So, just finish off this installation as if it were the only thing you were installing. Now go back and install whichever version you want to be first on the disk. In the fdisk step, just switch the slice-type from 'DOS' (or whatever you used) to 'FreeBSD'. Do not do anything to that second slice, which already has a version of freebsd installed in it. In the disklabel step, only create new partitions from the first slice. It is probably best to ignore all the partitions which are already defined in the second slice if you do not have a good idea of what is going on. On the other hand, it is mighty tempting to use the same swap-partition for both systems, so you might want to have the second installation use the swap partition from the first install. Continue on through the second installation. This should give you two separate freebsd systems, which you can switch between at bootup time. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu 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?p05101007b851588f57cb>