User Tools

Site Tools


operating_systems:linux:debian:flash_card

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
operating_systems:linux:debian:flash_card [2012/08/08 14:21] – [Flash Card] tretoperating_systems:linux:debian:flash_card [2013/10/25 09:57] – [Suppression des partitions] sbolay
Line 6: Line 6:
 ===== Préparation de la carte ===== ===== Préparation de la carte =====
  
-==== Suppression des partitions ==== 
  
-On commence par supprimer les partitions déjà crées sur la carte. +Réinitialise la carte à zéro.
- +
-''debian:/home/sbolay# fdisk /dev/sdb'' +
- +
-    Command (m for help): p +
-         +
-    Disk /dev/sdb: 4000 MB, 4000317440 bytes +
-    124 heads, 62 sectors/track, 1016 cylinders +
-    Units = cylinders of 7688 * 512 = 3936256 bytes +
-    Disk identifier: 0xbf7f3f48 +
-     +
-      Device Boot      Start         End      Blocks   Id  System +
-    /dev/sdb1                    1013     3893941   83  Linux +
-    /dev/sdb2            1014        1016       11532   83  Linux +
-     +
-    Command (m for help): d 1 +
-    Partition number (1-4): 1 +
-     +
-    Command (m for help): p +
-     +
-    Disk /dev/sdb: 4000 MB, 4000317440 bytes +
-    124 heads, 62 sectors/track, 1016 cylinders +
-    Units = cylinders of 7688 * 512 = 3936256 bytes +
-    Disk identifier: 0x00000000 +
-     +
-    Device Boot      Start         End      Blocks   Id  System +
-    /dev/sdb2            1014        1016       11532   83  Linux +
-     +
-    Command (m for help): d 1 +
-    Selected partition 2 +
-     +
-    Command (m for help): p +
-     +
-    Disk /dev/sdb: 4000 MB, 4000317440 bytes +
-    124 heads, 62 sectors/track, 1016 cylinders +
-    Units = cylinders of 7688 * 512 = 3936256 bytes +
-    Disk identifier: 0x00000000 +
-     +
-    Device Boot      Start         End      Blocks   Id  System +
-     +
-    Command (m for help): w +
-    The partition table has been altered! +
-     +
-    Calling ioctl() to re-read partition table. +
-    Syncing disks.  +
- +
-Une fois les partitions supprimées, on réinitialise la carte à zéro.+
  
 ''debian:/home/sbolay# dd if=/dev/zero of=/dev/sdb'' ''debian:/home/sbolay# dd if=/dev/zero of=/dev/sdb''
operating_systems/linux/debian/flash_card.txt · Last modified: 2013/12/20 09:57 by jzaehrin