From owner-freebsd-questions@FreeBSD.ORG Sat Jul 25 05:24:07 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0C28106564A; Sat, 25 Jul 2009 05:24:07 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id B8B808FC19; Sat, 25 Jul 2009 05:24:07 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from [10.0.10.3] ([202.69.173.123]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Jul 2009 22:22:54 -0700 Message-ID: <4A6A96E5.6090900@a1poweruser.com> Date: Sat, 25 Jul 2009 13:23:49 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Randi Harper References: <4A67EC78.1090304@a1poweruser.com> <1248355625.17716.7.camel@localhost> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 25 Jul 2009 05:22:54.0745 (UTC) FILETIME=[F6957890:01CA0CE7] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-questions Subject: Re: Are all USB Flash Memory sticks bootable? 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: Sat, 25 Jul 2009 05:24:08 -0000 Randi Harper wrote: > On Thu, Jul 23, 2009 at 6:27 AM, Sergio de Almeida Lenzi < > lenzi.sergio@gmail.com> wrote: > >> Em Qui, 2009-07-23 ās 12:52 +0800, Fbsd1 escreveu: >> Hello.... >> >> I found here that some bios does have problem with booting >> from partitions they do not know.... >> >> So first I initialize the USB stick with.... >> ========== >> dd count=100 if=/dev/zero of=/dev/da0 >> fdisk -BI da0 >> sade >> ========== >> than edit the partitions... >> ls /dev/da* should show da0s1 da0s2 >> than.... >> disklabel -wB da0s1 >> disklabel -wB da0s2 >> newfs -L Freebsd7 da0s1a >> newfs -L Freebsd8 da0s2a >> boot0cfg -vB da0 >> ============ >> mount the partitions, copy the files >> boot from the usb... it will show you the F1 F2 chooser.... >> >> for me, this worked >> >> >> Sergio > > > Just to clarify, are you trying to boot from a USB stick that you've > installed FreeBSD onto, or is this a USB stick that you've dd'ed the > memstick.img to? > > You should NOT use disklabel on a usb stick that you're dd'ing the > memstick.img to. > > -- randi > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Here I will try to re-state the problem. I have two USB Flash Memory sticks. One is a 2GB stick and the other is a 8GB stick. I can install Freebsd 8.0 from disc1 cd onto the 2GB stick or dd the memstick.img to the 2GB stick and in both cases it will boot just fine. When I repeat the same procedure using the 8GB stick it will not boot. AS a test I have fdisk'ed the 8GB stick under MS/XP and loaded files to it ok. The only thing I see different between the 2 memsticks is in the messages 7.2 issues when the sticks get plugged in. Take note of the revision level differences between them. 2.00/1.00 versus rev 2.00/2.00 The only other guess I have is that the usb code in 7.2 has am error in it. Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09 umass0: on uhub1 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 1.000MB/s transfers da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C) GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d. # 3 year old 2GB Kingston DataTraveler umass1: on uhub1 da1 at umass-sim1 bus 1 target 0 lun 0 da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device da1: 1.000MB/s transfers