{"id":777,"date":"2015-07-02T23:39:23","date_gmt":"2015-07-02T14:39:23","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=777"},"modified":"2015-07-02T23:39:23","modified_gmt":"2015-07-02T14:39:23","slug":"post-777","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/07\/02\/post-777.html","title":{"rendered":"Pi2 \u306b Fedora22"},"content":{"rendered":"
RedHat \u7cfb\u306e\u307b\u3046\u304c\u4ed5\u4e8b\u67c4\u3001\u30b3\u30de\u30f3\u30c9\u304c\u6163\u308c\u3066\u3044\u308b\u306e\u3067RASPBIAN \u3088\u308a\u3001Fedora \u304c\u3044\u3044\u306a\u3041\u3068\u601d\u3063\u3066\u3001\u5165\u3089\u306a\u3044\u306e\u304b\u306a\u3068\u8abf\u3079\u3066\u3044\u305f\u3089\u3001\u3069\u3046\u3084\u3089\u3044\u3051\u308b\u3088\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u3001Pi2 \u3067\u30d6\u30fc\u30c8\u3059\u308bFedora22 \u306e\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u308b\u624b\u9806\u3092\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n
<\/p>\n
\u6e96\u5099\u3059\u308b\u3082\u306e<\/p>\n
\u30fb\u30cd\u30c3\u30c8\u306b\u3064\u306a\u304c\u308b\u3001ubuntu OS (\u30d0\u30fc\u30c1\u30e3\u30eb\u30dc\u30c3\u30af\u30b9)<\/p>\n
\u3053\u308c\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u52d5\u4f5c\u3055\u305b\u3066img \u3092\u4f5c\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n
\u30fbFedora Image Builder for Raspberry Pi 2<\/a><\/p>\n xzdec , git , partx \u306f\u5fc5\u8981\u306a\u3088\u3046\u3067\u3059\u3002<\/p>\n \u203b\u5165\u3063\u3066\u306a\u304b\u3063\u305f\u3089\u3001apt-get install \u5165\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8 \u3067\u5165\u308c\u3066\u306d\u3002<\/p>\n \u30fbFedora \u306e ARM \u7528\u306b\u30d3\u30eb\u30c9\u3055\u308c\u305f\u30a4\u30e1\u30fc\u30b8\u306eURL<\/p>\n http:\/\/ftp.iij.ad.jp\/pub\/linux\/fedora\/releases\/22\/Images\/armhfp\/<\/a> \u4ee5\u4e0b\u306b\u3042\u308a\u307e\u3059<\/p>\n \u56fd\u5185\u306e\u8fd1\u5834\u3060\u3068\u81ea\u5206\u306e\u5834\u5408\u306f\u3001IIJ \u306b\u306a\u308b\u306e\u3067\u4e0a\u8a18\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n \u3044\u308d\u3044\u308d\u3042\u308b\u3051\u3069\u3082\u3001\u3068\u308a\u3042\u3048\u305aFedora-Minimal-armhfp-22-3-sda.raw.xz \u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n <\/p>\n \u25bcStep 1<\/p>\n ubuntu OS \u3092\u30d0\u30fc\u30c1\u30e3\u30eb\u30dc\u30c3\u30af\u30b9\u3078\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002\u5fc5\u8981\u306a\u4e0a\u8a18\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5165\u308c\u308b\u3002<\/p>\n \u81ea\u5206\u306f\u3001\u624b\u5143\u306eiso \u4fdd\u7ba1\u5eab\u306b\u3042\u3063\u305f ubuntu 12.04 LTS \u306b\u3057\u307e\u3057\u305f\u300214 \u3067\u3082\u304a\u597d\u307f\u3067\u3002<\/p>\n <\/p>\n \u25bcStep 2<\/p>\n \u4ee5\u4e0b\u306a\u611f\u3058\u3067\u3001img \u3092\u4f5c\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092git \u304b\u3089\u30b3\u30d4\u30fc<\/p>\n junkhack@ubu:~$ mkdir raspi2 junkhack@ubu:~\/raspi2$ git clone https:\/\/github.com\/spartacus06\/rpi2-fedora-image-builder.git<\/a> \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ed\u30fc\u30ab\u30eb\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002git \u4fbf\u5229\u3067\u3059\u306d\u3002<\/p>\n junkhack@ubu:~\/raspi2$ ll \u30c4\u30ea\u30fc\u69cb\u9020\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n junkhack@ubu:~\/raspi2\/rpi2-fedora-image-builder$ tree .\/ 4 directories, 14 files<\/p>\n<\/blockquote>\n <\/p>\n \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u3001\u4e2d\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n BOOTSIZE=200\nROOTSIZE=3600\nCOMPRESS=0<\/pre>\n<\/p>\n \u00a0<\/p>\n \u3042\u3068\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" RedHat \u7cfb\u306e\u307b\u3046\u304c\u4ed5\u4e8b\u67c4\u3001\u30b3\u30de\u30f3\u30c9\u304c\u6163\u308c\u3066\u3044\u308b\u306e\u3067RASPBIAN \u3088\u308a\u3001Fedora \u304c\u3044\u3044\u306a\u3041\u3068\u601d\u3063\u3066\u3001\u5165\u3089\u306a\u3044\u306e\u304b\u306a\u3068\u8abf\u3079\u3066\u3044\u305f\u3089\u3001\u3069\u3046\u3084\u3089\u3044\u3051\u308b\u3088\u3046\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u4ee5\u4e0b\u306b\u3001Pi2 \u3067\u30d6\u30fc\u30c8\u3059\u308bFedo […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[69],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":1,"uagb_excerpt":"RedHat \u7cfb\u306e\u307b\u3046\u304c\u4ed5\u4e8b\u67c4\u3001\u30b3\u30de\u30f3\u30c9\u304c\u6163\u308c\u3066\u3044\u308b\u306e\u3067RASPBIAN \u3088\u308a\u3001Fedora \u304c\u3044\u3044\u306a\u3041\u3068\u601d\u3063…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/777"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=777"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/777\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
junkhack@ubu:~$ cd raspi2\/<\/p>\n
Cloning into ‘rpi2-fedora-image-builder’…
remote: Counting objects: 80, done.
remote: Total 80 (delta 0), reused 0 (delta 0), pack-reused 80
Unpacking objects: 100% (80\/80), done.
junkhack@ubu:~\/raspi2$ <\/p>\n<\/blockquote>\n\n
\u5408\u8a08 12
drwxrwxr-x 3 junkhack junkhack 4096 7\u6708 2 22:45 .\/
drwxr-xr-x 4 junkhack junkhack 4096 7\u6708 2 22:43 ..\/
drwxr-xr-x 5 junkhack junkhack 4096 7\u6708 2 22:45 rpi2-fedora-image-builder\/
junkhack@ubu:~\/raspi2$
junkhack@ubu:~\/raspi2$ cd rpi2-fedora-image-builder\/
junkhack@ubu:~\/raspi2\/rpi2-fedora-image-builder$ ll
\u5408\u8a08 44
drwxr-xr-x 5 junkhack junkhack 4096 7\u6708 2 22:45 .\/
drwxrwxr-x 3 junkhack junkhack 4096 7\u6708 2 22:45 ..\/
drwxrwxr-x 8 junkhack junkhack 4096 7\u6708 2 22:45 .git\/
-rw-rw-r– 1 junkhack junkhack 54 7\u6708 2 22:45 .gitignore
-rw-rw-r– 1 junkhack junkhack 1108 7\u6708 2 22:45 LICENSE
-rw-rw-r– 1 junkhack junkhack 2507 7\u6708 2 22:45 README.md
-rwxrwxr-x 1 junkhack junkhack 69 7\u6708 2 22:45 clean.sh
-rwxrwxr-x 1 junkhack junkhack 3533 7\u6708 2 22:45 mkimage.sh<\/em>
drwxrwxr-x 2 junkhack junkhack 4096 7\u6708 2 22:45 sample-resources\/
drwxrwxr-x 4 junkhack junkhack 4096 7\u6708 2 22:45 scripts\/
-rw-rw-r– 1 junkhack junkhack 161 7\u6708 2 22:45 settings.conf.example
junkhack@ubu:~\/raspi2\/rpi2-fedora-image-builder$ cp settings.conf.example settings.conf<\/p>\n<\/blockquote>\n\n
.\/
\u251c\u2500\u2500 LICENSE
\u251c\u2500\u2500 README.md
\u251c\u2500\u2500 clean.sh
\u251c\u2500\u2500 mkimage.sh
\u251c\u2500\u2500 sample-resources
\u2502 \u251c\u2500\u2500 config.txt
\u2502 \u251c\u2500\u2500 fbturbo_drv.so
\u2502 \u2514\u2500\u2500 xorg.conf
\u251c\u2500\u2500 scripts
\u2502 \u251c\u2500\u2500 boot
\u2502 \u2502 \u251c\u2500\u2500 10_firmware.sh
\u2502 \u2502 \u2514\u2500\u2500 20_config.sh
\u2502 \u2514\u2500\u2500 root
\u2502 \u251c\u2500\u2500 10_modules.sh
\u2502 \u251c\u2500\u2500 20_fstab.sh
\u2502 \u2514\u2500\u2500 30_fbturbo.sh
\u251c\u2500\u2500 settings.conf
\u2514\u2500\u2500 settings.conf.example <\/p>\nIMAGEURL="http:\/\/ftp.iij.ad.jp\/pub\/linux\/fedora\/releases\/22\/Images\/armhfp\/Fedora-Minimal-armhfp-22-3-sda.raw.xz<\/a>\u201d<\/p>\n
size in MB<\/h1>\n