{"id":425,"date":"2020-04-12T09:47:48","date_gmt":"2020-04-12T00:47:48","guid":{"rendered":"https:\/\/blog.hgrs.me\/?p=425"},"modified":"2020-04-12T09:47:48","modified_gmt":"2020-04-12T00:47:48","slug":"macos-%e3%81%a7-raspberry-pi-%e7%94%a8%e3%81%ab-raspbian-%e3%82%92-sd-%e3%82%ab%e3%83%bc%e3%83%89%e3%81%ab%e7%84%bc%e3%81%8f","status":"publish","type":"post","link":"https:\/\/blog.hgrs.me\/archives\/425.html","title":{"rendered":"macOS \u3067 Raspberry Pi \u7528\u306b Raspbian \u3092 SD \u30ab\u30fc\u30c9\u306b\u713c\u304f"},"content":{"rendered":"

\u306f\u3058\u3081\u306b<\/h2>\n

\u30af\u30ed\u30fc\u30bc\u30c3\u30c8\u306b\u7720\u3063\u3066\u3044\u305f\u30e9\u30ba\u30d1\u30a4\u3092\u6709\u52b9\u6d3b\u7528\u3059\u3079\u304f\u3001\u4e45\u3057\u3076\u308a\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3063\u305f\u306e\u3067\u3001\u305d\u306e\u8a18\u9332\u3067\u3059\u3002<\/p>\n

Raspbian \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n

\u307e\u305a\u306f OS \u672c\u4f53\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n

\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8<\/a><\/p>\n

\u597d\u304d\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u3093\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u50d5\u306f GUI \u74b0\u5883\u304c\u6b32\u3057\u304b\u3063\u305f\u306e\u3067 Raspbian Buster with desktop \u3092\u9078\u3073\u307e\u3057\u305f\u3002<\/p>\n

\"Raspbian<\/p>\n

SD \u30ab\u30fc\u30c9\u306b\u66f8\u304d\u8fbc\u307f<\/h2>\n

SD \u30ab\u30fc\u30c9\u306e\u30a2\u30f3\u30de\u30a6\u30f3\u30c8<\/h3>\n

\u66f8\u304d\u8fbc\u307f\u306b\u5099\u3048\u3066\u3001SD \u30ab\u30fc\u30c9\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u72b6\u614b\u306b\u3057\u307e\u3059\u3002<\/p>\n

\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089 diskutil list<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001SD \u30ab\u30fc\u30c9\u306e\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u74b0\u5883\u306b\u3082\u3088\u308a\u307e\u3059\u304c \/dev\/disk0<\/code> \u3084 \/dev\/disk1<\/code> \u306a\u3069\u306f macOS \u306e\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u305f\u3081\u3001\/dev\/disk2<\/code> \u4ee5\u964d\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\u50d5\u306e\u74b0\u5883\u3067\u306f \/dev\/disk2<\/code> \u3067\u3042\u3063\u305f\u305f\u3081\u3001\u3053\u308c\u4ee5\u964d\u306f \/dev\/disk2<\/code> \u306e\u8868\u8a18\u3092\u4f7f\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u305e\u308c\u306e\u756a\u53f7\u306b\u7f6e\u304d\u63db\u3048\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n

\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n

$ diskutil unmountDisk \/dev\/disk2<\/code><\/pre>\n

OS \u306e\u66f8\u304d\u8fbc\u307f<\/h3>\n

\u66f8\u304d\u8fbc\u307f\u306f dd<\/code> \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001dd if=<path_to_os> of=<disk><\/code> \u306e\u69d8\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u57f7\u7b46\u6642\u70b9\u3067\u6700\u65b0\u306e Raspbian \u3092\u4f7f\u7528\u3057\u3066\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u89e3\u51cd\u3057\u3066\u3042\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

$ sudo dd if=2020-02-13-raspbian-buster.img of=\/dev\/rdisk2 bs=1m<\/code><\/pre>\n

\u3053\u3053\u3067\u3001\u6c17\u3092\u3064\u3051\u305f\u3044\u306e\u304c\u3001\u5148\u307b\u3069\u78ba\u8a8d\u3057\u305f\u30c7\u30d0\u30a4\u30b9\u306f \/dev\/disk2<\/code> \u3067\u3042\u3063\u305f\u306e\u306b\u5bfe\u3057\u3001\u4eca\u56de\u306e\u5165\u529b\u3067\u306f \/dev\/rdisk2<\/code> \u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n

\/dev\/disk2<\/code> \u306f\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306e\u306b\u5bfe\u3057\u3001\/dev\/rdisk2<\/code> \u306f\u76f4\u306b\u30c7\u30d0\u30a4\u30b9\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u3001\u66f8\u304d\u8fbc\u307f\u3092\u9ad8\u901f\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u307e\u305f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e bs=1m<\/code> \u3082\u9ad8\u901f\u5316\u306e\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n

\u3069\u3061\u3089\u3082\u9ad8\u901f\u5316\u306e\u305f\u3081\u306b\u884c\u3063\u3066\u3044\u308b\u306e\u3067\u3001 sudo dd if=2020-02-13-raspbian-buster.img of=\/dev\/disk2<\/code> \u3068\u3044\u3046\u901a\u5e38\u30b3\u30de\u30f3\u30c9\u3067\u3082\u3001\u554f\u984c\u306a\u304f\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n

\u6642\u9593\u306f\u8a18\u9332\u3057\u3066\u307e\u305b\u3093\u304c 5 \u2013 10 \u5206\u7a0b\u5ea6\u3060\u3063\u305f\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n

Raspberry Pi \u3067\u8d77\u52d5\u78ba\u8a8d<\/h2>\n

\u66f8\u304d\u8fbc\u3093\u3060 SD \u30ab\u30fc\u30c9\u3092 Raspberry Pi \u306b\u623b\u3057\u3001\u8d77\u52d5\u3055\u305b\u307e\u3059\u3002\u3061\u3083\u3093\u3068\u8d77\u52d5\u3059\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n

\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u59cb\u307e\u308b\u306e\u3067\u3001\u30ac\u30a4\u30c9\u306b\u6cbf\u3063\u3066\u9032\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n

\u304a\u308f\u308a\u306b<\/h2>\n

\u524d\u306f FreeBSD \u3067\u4f7f\u3063\u3066\u305f\u306e\u3067 Raspbian \u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u8cfc\u5165\u6642\u4ee5\u6765\u3060\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30ac\u30a4\u30c9\u306b\u6cbf\u3063\u3066\u9032\u3081\u308b\u3068\u3081\u3061\u3083\u304f\u3061\u3083\u7c21\u5358\u306b\u4f7f\u3048\u308b\u3093\u3067\u3059\u306d\u3002<\/p>\n

\u3082\u3063\u3068\u82e6\u6226\u3059\u308b\u3082\u306e\u304b\u3068\u601d\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u306f\u3058\u3081\u306b \u30af\u30ed\u30fc\u30bc\u30c3\u30c8\u306b\u7720\u3063\u3066\u3044\u305f\u30e9\u30ba\u30d1\u30a4\u3092\u6709\u52b9\u6d3b\u7528\u3059\u3079\u304f\u3001\u4e45\u3057\u3076\u308a\u306b\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3092\u884c\u3063\u305f\u306e\u3067\u3001\u305d\u306e…<\/p>\n","protected":false},"author":1,"featured_media":427,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[40],"_links":{"self":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts\/425"}],"collection":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/comments?post=425"}],"version-history":[{"count":0,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/posts\/425\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/media\/427"}],"wp:attachment":[{"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/media?parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/categories?post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hgrs.me\/wp-json\/wp\/v2\/tags?post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}