Skip to content

Instantly share code, notes, and snippets.

@bastinc
Last active January 11, 2016 14:42
Show Gist options
  • Save bastinc/b0341c48cebc10211106 to your computer and use it in GitHub Desktop.
Save bastinc/b0341c48cebc10211106 to your computer and use it in GitHub Desktop.
Créer une carte sd bootable avec Raspbian

Formater la carte sd

sudo fdisk /dev/sdX

# Créer une nouvelle table de partition
o
# Créer une nouvelle partition
n
# Choisir 1 et laisser tout par défaut
#Changer le type de partition
t et choisir b comme code hexa pour Fat 32
# Enregistrer les modifications
w

Pour formater la partition sudo mkfs.vfat /dev/sdX1

Récupérer l'iso au format img.bz2

https://github.com/debian-pi/raspbian-ua-netinst/releases

Copier les fichiers sur la carte

# xzcat /path/to/raspbian-ua-netinst-<latest-version-number>.img.xz > /dev/sdX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment