Skip site navigation (1)Skip section navigation (2)
Date:      13 Oct 2001 18:11:51 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Bob Willcox <bob@immure.com>
Cc:        current list <freebsd-current@freebsd.org>
Subject:   Re: Best way to get a system on current?
Message-ID:  <xzpr8s7h648.fsf@flood.ping.uio.no>
In-Reply-To: <20011012111534.C49550@luke.immure.com>
References:  <20011012111534.C49550@luke.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bob Willcox <bob@immure.com> writes:
> I am interested in what is the best way to get a test system running
> current?

If you can move the disk to another machine, just disklabel and newfs
it manually, then download a -CURRENT snapshot and install at the bin
distribution manually, then build the rest from sources.  Assuming the
disk you're installing to is /dev/ad2:

# dd count=20 </dev/zero >/dev/ad2
# disklabel -rw ad2 auto
# disklabel -e ad2
[edit the label]
# newfs -U -c 22 /dev/ad2a
[repeat for every partition you created]
# mount /dev/ad2a /mnt
# mkdir /mnt/var /mnt/usr
[mount /mnt/var, /mnt/usr etc.]
# mkdir -p /tmp/dist/bin
# cd /tmp/dist
# pftp -a current.freebsd.org
ftp> cd /pub/FreeBSD/snapshots/i386/5.0-20011012-CURRENT
ftp> prompt
ftp> binary
ftp> mget bin
ftp> quit
# cd bin
# env DESTDIR=/mnt sh install.sh
[answer yes]
# disklabel -B -b /mnt/boot/boot1 -s /mnt/boot/boot2 ad2
# ln /mnt/kernel.GENERIC /mnt/kernel
[unmount everything, power down]
[move the disk back to the other machine and boot]
[download a -CURRENT source tree or the repo]
[make world and kernel]

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

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




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