From owner-freebsd-questions@FreeBSD.ORG  Tue Aug 24 08:04:45 2004
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7950516A4CE
	for <freebsd-questions@freebsd.org>;
	Tue, 24 Aug 2004 08:04:45 +0000 (GMT)
Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3CE8143D3F
	for <freebsd-questions@freebsd.org>;
	Tue, 24 Aug 2004 08:04:44 +0000 (GMT)
	(envelope-from wash@wananchi.com)
Received: from wash by ns2.wananchi.com with local (Exim 4.41 #0 (FreeBSD
	4.10-STABLE))
	id 1BzWIS-000Db4-Nx by authid <wash>; Tue, 24 Aug 2004 11:04:48 +0300
Date: Tue, 24 Aug 2004 11:04:48 +0300
From: Odhiambo Washington <wash@wananchi.com>
To: Incoming Mail List <mailist@whoweb.com>
Message-ID: <20040824080448.GG41956@ns2.wananchi.com>
Mail-Followup-To: Odhiambo Washington <wash@wananchi.com>,
	Incoming Mail List <mailist@whoweb.com>,
	freebsd-questions@freebsd.org
References: <200408232124.i7NLOETx071623@whoweb.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200408232124.i7NLOETx071623@whoweb.com>
X-Disclaimer: Any views expressed in this message,where not explicitly
	attributed otherwise, are mine alone!.
X-Mailer: Mutt 1.5.6i (2004-02-01)
X-Designation: Systems Administrator, Wananchi Online Ltd.
X-Location: Nairobi, KE, East Africa.
User-Agent: Mutt/1.5.6i
cc: freebsd-questions@freebsd.org
Subject: Re: custom boot disk
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Aug 2004 08:04:45 -0000

* Incoming Mail List <mailist@whoweb.com> [20040824 00:25]: wrote:
> 
> Can anyone provide a pointer to a good how-to on creating a customized
> bootable disk?  Specifically, I'm trying to understand:
> 
> 1) How do you create a 64mb (for example) memory file system as part
>    of the boot procedure?
> 
> 2) How do you instruct init to mount the newly created memory file
>    system and then populate via an image containing system files?
> 
> 3) How do you instruct init to start executing a specific shell or
>    "c" program once the memory file system is populated?

There is a project called FreeSBIE. You can start by looking at their
scripts!



-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
If you eat a live frog in the morning, nothing worse will happen to
either of you for the rest of the day.