From owner-freebsd-stable@FreeBSD.ORG Fri Jun 1 05:22:38 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B11D16A473 for ; Fri, 1 Jun 2007 05:22:38 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 02EC413C48A for ; Fri, 1 Jun 2007 05:22:37 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp80-24.lns10.adl6.internode.on.net [121.45.80.24]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l515MV4O093014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Jun 2007 14:52:34 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Vivek Khera Date: Fri, 1 Jun 2007 14:52:02 +0930 User-Agent: KMail/1.9.5 References: <3aaaa3a0705170830g46487cc7occc8a51b82a9118b@mail.gmail.com> <200705311519.18942.doconnor@gsoft.com.au> <35B2A5CB-FDDE-47E4-A73E-8D93D6D157C4@khera.org> In-Reply-To: <35B2A5CB-FDDE-47E4-A73E-8D93D6D157C4@khera.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4279386.EVcLQ1POcY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706011452.17035.doconnor@gsoft.com.au> X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.58 on 203.31.81.10 Cc: FreeBSD Stable List Subject: Re: Unable to install FreeBSD from external USB cdrom X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 05:22:38 -0000 --nextPart4279386.EVcLQ1POcY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 01 June 2007 04:58, Vivek Khera wrote: > On May 31, 2007, at 1:49 AM, Daniel O'Connor wrote: > > Thanks so much, now I can have an automated install on a USB stick > > :) > > please, please, please share the recipes to make this. I would love > to omit CD rom drives on my future systems as the only thing i ever > use them for is install. > > also, can you run "fixit" mode from your USB stick, too? I haven't actually done it yet, however I was thinking of making a basic=20 =46reeSBIE disk but split it into a UFS and a DOS partition. I'd put the=20 dist files on the FAT partition as well as a tar ball I splat over the=20 disk after install (that contains all the packages etc.. it is much=20 faster than pkg_add which is what I used to use, it is also more easily=20 tweaked). The FAT partition would also have an install.cfg which sysinstall could=20 read (I have sysinstall patches for this). The reason for using FAT to store the dist files etc is that it would=20 allow people to easily tweak the config and the like (useful in our=20 situation probably less so for you) One thing I'm not sure about is how to run sysinstall after boot. A=20 normal install CD uses it as init but I don't think that will work very=20 well here since FreeSBIE works differently. The other approach would be to just splat an install CD onto a flash=20 disk, eg.. fdisk -BI /dev/da0 bsdlabel -w -B /dev/da0s1 newfs -b 4096 -f 512 -i 8192 -O1 -U /dev/da0s1 mount /dev/da0s1a /mnt cd /mnt tar zxf /dev/acd0 umount /mnt =2E.. actually that won't work because sysinstall doesn't know how to=20 mount UFS partitions to read dist files :( I did look at adding that when I did the patch for FAT partitions but=20 it's more complex (I wasn't sure of the canonical way to find them..=20 Easiest would be to look in /dev I guess) =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 --nextPart4279386.EVcLQ1POcY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBGX60I5ZPcIHs/zowRApp5AJ9EUqIxMEmeLd3lFVUwddRV2leEuQCdGy/O 7eby0sO7Os1dLVFmPy53Q4k= =xEkH -----END PGP SIGNATURE----- --nextPart4279386.EVcLQ1POcY--