From owner-freebsd-stable@FreeBSD.ORG Tue Oct 9 08:11:46 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A161516A419 for ; Tue, 9 Oct 2007 08:11:46 +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 D26D213C45B for ; Tue, 9 Oct 2007 08:11:45 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id l998BguX079330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Oct 2007 17:41:44 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Vivek Khera Date: Tue, 9 Oct 2007 17:41:34 +0930 User-Agent: KMail/1.9.7 References: <3aaaa3a0705170830g46487cc7occc8a51b82a9118b@mail.gmail.com> <35B2A5CB-FDDE-47E4-A73E-8D93D6D157C4@khera.org> <200706011452.17035.doconnor@gsoft.com.au> In-Reply-To: <200706011452.17035.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2424325.nTARnoWaVY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710091741.42126.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,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: Tue, 09 Oct 2007 08:11:46 -0000 --nextPart2424325.nTARnoWaVY Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 1 Jun 2007, Daniel O'Connor wrote: > The other approach would be to just splat an install CD onto a flash > 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 > > ... actually that won't work because sysinstall doesn't know how to > mount UFS partitions to read dist files :( > > I did look at adding that when I did the patch for FAT partitions but > it's more complex (I wasn't sure of the canonical way to find them.. > Easiest would be to look in /dev I guess) As part of this I wrote a patch that teaches sysinstall how to load=20 install.cfg from a CDROM or DOS partition (eg USB stick). I just submitted a PR but haven't got a number yet, here is the patch.. http://www.gsoft.com.au/~doconnor/sysinstall-cfg-menu.diff Currently I still use DVD for the actual install.. I have booted a sysinstall (I extracted it from mfsroot.gz into /sbin=20 and did 'set init_path=3D/sbin/sysinstall in the loader), however I=20 haven't fully tested it as I ran out of time. The problem is that unless you boot sysinstall as init it goes=20 into "maintenance" mode and will not install stuff properly - by=20 design. If anyone is interested in hacking on this sort of stuff feel free to=20 get it touch with me :) =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 --nextPart2424325.nTARnoWaVY Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHCze95ZPcIHs/zowRAvWGAJ0f7LWQ04tPlvF6xawhoLqgayDn0wCffJdu KjEiiqKvdUG/rcRK8h4GSzQ= =P/v2 -----END PGP SIGNATURE----- --nextPart2424325.nTARnoWaVY--