From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jul 9 18:16:01 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 887E5106566B for ; Fri, 9 Jul 2010 18:16:01 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.re1.yahoo.com (mrout1-b.corp.re1.yahoo.com [69.147.107.20]) by mx1.freebsd.org (Postfix) with ESMTP id 44AC08FC0C for ; Fri, 9 Jul 2010 18:16:00 +0000 (UTC) Received: from [127.0.0.1] (cheese.corp.yahoo.com [216.145.50.99]) by mrout1-b.corp.re1.yahoo.com (8.13.8/8.13.8/y.out) with ESMTP id o69IFMh4074591; Fri, 9 Jul 2010 11:15:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:reply-to:to:cc:in-reply-to:references: content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=shhCpDgg+fGABU9IVNCvdm7GLNMYGgSElGCFq/LwhO4o3joaIu1KUcTS3W4zsKmZ From: Sean Bruno To: Randi Harper In-Reply-To: References: <1278694522.2436.22.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Fri, 09 Jul 2010 11:15:21 -0700 Message-ID: <1278699321.2436.43.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit Cc: "freebsd-sysinstall@freebsd.org" Subject: Re: Silly Sysinstall Tricks, redux X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 18:16:01 -0000 On Fri, 2010-07-09 at 13:10 -0500, Randi Harper wrote: > On Fri, Jul 9, 2010 at 9:55 AM, Sean Bruno wrote: > > Karsten asked for a "proper bug report" so I'll try to comply. > > > > Setup: > > Partition a USB stick into 3 seperate partitions > > -- Part 1: VFAT, 128MB, Grub boot loader and related files > > -- Part 2: Empty partition, 1.2GB, no F/S > > -- Part 3: Empty partition, 1.2GB, no F/S > > > > Download the latest i386 and amd64 USB install images: > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-201006-amd64-memstick.img > > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-201006-i386-memstick.img > > > > I'm using 201006 for now as July hasn't appeared. > > > > dd the downloaded images to each of your empty partions as per common > > instructions: > > dd if=FreeBSD-9.0-CURRENT-201006-amd64-memstick.img of=/dev/da0s2 > > bs=10240 conv=sync > > dd if=FreeBSD-9.0-CURRENT-201006-i386-memstick.img of=/dev/da0s3 > > bs=10240 conv=sync > > > > Setup your grub configuration to boot off of these images: > > e.g. > > title FreeBSD-CURRENT-i386 > > root (hd0,1) > > chainloader +1 > > title FreeBSD-CURRENT-amd64 > > root (hd0,2) > > chainloader +1 > > > > Boot new system off of USB stick, at this point the system will boot > > normally and come up into the sysinstall menu. I can configure drives, > > select packages and things seem to work fine until the I get to the > > "select media from which to install" section where I can chose CD/DVD, > > FTP, HTTP, USB etc. > > > > Selecting USB install fails to find any media. Hence I *ass*ume that > > sysinstall doesn't understand that the media can have more than one > > partition and that I might want to use something other than da0s1 to use > > as my source of packages. > > > > > > Clear? Confusing? Nonsense? :-) > > > > Sean > > > > So, the way I did the USB stuff was a dirty, dirty hack. It looks for > da0a (or c, i can't recall). Eventually, this is going away. But the > jist of it is that you have to dd the memstick to da0, not a slice. :( > > Someday (soon, hopefully) we'll be using labels for install media. > > -- randi Dirty-Dirty Hack Proposal: How about a dialog box option that allows you to select a /dev device to attempt to mount as a install source? The dialogue can pop up when selecting USB install media and default to /dev/da0a Feel free to say, "NO" at this time. :-) Sean