From owner-freebsd-doc@FreeBSD.ORG Thu Aug 5 19:20:54 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 F3A3D1065678 for ; Thu, 5 Aug 2010 19:20:53 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 65C118FC18 for ; Thu, 5 Aug 2010 19:20:53 +0000 (UTC) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id o75J8AIj076020; Thu, 5 Aug 2010 21:08:10 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.4/8.14.3) with ESMTP id o75J8AVU001628; Thu, 5 Aug 2010 21:08:10 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.4/8.14.3/Submit) id o75J8AU7001627; Thu, 5 Aug 2010 21:08:10 +0200 (CEST) (envelope-from marc) Date: Thu, 5 Aug 2010 21:08:10 +0200 From: Marc Fonvieille To: Glen Barber Message-ID: <20100805190809.GA1537@gothic.blackend.org> References: <201007270230.o6R2U8sg085393@freefall.freebsd.org> <4C54A56E.2050808@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C54A56E.2050808@gmail.com> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) 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 19:20:54 -0000 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: > --- 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 you can remove "release" here, it sounds weird and it's implicit > + 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 if it's a directory then you have to use ISO-IMAGES/ > + 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 Are you sure about the lines length? It should be close to 70 (you should check that for the rest of your patch as well). > + &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 +class="directory" > + different images, and the ones you will need to use depends on the ^ -------------------------- ^ (grammar?) > + version of FreeBSD you are installing, and in some cases, the you should use &os; > + hardware you are installing to. > + > + > + Before proceeding, back up the "back up" or "backup"? > + data you currently have on your USB stick, as this > + procedure will erase it. > + > + > + > + > + Prepare the Memory Stick > + > + > + The example below lists /dev/da0 see "4.2.5.7 Devices" from http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/sgml-markup-docbook.html should be /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 ^ trailing space :) > + 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. > > > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" -- Marc