From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 18:48:02 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 0C448106566C; Mon, 27 Jul 2009 18:48:02 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from guam10.hdk5.net (guam10.hdk5.net [66.180.132.235]) by mx1.freebsd.org (Postfix) with ESMTP id A01118FC14; Mon, 27 Jul 2009 18:48:01 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by guam10.hdk5.net (Postfix) with ESMTP id D1D521CCA0; Mon, 27 Jul 2009 08:30:39 -1000 (HST) Message-ID: <4A6DF24F.30008@hdk5.net> Date: Mon, 27 Jul 2009 08:30:39 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Fbsd1 References: <4A67EC78.1090304@a1poweruser.com> <1248355625.17716.7.camel@localhost> <4A6A96E5.6090900@a1poweruser.com> In-Reply-To: <4A6A96E5.6090900@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions , Randi Harper 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: Mon, 27 Jul 2009 18:48:02 -0000 Fbsd1 wrote: > 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: addr 3> 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 > > > > > _______________________________________________ > 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" > Aloha, I put FreeBSD 7.2 iso (from Maniolis CD/DVD ) on stick (a Sandisk Cruzer 16 GB), and it works fine. This was using the normal install directed to the stick. Booting was not an issue. Maybe your stick is messed up. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol