From owner-freebsd-small Thu Jun 21 21:56:47 2001 Delivered-To: freebsd-small@freebsd.org Received: from samuelstn.dhs.org (h24-68-194-62.cg.shawcable.net [24.68.194.62]) by hub.freebsd.org (Postfix) with SMTP id 2684837B401 for ; Thu, 21 Jun 2001 21:56:44 -0700 (PDT) (envelope-from samuelc@samuelstn.dhs.org) Received: (qmail 52171 invoked from network); 22 Jun 2001 04:56:42 -0000 Received: from celeron (192.168.1.6) by homeserver with SMTP; 22 Jun 2001 04:56:42 -0000 Message-ID: <000b01c0fad7$bab4d620$0601a8c0@samuelstn.dhs.org> From: "Samuel Chow" To: Subject: Small FreeBSD installation Date: Thu, 21 Jun 2001 22:56:42 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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