#pragma section-numbers off #format wiki #pragma supplementation-page on {{{#!wiki caution Stable version to be found: * [[http://www.tldp.org/HOWTO/text/Partitionning-examples|Text version]] * [[http://tldp.org/HOWTO/Partitionning-examples/index.html|Html multiple pages]] * [[http://www.tldp.org/HOWTO/html_single/Partitionning-examples|Html single page]] * [[http://tldp.org/HOWTO/pdf/Partitionning-examples.pdf|PDF]] And other formats as well (may be) on the [[http://tldp.org/docs.html#howto|Stable HOWTOs page]] If necessary use the [[http://wiki.tldp.org/Partitionning-examples?action=supplementation|Discussion page]] to give comments. }}} == Discussion Page Content if any == <> = Partitionning examples = XXXX HOWTO, copyright (c) 2009 john Doe <> == Licence == {{{ Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". }}} [[http://wiki.tldp.org/LdpWikiDefaultLicence#GNUFreeDocumentationLicense|GNU Free Documentation License]] == 2Gb USB key == == Preliminary == Most of the following works have to be made as root. Be very cautious not to key erroneous device names, not to trash your working system. Is it necessary to say this have to be done in an xterm, Konsole or full terminal? It's a very bad idea to partition a mounted device. So after pluggin the device, run ''dmesg'' to see what is it's mount point (if any) and umount it. === fdisk === First start: {{{ fdisk /dev/sdb }}} Prints: {{{ The number of cylinders for this disk is set to 1817. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): }}} As you can read on the last line, fdisk have help included. Read it. Read it anytime, it's very short an any error could be bad. Typing "p" let you see the actual partitionning: {{{ Disk /dev/sdb: 2012 MB, 2012217344 bytes 47 heads, 46 sectors/track, 1817 cylinders Units = cylinders of 2162 * 512 = 1106944 bytes Disk identifier: 0x04030201 Device Boot Start End Blocks Id System /dev/sdb1 1 1818 1964932 6 FAT16 Command (m for help): }}}