From owner-freebsd-doc@FreeBSD.ORG Thu Aug 5 23:42:45 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 ADD61106564A; Thu, 5 Aug 2010 23:42:45 +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 3D4348FC08; Thu, 5 Aug 2010 23:42:44 +0000 (UTC) Received: by qwg5 with SMTP id 5so2968534qwg.13 for ; Thu, 05 Aug 2010 16:42:44 -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:cc:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Hl+ixXXBC1jsuwlqk0K/ONPysxmwE+opzgmJw9f38Xg=; b=k7DkSOXTJPDg4z1SWephwjrZJAR7AtZp5XD+9oZVqsvc+rKNLzwYpIO9Zt8741oZ3O 97A3tUND5M5flqMh+IKuX+06Lnn076vYLhbx8amhD9uG6Fv/GdE4AsXo8QxOBGeHTrM5 p22UOX1jU0rxK9io1PE3j2dNUF10GOR7Yy0nA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=TfzdSpIZaETz/ZQm6wLioqiG+8frcfOXVZKwYs/5yt43M0tYR50XsSfKgEvEAcdMXk chAFxeg+tbK3FI/SRAelH91OuEqZfhCtQiNc8KmKCqTNTjtn7VxxqWWZLc2k7VOqPsAe BGSqojz0RYUPosOAqn5zCdqmVxn4xMwhIEaIQ= Received: by 10.229.52.5 with SMTP id f5mr3962881qcg.254.1281051764310; Thu, 05 Aug 2010 16:42:44 -0700 (PDT) Received: from schism.local ([204.108.237.194]) by mx.google.com with ESMTPS id r1sm915522qcq.10.2010.08.05.16.42.40 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Aug 2010 16:42:41 -0700 (PDT) Message-ID: <4C5B4C71.1020208@gmail.com> Date: Thu, 05 Aug 2010 19:42:41 -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: Marc Fonvieille References: <201007270230.o6R2U8sg085393@freefall.freebsd.org> <4C54A56E.2050808@gmail.com> <20100805190809.GA1537@gothic.blackend.org> In-Reply-To: <20100805190809.GA1537@gothic.blackend.org> X-Enigmail-Version: 1.1.1 Content-Type: multipart/mixed; boundary="------------090002080802030506010702" Cc: freebsd-doc@freebsd.org 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: Thu, 05 Aug 2010 23:42:45 -0000 This is a multi-part message in MIME format. --------------090002080802030506010702 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Marc On 8/5/10 3:08 PM, Marc Fonvieille wrote: > On Sat, Jul 31, 2010 at 06:36:30PM -0400, Glen Barber wrote: >> 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 > > > Hello Glen, > > Few comments: [snip in-line comments] Thank you very much for the feedback. Please see the attached patch which addresses the issues you mentioned. Thanks again, and best regards. - -- Glen Barber -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iQEcBAEBAgAGBQJMW0xxAAoJEFJPDDeguUajXi8H+wT+JCTx9+k2JoZgUla8L7pi 6iv2Szy64ISMhDOZ9X3mnboRN/FPDUdZPKTgfSmI4nO5pL4LWax7F7We0sXNqxwT wlLhb0txMdjVhLkIo883/2FwwR1VcchI1QWn2j2KxVAzLM9y2tqzuYrM/WQlYzLS w21m7jV3OQWyDskfgAqlLHdnwZrS9xi3qaDorAhxxj6qut3rxD2L2jjGEHM8/U70 okQ/Dl6u4NeQ1HvUUxLttUYPxZLVL7+555f/Gwgjbz02FlT0loPjjMb9vjOtgZDR pL42V60rEgoxOLTXOIkuID5z6zv9hwmirFQXBoaPN6GuhMWUqRGnBmcxGVJ8++Y= =kX34 -----END PGP SIGNATURE----- --------------090002080802030506010702 Content-Type: text/plain; name="chapter.sgml.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="chapter.sgml.diff" --- 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. --------------090002080802030506010702--