Prepare an SDCard with Noobs for RaspberryPi

  • fdisk -l
  • insert card
  • fdisk -l
  • identity the device e.g. /dev/mmcblk0
  • fdisk /dev/mmcblk0
    • delete partitions (d)
    • list partitions (p)
    • create a partition (n)
    • change partions type (t)
      • use Hex code for fat32 is b
    • Make bootable (a)
    • write partition table (w)
  • format the partition
    • mkfs.vfat /dev/mmcblk0p1

download Noobs
sha256sum <filename>
unzip to partition created above

A very verbose and mega helpful guide can be found here