{"id":2646,"date":"2019-02-07T15:15:11","date_gmt":"2019-02-07T06:15:11","guid":{"rendered":"http:\/\/okamurax.com\/?p=2646"},"modified":"2019-02-13T10:43:07","modified_gmt":"2019-02-13T01:43:07","slug":"%e3%82%ab%e3%83%bc%e3%83%8d%e3%83%ab%e3%81%ae%e3%82%b3%e3%83%b3%e3%83%91%e3%82%a4%e3%83%ab","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=2646","title":{"rendered":"Arch Linux \u30ab\u30fc\u30cd\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb"},"content":{"rendered":"<p>\u30fb\u30ab\u30fc\u30cd\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d<\/p>\n<p>uname -r<\/p>\n<p>\u30fb\u30ab\u30fc\u30cd\u30eb\u30bd\u30fc\u30b9\u4fdd\u5b58<\/p>\n<p>wget https:\/\/cdn.kernel.org\/pub\/linux\/kernel\/v4.x\/linux-4.9.99.tar.gz<\/p>\n<p>\u30fb\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af<\/p>\n<p>ln -s linux-4.9.99 linux<\/p>\n<p>\u30fb\u30b3\u30f3\u30d5\u30a3\u30b0\u4f5c\u6210<\/p>\n<p>make clean &amp;&amp; make mrproper<br \/>\n\u4eca\u307e\u3067config\u3067\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u306e\u6d88\u53bb\u3092\u884c\u3046\u3002\u521d\u671f\u5316\u3002<\/p>\n<p>Arch\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3002<br \/>\nzcat \/proc\/config.gz &gt; .config<\/p>\n<p>\u3042\u308b\u3044\u306f\u3001<\/p>\n<p>make localmodconfig<br \/>\n\u30b2\u30b9\u30c8OS\u5185\u3067\u73fe\u5728\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u60c5\u5831\u304b\u3089<br \/>\n\u30ab\u30fc\u30cd\u30eb\u306b\u8aad\u307f\u3053\u307e\u308c\u3066\u3044\u306a\u3044module\u3092\u7121\u52b9\u306b\u3057\u305f\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3046\u3002<\/p>\n<p>\u30fb\u305d\u306e\u4ed6\u30b3\u30f3\u30d5\u30a3\u30b0<\/p>\n<p>\u5fc5\u8981\u306a\u5834\u5408\u3002<\/p>\n<p>make oldconfig<br \/>\n\u4eca\u3042\u308bconfig\u4f7f\u3063\u3066\u3001\u65b0\u3057\u3044\u8a2d\u5b9a\u3060\u3051\u3092\u554f\u3044\u5408\u308f\u305b\u3066\u304f\u308b\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308b\u3002<\/p>\n<p>make config<br \/>\n\u5bfe\u8a71\u578b\u306e\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30bf<\/p>\n<p>make menuconfig<br \/>\n\u30e1\u30cb\u30e5\u30fc\u30d9\u30fc\u30b9\u306e\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30bf<\/p>\n<p>make xconfig<br \/>\nX\u30d9\u30fc\u30b9\u306e\u30b3\u30f3\u30d5\u30a3\u30ae\u30e5\u30ec\u30fc\u30bf<\/p>\n<p>\u30fb\u30b3\u30f3\u30d1\u30a4\u30eb<\/p>\n<p>make<\/p>\n<p>\u4eca\u56de\u306fbc\u304c\u7121\u3044\u3068\u30a8\u30e9\u30fc\u304c\u3067\u305f\u3002<\/p>\n<p>pacman -S bc<\/p>\n<p>make\u306f\u6642\u9593\u304c\u304b\u304b\u308b\u3002<\/p>\n<p>\u30fb\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb<\/p>\n<p>make modules_install<\/p>\n<p>\u4ee5\u4e0b\u306b\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3002<\/p>\n<p>\/lib\/modules\/xxx<\/p>\n<p>\u30fbboot\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30ab\u30fc\u30cd\u30eb\u3092\u30b3\u30d4\u30fc<\/p>\n<p>\u540d\u524d\u306e\u524d\u306bvmlinuz-\u3092\u3064\u3051\u308b\u306e\u306f\u5fc5\u9808\u3002<br \/>\ncp -v \/usr\/src\/linux-4.9.99\/arch\/x86_64\/boot\/bzImage \/boot\/vmlinuz-linux49<\/p>\n<p>\u30fbinitramfs\u751f\u6210<\/p>\n<p>mkinitcpio\u3092\u5229\u7528\u3002<\/p>\n<p>mkinitcpio -k 4.9.99 -g \/boot\/initramfs-linux49.img<\/p>\n<p>\/lib\/modules\/xxx\u306e\u30bd\u30fc\u30b9\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u3092\u4f7f\u3046\u3002<\/p>\n<p>\u30fb\u30d6\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u306e\u8a2d\u5b9a<\/p>\n<p>\/boot\/grub\/grub.cfg<\/p>\n<p>linux \/vmlinuz-linux &#8230;<br \/>\ninitrd \/initramfs-linux.img<br \/>\n\u3053\u306e\u90e8\u5206\u3092\u5909\u66f4\u3002<\/p>\n<p>\u3053\u308c\u3067\u5b8c\u4e86\u3002<\/p>\n<p>\u30fb\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb<\/p>\n<p>\u4e00\u89a7<br \/>\nlsmod<\/p>\n<p>\u5185\u5bb9\u78ba\u8a8d<br \/>\nmodinfo<\/p>\n<p>\u30ed\u30fc\u30c9<br \/>\ninsmod<\/p>\n<p>\u30a2\u30f3\u30ed\u30fc\u30c9<br \/>\nrmmod<\/p>\n<p>\u30ed\u30fc\u30c9\u30fb\u30a2\u30f3\u30ed\u30fc\u30c9\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u81ea\u5206\u3067\u51e6\u7406\u3002<br \/>\n(lsmod\u306eUsed by\u306b\u3066\u5206\u304b\u308b)<\/p>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u3092\u81ea\u52d5\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u306e\u30ed\u30fc\u30c9\u30fb\u30a2\u30f3\u30ed\u30fc\u30c9<br \/>\nmodprobe xxx<br \/>\nmodprobe -r xxx<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fb\u30ab\u30fc\u30cd\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d uname -r \u30fb\u30ab\u30fc\u30cd\u30eb\u30bd\u30fc\u30b9\u4fdd\u5b58 wget https:\/\/cdn.kernel.org\/pub\/linux\/kernel\/v4.x\/linux-4.9.99.tar.gz \u30fb\u30b7\u30f3\u30dc\u30ea\u30c3\u30af &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=2646\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Arch Linux \u30ab\u30fc\u30cd\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[145],"class_list":["post-2646","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/2646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2646"}],"version-history":[{"count":4,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/2646\/revisions"}],"predecessor-version":[{"id":3651,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/2646\/revisions\/3651"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}