From 34d4f8edeb555b716f4cc8145203f68ccabc2dce Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Sat, 7 Aug 2010 08:53:39 +0000 Subject: [PATCH] Add pre-installation tasks relative to the USB memstick. Inform the reader that installation floppies are no longer available for 8.X and above. PR: docs/147347 and docs/149230 Patch submitted by: Glen Barber --- .../books/handbook/install/chapter.sgml | 84 ++++++++++++++++++- 1 file changed, 81 insertions(+), 3 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/install/chapter.sgml b/en_US.ISO8859-1/books/handbook/install/chapter.sgml index 89124a9c2a..212f9ad2d9 100644 --- a/en_US.ISO8859-1/books/handbook/install/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/install/chapter.sgml @@ -629,6 +629,10 @@ pqb0.0.1.4.0 PQB0 PCI EIDE A CDROM or DVD + + A USB Memory Stick + + A DOS partition on the same computer @@ -679,7 +683,7 @@ pqb0.0.1.4.0 PQB0 PCI EIDE the operating system installed on your hard disk, but it can also be configured to use a bootable floppy disk. Most modern computers can also - boot from a CDROM in the CDROM drive. + boot from a CDROM in the CDROM drive or from a USB disk. If you have FreeBSD on CDROM or DVD (either one you purchased @@ -690,12 +694,86 @@ pqb0.0.1.4.0 PQB0 PCI EIDE FreeBSD without any other special preparation. + 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>/&os;-&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 + + + To create boot floppy images, follow these steps: Acquire the Boot Floppy Images + + Please note, as of &os; 8.0, floppy disk images are + no longer available. Please see above for instructions + on how to install &os; using a USB memory stick or just + use a CDROM or a DVD. + + 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/. @@ -704,8 +782,8 @@ pqb0.0.1.4.0 PQB0 PCI EIDE with the architecture and the version number which you want to install, respectively. For example, the boot floppy images for - &os;/&arch.i386; &rel.current;-RELEASE are available - from . + &os;/&arch.i386; &rel2.current;-RELEASE are available + from . The floppy images have a .flp extension. The floppies/ directory contains a number of