From owner-freebsd-doc@FreeBSD.ORG Fri Aug 6 14:20:03 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CA7E1065677 for ; Fri, 6 Aug 2010 14:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 701D18FC14 for ; Fri, 6 Aug 2010 14:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o76EK364085789 for ; Fri, 6 Aug 2010 14:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o76EK3hR085788; Fri, 6 Aug 2010 14:20:03 GMT (envelope-from gnats) Date: Fri, 6 Aug 2010 14:20:03 GMT Message-Id: <201008061420.o76EK3hR085788@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Glen Barber Cc: 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 Reply-To: Glen Barber List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2010 14:20:03 -0000 The following reply was made to PR docs/147347; it has been noted by GNATS. From: Glen Barber To: bug-followup@FreeBSD.org, lukek@linux.ca Cc: Marc Fonvieille Subject: Re: docs/147347: [request] Missing memstick install setup instructions in Handbook Date: Fri, 06 Aug 2010 10:17:59 -0400 This is a multi-part message in MIME format. --------------010002080307020400060302 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit The attached patch, discussed on doc@, adds instructions on creating a bootable memory stick installer. -- Glen Barber --------------010002080307020400060302 Content-Type: text/plain; name="chapter.sgml.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="chapter.sgml.txt" --- install/chapter.sgml.orig 2010-08-05 19:12:01.000000000 -0400 +++ install/chapter.sgml 2010-08-05 19:28:09.000000000 -0400 @@ -630,6 +630,10 @@ + A USB Memory Stick + + + A DOS partition on the same computer @@ -695,7 +699,13 @@ Acquire the Boot Floppy Images - + + + Please note, as of &os; 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 +809,66 @@ + 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 one you will need + to use will depend on the version of &os; 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 image + 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. --------------010002080307020400060302--