Date: Thu, 21 Jun 2001 22:56:42 -0600 From: "Samuel Chow" <samuelc@samuelstn.dhs.org> To: <freebsd-small@freebsd.org> Subject: Small FreeBSD installation Message-ID: <000b01c0fad7$bab4d620$0601a8c0@samuelstn.dhs.org>
next in thread | raw e-mail | index | archive | help
> Base system components are not registered with the package
> system, and are installed monolithically. This means that
> you can't omit them in a particular installation.
I am just experimenting with installing FreeBSD
on smaller harddrive. I have a script that does
(basically) the following:
${INSTDEST} is the mount point for the small harddrive
${KERNELNAME} is the kernel config file
make DESTDIR=${INSTDEST} hierarchy
foreach i ( list of things to build )
cd /usr/src/$i
make -DNOPROFILE -DNOMAN -DNOINFO depend
make -DNOPROFILE -DNOMAN -DNOINFO
make DESTDIR=${INSTDEST} -DNOPROFILE -DNOMAN \
-DNOINFO install
end
cd /usr/src/sys/i386/conf
/usr/sbin/config $KERNELNAME
make -DNO_MODULES depend
make -DNO_MODULES
make DESTDIR=${INSTDEST} -DNO_MODULES install
cd /usr/src/etc
make DESTDIR=${INSTDEST} -DNOMAN -DNO_SENDMAIL -DNO_UUCP \
distribution
Now, if you choose your "lists of things to build"[1]
to include everything /etc/rc* requires, and if you
disklabel your harddrive right, you can definitely boot
from your new harddrive. I personally get to a point
where I can actually login to the system. Right now, I
have a ipfw & natd system that needs about 16 MB of
disk space.
[1] It must include sys/boot for the loader,
libexec/rtld-elf for the dynamic linker.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c0fad7$bab4d620$0601a8c0>
