Stable version to be found:

And other formats as well (may be) on the Stable HOWTOs page

If necessary use the 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".

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):  

Partitionning-examples (last edited 2009-03-15 19:45:58 by jdd)