From owner-freebsd-doc@FreeBSD.ORG Sat Jul 31 23:07:09 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E60071065673 for ; Sat, 31 Jul 2010 23:07:09 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED498FC08 for ; Sat, 31 Jul 2010 23:07:09 +0000 (UTC) Received: by qwk3 with SMTP id 3so979249qwk.13 for ; Sat, 31 Jul 2010 16:07:08 -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=jY5LS1W1Liojw87rr4UVMdYm5YADLG2d/tcs4ykyR3o=; b=g+z9vcfLcWpJHaysm40DKLXlPdTO1dakuUpWWuOWHiHjFmLoqIeHNH77wwh67dBFcp TLEnYFmbKHCw1hFi0vyBsovW9pT11WkC1DTZATlE3bLbMoFzGouYIRB0aGlUeMesTJ+m lWCJ/WAcpmYXcnlyrBEq6RYJr9PW88drBxwK4= 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=mWVXzfzz5C6yQ3Lmfp6J90hMR7rUYVZ4BfT5TyPD5Sg+G8iX1OSP1tN4WcDciBubAr cQ275Ty/VO6LfxhsAJm8ulotHuArcMxzMMiK7EkHGXhbONwXxKbLi8Gx045uTWhKT5Ek lr4H9qx6TFGxc57CjREEBmOhc0PRc/5aHkUZo= Received: by 10.220.158.9 with SMTP id d9mr2562101vcx.109.1280615794335; Sat, 31 Jul 2010 15:36:34 -0700 (PDT) Received: from schism.local (c-71-230-240-241.hsd1.pa.comcast.net [71.230.240.241]) by mx.google.com with ESMTPS id e31sm3191887vbm.17.2010.07.31.15.36.31 (version=SSLv3 cipher=RC4-MD5); Sat, 31 Jul 2010 15:36:32 -0700 (PDT) Message-ID: <4C54A56E.2050808@gmail.com> Date: Sat, 31 Jul 2010 18:36:30 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: freebsd-doc@freebsd.org References: <201007270230.o6R2U8sg085393@freefall.freebsd.org> In-Reply-To: <201007270230.o6R2U8sg085393@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------070201040209090401090208" Subject: Re: docs/147347: [request] Missing memstick install setup instructions in Handbook 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: Sat, 31 Jul 2010 23:07:10 -0000 This is a multi-part message in MIME format. --------------070201040209090401090208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I've attached a new patch, which, pointed out by Warren Block off-list, instructs to set kern.geom.debugflags=16, making the USB device bootable. I've also corrected my whitespace issues. :( -- Glen Barber --------------070201040209090401090208 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="chapter.sgml.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="chapter.sgml.diff" --- install/chapter.sgml.orig 2010-07-28 15:32:17.000000000 -0400 +++ install/chapter.sgml 2010-07-31 18:26:49.796116150 -0400 @@ -630,6 +630,10 @@ + A USB Memory Stick + + + A DOS partition on the same computer @@ -695,7 +699,14 @@ 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 can also be downloaded from the floppies directory, ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<arch>/<version>-RELEASE/floppies/. @@ -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. + + + Set the kern.geom.debugflags sysctl + to be able to write a master boot record to the target + device. + + &prompt.root; sysctl kern.geom.debugflags=16 + + + + 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. --------------070201040209090401090208--