From owner-freebsd-doc@FreeBSD.ORG Tue Jul 20 13:31:22 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED3FD1065676 for ; Tue, 20 Jul 2010 13:31:22 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 966E98FC17 for ; Tue, 20 Jul 2010 13:31:22 +0000 (UTC) Received: by vws19 with SMTP id 19so7475123vws.13 for ; Tue, 20 Jul 2010 06:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=PDW/XSpeiC0SGWudrfDENfQGL0GTXZRdaDiI3kmgYq8=; b=V8Mp5RocPK6JGNfARZXxRS2b8z0Z8rEcsWZPmZKTNFwB7Sm3jpLAByD/Cb8/V0UpnW YehzznwQwWbXUi75spdf8DsTkXaEnhPyOPzQ/emv5f+5xBSuc0NsrPkorAROWykvPfVD ZOBB8kzwsNcKHStOjYK+VXnH29C1korDj1kBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=QNTYx/nR8IIyIULt4KDISa5rSqi+gDQpAcOrfqODCQpRI3i1bcWu2x1B2zBfZHgd2R pnMq5RLCcN9uRU31h9W8N6PkYXWw2ZukHrZ7375Kxh60iIh6bC9YYL+uiygErfzsLqpA 64jeFuZ5SiC+XKkAmBe6vEIhGyRGK4n4CFY2Y= Received: by 10.220.76.200 with SMTP id d8mr4151388vck.261.1279632681697; Tue, 20 Jul 2010 06:31:21 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id l36sm16030144vbi.10.2010.07.20.06.31.19 (version=SSLv3 cipher=RC4-MD5); Tue, 20 Jul 2010 06:31:20 -0700 (PDT) Message-ID: <4C45A526.1010209@gmail.com> Date: Tue, 20 Jul 2010 09:31:18 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: doc@FreeBSD.org References: <4C44F9D3.9060009@gmail.com> <4C4580C2.5080000@gmail.com> In-Reply-To: <4C4580C2.5080000@gmail.com> Content-Type: multipart/mixed; boundary="------------030103090907030709050109" Cc: Subject: Re: docs/147347: [patch][handbook] Request for comments on memstick install instructions X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 13:31:23 -0000 This is a multi-part message in MIME format. --------------030103090907030709050109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 7/20/10 6:56 AM, Glen Barber wrote: > > Now, when I had done my USB install, I had a problem where the USB stick > was not bootable until I zeroed the first 1k blocks. I did have previous > data on the device, which perhaps was the problem. dd-ing the .img to > the device wrote the information as expected; I just could not boot from > it. I left this part in, as I personally ran into this, though I removed > labeling and newfs-ing. > In addition to the above change, I missed a few tags. The attached patch has this fixed. Regards, -- Glen Barber --------------030103090907030709050109 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="handbook.install.sgml.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="handbook.install.sgml.diff" --- handbook/install/chapter.sgml.orig 2010-07-19 17:03:42.763886000 -0400 +++ handbook/install/chapter.sgml 2010-07-20 08:44:18.609955721 -0400 @@ -630,6 +630,10 @@ + A USB Memory Stick + + + A DOS partition on the same computer @@ -695,6 +699,13 @@ Acquire the Boot Floppy Images + + + Please note, as of &os; release 8.0, floppy disk + images are no longer available. Please see below for + instructions on how to install &os; using a USB memory + stick. + The boot disks are available on your installation media in the floppies/ directory, and @@ -799,6 +810,70 @@ + To create a bootable memory stick, follow these steps: + + + + Acquire the Memory Stick Image + + The memory stick image can be downloaded from the + ISO-IMAGES/ directory from + ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<arch>/ISO-IMAGES/<version>/&rel.current;-RELEASE-<arch>-memstick.img. + Replace <arch> and + <version> + with the architecture and the version number + which you want to install, respectively. + For example, the memory stick images for + &os;/&arch.i386; &rel.current;-RELEASE are available + from . + + The memory stick image has a .img extension. + The ISO-IMAGES/ directory contains a number of + different images, and the ones you will need to use depends on the + version of FreeBSD you are installing, and in some cases, the + hardware you are installing to. + + + Before proceeding, back up the + data you currently have on your USB stick, as this + procedure will erase it. + + + + + Prepare the Memory Stick + + + The example below lists /dev/da0 + as the target device from which you will be booting. Be + very careful that you have the correct device as the + output target, or you may destroy your existing + data. + + + Replacing da0 with the + device your memory stick shows up as, erase the current + data from the memory stick. + + &prompt.root; dd if=/dev/zero of=/dev/da0 bs=1k count=1 + + + + Write the Image File to the Memory Stick + + The .img file is + not a regular file you copy to the + memory stick. It is an image of the complete contents of + the disk. This means that you cannot + simply copy files from one disk to another. Instead, you + must use &man.dd.1; to write the images directly to the + disk: + + &prompt.root; dd if=&rel.current;-RELEASE-&arch.i386;-memstick.img of=/dev/da0 bs=64k + + + + You are now ready to start installing FreeBSD. --------------030103090907030709050109--