Date: Thu, 23 Jul 2009 18:15:58 -0700 From: Randi Harper <randi@freebsd.org> To: Sergio de Almeida Lenzi <lenzi.sergio@gmail.com> Cc: freebsd-questions <questions@freebsd.org>, Fbsd1 <fbsd1@a1poweruser.com> Subject: Re: Are all USB Flash Memory sticks bootable? Message-ID: <e277d6c80907231815v4fd558b8if8576a738152206d@mail.gmail.com> In-Reply-To: <1248355625.17716.7.camel@localhost> References: <4A67EC78.1090304@a1poweruser.com> <1248355625.17716.7.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e277d6c80907231815v4fd558b8if8576a738152206d>