summaryrefslogtreecommitdiff
path: root/en/install-methods/boot-usb-files.xml
diff options
context:
space:
mode:
Diffstat (limited to 'en/install-methods/boot-usb-files.xml')
-rw-r--r--en/install-methods/boot-usb-files.xml72
1 files changed, 47 insertions, 25 deletions
diff --git a/en/install-methods/boot-usb-files.xml b/en/install-methods/boot-usb-files.xml
index 64aeb0aff..062aed26f 100644
--- a/en/install-methods/boot-usb-files.xml
+++ b/en/install-methods/boot-usb-files.xml
@@ -13,8 +13,10 @@ it is not you should check that the usb-storage kernel module is loaded.
When the USB stick is inserted, it will be mapped to a device named
<filename>/dev/sdX</filename>, where the <quote>X</quote> is a letter
in the range a-z. You should be able to see to which device the USB
-stick was mapped by running the command <command>dmesg</command> after
-inserting it. To write to your stick, you may have to turn off its write
+stick was mapped by running the command <command>lsblk</command> before
+and after inserting it. (The output of <command>dmesg</command> (as root) is
+another possible method for that.)
+To write to your stick, you may have to turn off its write
protection switch.
</para><warning><para>
@@ -22,7 +24,7 @@ protection switch.
The procedures described in this section will destroy anything already
on the device! Make very sure that you use the correct device name for
your USB stick. If you use the wrong device the result could be that all
-information on for example a hard disk could be lost.
+information on, for example, a hard disk is lost.
</para></warning>
@@ -30,9 +32,11 @@ information on for example a hard disk could be lost.
<title>Preparing a USB stick using a hybrid CD/DVD image</title>
<para>
-Debian installation images can now be written directly to a USB stick,
-which is a very easy way to make a bootable USB stick. Simply choose
-an image (such as the netinst, CD, DVD-1, or netboot) that will fit
+Debian installation images for this architecture are created using the
+<command>isohybrid</command> technology;
+that means they can be written directly to a USB stick,
+which is a very easy way to make an installation media. Simply choose
+an image (such as the netinst, CD or DVD-1) that will fit
on your USB stick. See
<xref linkend="official-cdrom"/> to get an installation image.
@@ -82,25 +86,31 @@ device.
</para><para>
-Create a second, FAT partition on the stick, mount the partition
-and copy or unpack the firmware onto it. For example:
+To do so, use cfdisk or any other partitioning tool to create an additional
+partition on the stick. Then create a (FAT) filesystem on the partition,
+mount it and copy or unpack the firmware onto it, for example with:
<informalexample><screen>
-# mount /dev/<replaceable>sdX2</replaceable> /mnt
+# mkdosfs -n FIRMWARE /dev/sdX3
+# mount /dev/<replaceable>sdX3</replaceable> /mnt
# cd /mnt
# tar zxvf <replaceable>/path/to/</replaceable>firmware.tar.gz
# cd /
# umount /mnt
</screen></informalexample>
-</para><para arch="not-s390">
+Take care that you use the correct device name for your USB stick. The
+<command>mkdosfs</command> command is contained in the
+<classname>dosfstools</classname> &debian; package.
-You might have written the <filename>mini.iso</filename> to the USB
-stick. In this case the second partition doesn't have to be created as,
-very nicely, it will already be present. Unplugging and replugging the
+</para><note><para arch="not-s390">
+
+If you have chosen the <filename>mini.iso</filename> to be written to the USB
+stick, the second partition doesn't have to be created, as -
+very nicely - it will already be present. Unplugging and replugging the
USB stick should make the two partitions visible.
-</para>
+</para></note>
@@ -110,21 +120,32 @@ USB stick should make the two partitions visible.
<title>Manually copying files to the USB stick</title>
<para>
-An alternative way to set up your USB stick is to manually copy
-the installer files, and also an installation image to it.
+Prior to isohybrid technology being used for &debian; installation images, the
+methods documented in the chapters below were used to prepare media for
+booting from USB devices.
+These have been superseded by the technique in <xref linkend="usb-copy-isohybrid"/>,
+but have been left here for educational and historical purposes and in case they
+are useful to some user.
+
+</para><para>
+
+An alternative to the method described in
+<xref linkend="usb-copy-isohybrid"/> is to manually copy
+the installer files, and also an installation image to the stick.
Note that the USB stick should be at least 1 GB in size (smaller
-setups are possible if you follow <xref linkend="usb-copy-flexible"/>).
+setups are possible using the files from netboot, following
+<xref linkend="usb-copy-flexible"/>).
</para><para>
There is an all-in-one file &hdmedia-boot-img;
-which contains all the installer files (including the kernel)
-<phrase arch="x86">as well as <classname>syslinux</classname> and its
-configuration file</phrase>
-<phrase arch="powerpc">as well as <classname>yaboot</classname> and its
+which contains all the installer files (including the
+kernel)<phrase arch="x86"> as well as <classname>syslinux</classname> and its
+configuration file</phrase><phrase arch="powerpc"> as well as
+<classname>yaboot</classname> and its
configuration file</phrase>.
-</para><para>
+</para><note><para>
Note that, although convenient, this method does have one major
disadvantage: the logical size of the device will be limited to 1 GB,
@@ -132,9 +153,9 @@ even if the capacity of the USB stick is larger. You will need to
repartition the USB stick and create new file systems to get its full
capacity back if you ever want to use it for some different purpose.
-</para><para arch="x86">
+</para></note><para arch="x86">
-To use this image simply extract it directly to your USB stick:
+Simply extract this image directly to your USB stick:
<informalexample><screen>
# zcat boot.img.gz &gt; /dev/<replaceable>sdX</replaceable>
@@ -160,7 +181,8 @@ After that, mount the USB memory stick
which will now have
<phrase arch="x86">a FAT filesystem</phrase>
<phrase arch="powerpc">an HFS filesystem</phrase>
-on it, and copy a &debian; ISO image (netinst or full CD/DVD) to it.
+on it, and copy a &debian; ISO image (netinst or full CD; see
+<xref linkend="official-cdrom"/>) to it.
Unmount the stick (<userinput>umount /mnt</userinput>) and you are done.
</para>