From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 21:39:41 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 196D416A41A for ; Wed, 1 Aug 2007 21:39:41 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by mx1.freebsd.org (Postfix) with ESMTP id ADA7213C461 for ; Wed, 1 Aug 2007 21:39:40 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so235413wxd for ; Wed, 01 Aug 2007 14:39:39 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=TyaspzRLoZTlabhgoZzu6moNqohESWdHzF24n8hAchI02HWf174NItwRhk51zMbsmqUGeU3CSQNwVVC1OjlipO9+3vHwkXQF9Z8clMPuwVcJJo/1+z0roTPk5KhqgjZo2zkX/x9/lHq4nRFgqKfJ4u8TbWNpO+dw2zD3CKu312I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nrXiTkN1kjE1Ups+ueRjTrNgma9J/GGl1/7hw2JFBezDwW4IqHadbbzLn9pt42O7z9p3xsUCtTEu7uAyqshQeayO3VxkP+x802OSXEkr+ayVpCZVnX/1AwwdKFazTopYvKH/oeEyewqT1rwkgrDiTVtp5eGTEa2y09dsdbpWS/M= Received: by 10.70.9.8 with SMTP id 8mr1975655wxi.1186004379106; Wed, 01 Aug 2007 14:39:39 -0700 (PDT) Received: by 10.70.17.10 with HTTP; Wed, 1 Aug 2007 14:39:39 -0700 (PDT) Message-ID: Date: Wed, 1 Aug 2007 15:39:39 -0600 From: "Ross Penner" To: "Reid Linnemann" In-Reply-To: <46B0FB3D.20707@cs.okstate.edu> MIME-Version: 1.0 References: <46B0D50F.8050402@cs.okstate.edu> <46B0FB3D.20707@cs.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Installing from USB Flash Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 21:39:41 -0000 On 8/1/07, Reid Linnemann wrote: > > Written by Ross Penner on 08/01/07 16:21>> > > On 8/1/07, *Reid Linnemann* < lreid@cs.okstate.edu > > > wrote: > > > > Written by Ross Penner on 08/01/07 13:34>> > > > Hi everybody, > > > > > > I'm trying to install a system on a machine that doesn't have an > > optical > > > drive. I plan on using a USB flash drive to do the job and found > a > > > messages from hackers@freebsd.org > > > ( > > > http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg55434.html > > < > http://www.mail-archive.com/freebsd-hackers@freebsd.org/msg55434.html>) > > > about just such a thing. The script provided converts the CD > > image into > > > one suitable for a flashmemory stick. I used and coverted it > > without > > > issue. The instructions say to use dd to prepare the flash drive > so > > > executed > > > #dd if=flashbsd.iso of=/dev/da0 > > > I'm not entirely confident that that was the correct procedure, > > as I'm > > > quite unfamilar with dd. Unfortunetly, I can't seem to get the > > drive to > > > boot. I can mount the filesystem so it seems that prepareing the > > drive > > > was succesful. I'm using a via chipset and yes, the bios is set > > to boot > > > from USB-FDD. I used the 6.2 boot only image. > > > > > > Thanks for any insight you can provide me. > > > > > > Ross > > > > > > > That seems correct to me. You may want to 'bsdlabel -B /dev/da0' > after > > writing the ufs image to it. The script you referenced does this to > the > > image before you write it to the flash drive, so the boot code > should > > already be there... but it appears to have gotten lost. > > > > > > Perhaps it never worked in the first place? > > > > rosbot# bsdlabel -B /dev/da0 > > bsdlabel: partition c doesn't cover the whole unit! > > bsdlabel: An incorrect partition c may cause problems for standard > > system utilities > > > > I didn't do anything to the drive before dd'ing to it. Should have it > > been prepared somehow? I assumed dd would > > take care of partitions. There is a da0a and a da0c in /dev/ . > > > > No, that's just a warning message and does not prevent the bootcode from > being installed. Have you ever booted any other system from this flash > disk on this machine? > I havn't. That's about to be my next step. Thanks for your words of advice.