Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2001 01:51:51 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        lists@lists.grot.org
Cc:        Mike Meyer <mwm@mired.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: installing onto a new drive from a running system 
Message-ID:  <200102230851.f1N8pqW79405@harmony.village.org>
In-Reply-To: Your message of "Thu, 22 Feb 2001 15:38:28 PST." <20010222153828.A70988@mighty.grot.org> 
References:  <20010222153828.A70988@mighty.grot.org>  <20010222152655.A70899@mighty.grot.org> <14997.41233.433901.457458@guru.mired.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010222153828.A70988@mighty.grot.org> lists writes:
: So would that install everything? that is, all I should have to do is newfs
: and install boot blocks before a make installworld to something like /mnt?

Usually I have a script that builds the file systems and boot blocks,
then I do:
    make -m ${FreeBSDSrcDir}/share/mk -f Makefile.inc1 \
        hierarchy DESTDIR=$1 NOMAN=yes
    (cd etc ; make -m ${FreeBSDSrcDir}/share/mk \
        distribution DESTDIR=$1 NOMAN=yes)
    make installworld

(actually, I use a script called mkflash which does the above except
the installworld, it just installs a small piece of the world).

I do this with "4.2-beta+some merged changes" systems that we ship.

Warner

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?200102230851.f1N8pqW79405>