From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jul 9 18:10:45 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 04145106568A for ; Fri, 9 Jul 2010 18:10:45 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A75E48FC1E for ; Fri, 9 Jul 2010 18:10:44 +0000 (UTC) Received: by vws6 with SMTP id 6so3506089vws.13 for ; Fri, 09 Jul 2010 11:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=ZcBtTgBT1MN5dcvFRTeMtDqKainE6SK5X5kRzrWYXhk=; b=WLGuOfofPnheNuE03YdJCQzoJ2c4AyF6eYG8HIiudGmB14UK+S9iy7wCdKCoJhdNKs PX6jXWIHJ6boDaXUqMriHEJumLOgyICd0dwCJE2zIMagE2HWOrlwfPgZTRbVkt3ZQeYQ cJw2J+eUftXHw+gPnzNEZ3cU8pzVLm5EDEwF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=cdNwh66Mwq219yI7U6cWcDfSfVNq1gn7G1HAkK2KS+j0mg+eEfCkvlk9JBzyqBoohT +MZVM4tKvLcaVfuIrOJHIKVct6ieW7CY6MK4HC/y+ekYNG/ENcO6dNvwfzMb45MlWqVl K10wD92BWPNbN41rnZeRb6Ada/86pn2cqgZ10= MIME-Version: 1.0 Received: by 10.220.61.9 with SMTP id r9mr5075200vch.263.1278699036254; Fri, 09 Jul 2010 11:10:36 -0700 (PDT) Sender: sektie@gmail.com Received: by 10.220.174.42 with HTTP; Fri, 9 Jul 2010 11:10:36 -0700 (PDT) In-Reply-To: <1278694522.2436.22.camel@localhost.localdomain> References: <1278694522.2436.22.camel@localhost.localdomain> Date: Fri, 9 Jul 2010 11:10:36 -0700 X-Google-Sender-Auth: 0AcBX5nDjuCziB9MgvC8VgYXE8c Message-ID: From: Randi Harper To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 18:10:45 -0000 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: > =A0 =A0 =A0 =A0Partition a USB stick into 3 seperate partitions > =A0 =A0 =A0 =A0-- Part 1: VFAT, 128MB, Grub boot loader and related files > =A0 =A0 =A0 =A0-- Part 2: Empty partition, 1.2GB, no F/S > =A0 =A0 =A0 =A0-- Part 3: Empty partition, 1.2GB, no F/S > > =A0 =A0 =A0 =A0Download the latest i386 and amd64 USB install images: > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-20= 1006-amd64-memstick.img > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201006/FreeBSD-9.0-CURRENT-20= 1006-i386-memstick.img > > =A0 =A0 =A0 =A0I'm using 201006 for now as July hasn't appeared. > > =A0 =A0 =A0 =A0dd the downloaded images to each of your empty partions as= per common > instructions: > =A0 =A0 =A0 =A0dd if=3DFreeBSD-9.0-CURRENT-201006-amd64-memstick.img of= =3D/dev/da0s2 > bs=3D10240 conv=3Dsync > =A0 =A0 =A0 =A0dd if=3DFreeBSD-9.0-CURRENT-201006-i386-memstick.img of=3D= /dev/da0s3 > bs=3D10240 conv=3Dsync > > =A0 =A0 =A0 =A0Setup your grub configuration to boot off of these images: > =A0 =A0 =A0 =A0e.g. > =A0 =A0 =A0 =A0title FreeBSD-CURRENT-i386 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root (hd0,1) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0chainloader +1 > =A0 =A0 =A0 =A0title FreeBSD-CURRENT-amd64 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0root (hd0,2) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0chainloader +1 > > =A0 =A0 =A0 =A0Boot new system off of USB stick, at this point the system= will boot > normally and come up into the sysinstall menu. =A0I 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. > > =A0 =A0 =A0 =A0Selecting USB install fails to find any media. =A0Hence 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. > > > =A0 =A0 =A0 =A0Clear? =A0Confusing? =A0Nonsense? =A0:-) > > 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