How to install Raspbian on the Raspberry Pi
Please share with your friends...
  • 1
  • 1
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    4
    Shares


⇐ BackPageNext ⇒

macOS   macOS

The following instructions explain how to install the Raspbian image on a storage device from macOS without the need for any additional software.

  1. Plug the storage device into your computer, either directly, or using an adapter if required.
  2. Launch Terminal and run the following command:
    diskutil list

    The command will produce output similar to the following:

    /dev/disk0
      #:           TYPE NAME       SIZE      IDENTIF
      0: GUID_partition           *500.3 GB  disk0
      1:            EFI            209.7 MB  disk0s1
      2:  Apple_Storage            399.4 GB  disk0s2
      3:     Apple_Boot Recovery   650.0 GB  disk0s3
      4: Microsoft Data BOOTCAMP   100.0 GB  disk0s4
    /dev/disk1
      #:           TYPE NAME       SIZE      IDENTIF
      0:      Apple_HFS Macintosh  399.1 GB  disk1
    /dev/disk2
      #:           TYPE NAME       SIZE      IDENTIF
      0:FDisk_partition           *4.0 GB    disk2
      1:     DOS_FAT_32 SANDISK    4.0 GB    disk2s1

    Identify the disk number of your storage device. In this example, the Sandisk Cruzer 4GB USB Drive is disk2.

  3. Unmount the storage device using the following command, substituting disk2 with the disk number of the storage device on your system:
    diskutil unmountDisk /dev/disk2

    This command will produce the following message:

    Unmount of all volumes on disk2 was successful.
  4. Change into the Downloads directory, assuming this is where you extracted the downloaded image to:
    cd ~/Downloads/
  5. Begin writing the image to the storage device using the following command, substituting the name of the extracted image file, and disk2 with the disk number of the storage device on your system:
    sudo dd bs=1m if=raspbian.img of=/dev/rdisk2

    If you receive an invalid number ‘1m’ error, then you most likely have GNU coreutils installed. In that case you need to use ‘1M’ instead.

    Depending on the speed of your storage device, this process could take between 5 to 20 minutes to complete.

  6. Once imaging is complete, remove the storage device from your computer and plug it back it to your Raspberry Pi.
  7. Power on your Raspberry Pi, and assuming has gone well, Raspbian will boot from your storage device!

Next, install the latest Raspbian Updates.

⇐ BackPageNext ⇒

How to install Raspbian on the Raspberry Pi

Please share with your friends...
  • 1
  • 1
  •  
  •  
  • 1
  • 1
  •  
  •  
  •  
  •  
    4
    Shares
Tagged on:                                 

Leave a Reply

Your email address will not be published. Required fields are marked *