{"id":892,"date":"2015-01-10T19:45:22","date_gmt":"2015-01-10T10:45:22","guid":{"rendered":"http:\/\/research.itplants.com\/?p=892"},"modified":"2015-01-18T19:01:43","modified_gmt":"2015-01-18T10:01:43","slug":"edison%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e3%83%bc%e3%82%92%e5%a2%97%e3%82%84%e3%81%99%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/research.itplants.com\/?p=892","title":{"rendered":"Edison\u306e\u30e1\u30e2\u30ea\u30fc\u3092\u5897\u3084\u3059\u65b9\u6cd5"},"content":{"rendered":"<p>Intel Edison\u306f\u3001USB\u30b1\u30fc\u30d6\u30eb\u3067PC\u306b\u63a5\u7d9a\u3059\u308b\u3068\u3001800MB\u306eUSB\u30e1\u30e2\u30ea\u30fc\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u8a18\u61b6\u9818\u57df\u306f\u3001Edison\u304b\u3089\u306f\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002OS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u306f\u4f7f\u3048\u308b\u306e\u3067\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u3084\u308a\u3068\u308a\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002\u5b9f\u306b\u7121\u99c4\u306a\u30b9\u30da\u30fc\u30b9\u3067\u3059\u3002\u305d\u3093\u306a\u6642\u3001\u3053\u3093\u306a\u8a18\u4e8b\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<h2><a name=\"Get_additional_800_MB_disk_space\"><\/a>Get additional 800 MB disk space<\/h2>\n<p>By default the update process works via an extra 800 MB VFAT partition where the new Linux installation files are copied to and which get flashed later on. However, this space is unutilized. Here I describe how to format and use it within the Edison Linux.<\/p>\n<ul>\n<li>Eject the drive from your Mac\/PC if it is mounted.<\/li>\n<li>Issue the following commands as root on the Edison:<\/li>\n<\/ul>\n<div><tt><tt><span style=\"color: green;\">\/\/ Create a file system<\/span><br \/>\n# mkfs.ext4 \/dev\/disk\/by-partlabel\/update<\/tt><\/tt><\/div>\n<div><\/div>\n<div><span style=\"color: green;\">\/\/ add the following single line at the end of &#8216;fstab&#8217;<\/span><br \/>\n# vi \/etc\/fstab<br \/>\n\/dev\/disk\/by-partlabel\/update\u00a0\u00a0\u00a0\u00a0\u00a0\/mnt\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0auto\u00a0\u00a0\u00a0\u00a0noauto,x-systemd.automount,,<br \/>\nnosuid,nodev,noatime,discard,barrier=1,data=ordered,noauto_da_alloc 1\u00a0\u00a0\u00a01<span style=\"color: green;\">\/\/ Another option is to duplicate the line &#8220;\/dev\/disk\/by-partlabel\/home&#8230;&#8221; and replace home<\/span><br \/>\n<span style=\"color: green;\">\/\/ with update, and replace the mount point from \/home with \/mnt<\/span><\/p>\n<p><span style=\"color: green;\">\/\/ These commands will mount the drive and show the new disk space<\/span><br \/>\n# mount \/mnt<br \/>\n# df -k<br \/>\n&#8230;<br \/>\n\/dev\/mmcblk0p9\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0757680\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0776\u00a0\u00a0\u00a0\u00a0701856\u00a0\u00a0\u00a00\n<\/div>\n<div><\/div>\n<div>\u66f8\u3044\u3066\u3042\u308b\u3068\u304a\u308a\u5b9f\u884c\u3059\u308b\u3068\u3001\u306a\u3093\u3068\u3001\/mnt\u4ee5\u4e0b\u306b800MB\u306e\u8a18\u61b6\u30b9\u30da\u30fc\u30b9\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u5f8c\u306f\u3001\u3053\u306e\u9818\u57df\u3092\u3001samba\u3084netatalk\u3067\u5171\u6709\u3059\u308c\u3070\u3001PC\u304b\u3089\u3082Edison\u304b\u3089\u3082\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u5834\u6240\u306b\u306a\u308a\u307e\u3059\u3002<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Intel Edison\u306f\u3001USB\u30b1\u30fc\u30d6\u30eb\u3067PC\u306b\u63a5\u7d9a\u3059\u308b\u3068\u3001800MB\u306eUSB\u30e1\u30e2\u30ea\u30fc\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u8a18\u61b6\u9818\u57df\u306f\u3001Edison\u304b\u3089\u306f\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002OS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u306f\u4f7f\u3048\u308b\u306e\u3067\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u306e&#8230;<\/p>\n<p><a class=\"more\" href=\"https:\/\/research.itplants.com\/?p=892\"> Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/892"}],"collection":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=892"}],"version-history":[{"count":4,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/892\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/research.itplants.com\/index.php?rest_route=\/wp\/v2\/posts\/892\/revisions\/912"}],"wp:attachment":[{"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/research.itplants.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}