Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 07:21:18 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Warren Block <wblock@wonkity.com>
Cc:        Kenta Suzumoto <kentas@hush.com>, freebsd-questions@freebsd.org
Subject:   Re: Reinstall without reformat
Message-ID:  <20131014072118.8a49bd58.freebsd@edvax.de>
In-Reply-To: <alpine.BSF.2.00.1310132258540.82895@wonkity.com>
References:  <20131013172430.71AA26018E@smtp.hushmail.com> <20131014040742.d03fa5bd.freebsd@edvax.de> <alpine.BSF.2.00.1310132258540.82895@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 13 Oct 2013 23:01:02 -0600 (MDT), Warren Block wrote:
> On Mon, 14 Oct 2013, Polytropon wrote:
> 
> > On Sun, 13 Oct 2013 13:24:30 -0400, Kenta Suzumoto wrote:
> >> Hi all. Is it possible to install FreeBSD without formatting the disk?
> >
> > Yes. The installer supports not formatting existing partitions.
> > The file system characteristica will be kept, possible content
> > will overwritten. Note that "superfluous content" will also be
> > kept, except of course you previously remove everything.
> 
> sysinstall supported that, but AFAIK bsdinstall does not.

Oh, seems you're right. I've checked The FreeBSD Handbook for
the relevant instructions for using bsdinstall at

http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html

and

http://www.freebsd.org/doc/handbook/bsdinstall-final-warning.html

and I didn't find an option to _not_ initialize existing partitions,
even though it seems you can assign existing partitions without any
problem. The remaining question: Will they be initialized again?

I know that sysinstall had the option "newfs toggle" so you could
skip the newfs step after you had assigned the existing partitions
to the desired mountpoints.

It can be seen at

http://www.freebsd.org/doc/handbook/install-steps.html

in Fig. 3.19 and 3.24.

I have to admit that I didn't assume such a significant loss of
functionality (that sysinstall provided!) in the new installer... :-(

That's why maybe manually extracting the distribution files from
the installation media, using the CLI tools, would probably the
easiest thing: Manually mount existing partitions as desired,
then extract the installation datasets, and apply any further
modifications as needed.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20131014072118.8a49bd58.freebsd>