2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacOSXを使ってmicroSDにRaspbianを書き込む

Posted at

MacOSXを使ってmicroSDにRaspbianを書き込む

Raspbianをダウンロードして展開しておく

Raspbianを書き込む先になるmicroSDを特定する

diskutil list

result
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS Macintosh HD            999.3 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk5
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *32.5 GB    disk5
   1:             Windows_FAT_32 NO NAME                 32.5 GB    disk5s1

※今回は/dev/disk5でmicroSDが認識されている
※これを間違えると大惨事になるのでよく確認する

Raspbianを書き込むためmicroSDをアンマウントする

sudo diskutil unmountDisk /dev/disk5

Raspbianを書き込む

sudo dd bs=1m if=/[解凍先のPath]/[解凍したRaspbianイメージ].img of=/dev/disk5
※今回は
sudo dd bs=1m if=~/Downloads/2015-05-05-raspbian-wheezy/2015-05-05-raspbian-wheezy.img of=/dev/disk5

Raspbianを書き込んだmicroSDをアンマウントする

sudo diskutil unmountDisk /dev/disk5

取り外したmicroSDをRaspberry Piに取り付けて起動する

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?