From owner-freebsd-questions@FreeBSD.ORG Fri Jul 24 01:47:01 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 BCD741065672 for ; Fri, 24 Jul 2009 01:47:01 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 718398FC15 for ; Fri, 24 Jul 2009 01:47:01 +0000 (UTC) (envelope-from sektie@gmail.com) Received: by qyk29 with SMTP id 29so1766871qyk.3 for ; Thu, 23 Jul 2009 18:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=UsCLD6x7daclucYvkX+legH+syBmB5lnQybNoOcnxy8=; b=LtV5Rwf4psbfz3QniREAOy0/ptX4hSQO+zjdxXYIQYMAPcf5T61dmQXayUClitIWy7 MjCEG829bnbg2T4M99JTlBcvAPtOO/RE0RBcyBmmM0N7ieaNJT2QNb6BiEG/jJJntQ2p bsPlifN3JNM7PaAyoA7cNyD0EXuzIeJnzPugM= 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; b=shhe3dt8pCXLQDsebl3LqCC5ThCB3cgMQoxFOruYTVNH+pPjzpl/+KHFh5fvl43lSK An7AxwA/+81T7qUVytCi+5jxMO0Yz+55DdZMMHxhfym7QC1tcDWZZrDKxoS2Cd2Q2iFN kjXPd27kI1a5UdrmyNeKbKSBhsBGpJhVEy3Zg= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.229.90.207 with SMTP id j15mr731551qcm.5.1248398158479; Thu, 23 Jul 2009 18:15:58 -0700 (PDT) In-Reply-To: <1248355625.17716.7.camel@localhost> References: <4A67EC78.1090304@a1poweruser.com> <1248355625.17716.7.camel@localhost> Date: Thu, 23 Jul 2009 18:15:58 -0700 X-Google-Sender-Auth: 21b654c885291750 Message-ID: From: Randi Harper To: Sergio de Almeida Lenzi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions , Fbsd1 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: Fri, 24 Jul 2009 01:47:02 -0000 On Thu, Jul 23, 2009 at 6:27 AM, Sergio de Almeida Lenzi < lenzi.sergio@gmail.com> wrote: > Em Qui, 2009-07-23 =E0s 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.... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > dd count=3D100 if=3D/dev/zero of=3D/dev/da0 > fdisk -BI da0 > sade > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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