From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 01:49:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3F8C16A4CE for ; Wed, 3 Nov 2004 01:49:51 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B37443D1F for ; Wed, 3 Nov 2004 01:49:49 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id iA31nJCZ008401; Wed, 3 Nov 2004 12:19:19 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Wed, 3 Nov 2004 12:19:07 +1030 User-Agent: KMail/1.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1414373.FCvV1IzkBr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411031219.18088.doconnor@gsoft.com.au> X-Spam-Score: -2 () EXCUSE_16,IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03,TO_BE_REMOVED_REPLY,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: "'jtfbsd@jt.net.au'" cc: "Thyer, Matthew" Subject: Re: USB Key Disk Boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 01:49:51 -0000 --nextPart1414373.FCvV1IzkBr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 3 Nov 2004 08:13, joe mcguckin wrote: > Most USB keys don't have a rw/ro switch. Is there a kernel flag you can s= et > to tell FreeBSD that boot device is flash and that writes should be kept = to > a minimum? Can swap space be completely done away with? There is the kernel option NO_SWAPPING. As for writes to an FS.. I think you might want to check out some of the=20 diskless work which uses MFS to hold things. > Thanks! > > Joe > > On 11/2/04 11:51 AM, "Doug White" wrote: > > On Tue, 2 Nov 2004, joe mcguckin wrote: > >> You neglect to state the minimum size USB key for a standard FreeBSD > >> install. > > > > My 4.X router at home has a fairly complete system install in 128MB. > > Thats without any special pruning whatsover, just base+crypto. With some > > work (minibsd, nanobsd, etc.), you can do alot better than that. > > > > Note that I creatd that from a second system and dd'd the flash card ov= er > > so UFS wouldnt' burn out the flash, but I suppose you could install > > direct to it if you odn't plan on writing to the key afterward. UFS do= es > > exra bad things to flash (think superblock updates), so you don't want = to > > leave it read/write for very long. > > > >> -joe > >> > >> > >> On 11/2/04 12:07 AM, "Thyer, Matthew" > >> > >> > >> wrote: > >>> To install onto this device: > >>> > >>> Simply boot your installation media (CD) and do your installing on the > >>> device > >>> "da0" (the first SCSI device - this is likely to be your USB Key unle= ss > >>> you already have SCSI hard disk drives in your system). > >>> > >>> As for booting, you will have to understand how to change your BIOS to > >>> ensure > >>> the correct boot order. Many BIOS's will boot on these devices if you > >>> have "USB-ZIP" as the first boot device. If that doesn't work try > >>> "USB-HDD" or just "USB". > >>> > >>> If your Key device is too small to accommodate a minimal install of > >>> FreeBSD then you will need to investigate the more embedded solutions > >>> such as PicoBSD. > >>> This is an advanced topic which will require an experienced UNIX > >>> specialist to > >>> implement. You may be able to find various how-to type procedures on > >>> the Web > >>> and the FreeBSD handbook should be very useful but this is not > >>> something for the fainthearted. > >>> > >>> As for the booting process, it is described in the manual page for > >>> "boot". > >>> > >>> > >>> Matthew Thyer Phone: +61 8 8259 7249 > >>> Science Corporate Information Systems Fax: +61 8 8259 5537 > >>> Defence Science and Technology Organisation, Edinburgh > >>> PO Box 1500 EDINBURGH South Australia 5111 > >>> > >>> IMPORTANT: This email remains the property of the Australian Defence > >>> Organisation and is subject to the jurisdiction of section 70 of the > >>> CRIMES ACT 1914. If you have received this email in error, you are > >>> requested to contact the sender and delete the email. > >>> > >>> > >>> _______________________________________________ > >>> freebsd-current@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >>> To unsubscribe, send any mail to > >>> "freebsd-current-unsubscribe@freebsd.org" =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1414373.FCvV1IzkBr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBiDke5ZPcIHs/zowRAoZ+AJ92UWQKm75kFD+MwF3Qy3VXoOmtRACdEhHp J9TFEB4ePOMub61kmYkQsZc= =sUPS -----END PGP SIGNATURE----- --nextPart1414373.FCvV1IzkBr--