{"id":235,"date":"2017-09-21T13:23:06","date_gmt":"2017-09-21T07:23:06","guid":{"rendered":"https:\/\/workit.kz\/?p=235"},"modified":"2020-07-27T10:07:01","modified_gmt":"2020-07-27T04:07:01","slug":"cubietruck-install-ubuntu-14-04-lts-from-scratch","status":"publish","type":"post","link":"https:\/\/workit.kz\/?p=235","title":{"rendered":"Cubietruck \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Ubuntu 14.04 LTS \u0441 \u043d\u0443\u043b\u044f"},"content":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Lubuntu \u0432 NAND (Linaro 13.08)<\/p>\r\n<!--more-->\r\n<p><a href=\"http:\/\/dl.cubieboard.org\/software\/a20-cubietruck\/lubuntu\/ct-lubuntu-nand-v1.02\/lubuntu-server-nand-vga.img.gz\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0431\u0440\u0430\u0437<\/a><\/p>\r\n<p>\u0421\u043a\u0430\u0447\u0430\u0442\u044c PhoenixSuit<br \/>\r\n\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 PhoenixSuit.<\/p>\r\n<p>\u041f\u0440\u0438 \u043d\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c USB \u043a\u0430\u0431\u0435\u043b\u0435, \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 FEL \u0438 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c USB \u043a\u0430\u0431\u0435\u043b\u044c.<\/p>\r\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u041a\u0443\u0431\u0438\u043a, \u0436\u0434\u0435\u043c \u043e\u043a\u043e\u043b\u043e 3 \u043c\u0438\u043d\u0443\u0442<\/p>\r\n<p>\u041f\u0435\u0440\u0435\u043d\u043e\u0441 \u043d\u0430 HDD<\/p>\r\n<p>http:\/\/gleenders.blogspot.com\/2014\/06\/cubietruck-ubuntu-ssd-install-and-boot.html<\/p>\r\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"hBMOEz3EVT\"><a href=\"https:\/\/seiler.it\/cubietruck-linaro-on-hdd\/\">Moving cubietruck Linaro to a &#8222;real&#8220; hard drive<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/seiler.it\/cubietruck-linaro-on-hdd\/embed\/#?secret=hBMOEz3EVT\" data-secret=\"hBMOEz3EVT\" width=\"600\" height=\"338\" title=\"&#8222;Moving cubietruck Linaro to a &#8222;real&#8220; hard drive&#8220; &#8212; Sven Seiler\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\r\n<p>\u0420\u0430\u0437\u043c\u0435\u0442\u043a\u0430 \u0436\u0435\u0441\u0442\u043a\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430:<\/p>\r\n<pre>\r\nfdisk -l\r\nfdisk \/dev\/sda<br \/>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0432\u0441\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \"d\u201d<br \/>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u201cn\u201d (p - primary)<br \/>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0430\u0433 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \"a\" (\u0440\u0430\u0437\u0434\u0435\u043b 1)<br \/>\u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u201cw\u201d<\/pre>\r\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 EXT4:<\/p>\r\n<pre>\r\nmkfs.ext4 \/dev\/sda1<\/pre>\r\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\r\n<pre>\r\nmkdir \/tmp\/1 \/tmp\/target\r\nmount \/dev\/nandb \/tmp\/1\r\nmount \/dev\/sda1 \/tmp\/target\r\n(cd \/tmp\/1; tar --backup -c *) |tar -C \/tmp\/target -xv<\/pre>\r\n<p>\u041c\u0435\u043d\u044f\u0435\u043c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\r\n<pre>\r\nmkdir \/tmp\/boot\r\nmount \/dev\/nanda \/tmp\/boot\r\nnano \/tmp\/boot\/uEnv.txt\r\nnand_root=\/dev\/sda1\r\nsync\r\nreboot<\/pre>\r\n<p>\u041e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 NAND:<\/p>\r\n<pre>\r\nmount \/dev\/nanda \/mnt\r\nnano \/mnt\/uEnv.txt\r\nnand_root=\/dev\/nandb\r\nsync\r\nreboot<\/pre>\r\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 apt-get:<\/p>\r\n<p>\u0418\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u0432 \u0444\u0430\u0439\u043b\u0435&#160;\/etc\/apt\/sources.list<\/p>\r\n<pre>\r\ndeb http:\/\/old-releases.ubuntu.com\/ubuntu raring main universe\r\ndeb-src http:\/\/old-releases.ubuntu.com\/ubuntu raring main universe\r\n<\/pre>\r\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432:<\/p>\r\n<pre>\r\ndpkg -l | grep ii\r\n<\/pre>\r\n<p>dpkg-reconfigure tzdata<\/p>\r\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435&#160;14.04 LTS:<\/p>\r\n<pre>\r\napt-get install python-apt<\/pre>\r\n<p>\u0412\u043d\u043e\u0441\u0438\u043c \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0444\u0430\u0439\u043b \/etc\/apt\/sources.list<\/p>\r\n<pre>\r\ndeb http:\/\/ports.ubuntu.com\/ubuntu-ports\/ trusty main universe\r\ndeb-src http:\/\/ports.ubuntu.com\/ubuntu-ports\/ trusty main universe\r\napt-get update &amp;&amp; apt-get upgrade\r\ndo-release-upgrade<\/pre>\r\n<p>Upgrade to 16.04 LTS<\/p>\r\n<p>https:\/\/launchpad.net\/ubuntu\/trusty\/armhf\/dpkg\/1.17.5ubuntu5.6<\/p>\r\n<p>https:\/\/launchpad.net\/~ubuntu-security\/+archive\/ubuntu\/ppa\/+build\/9631646<\/p>\r\n<p>dpkg -i dpkg*<\/p>\r\n<p>do-release-upgrade<\/p>\r\n<p>.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Lubuntu \u0432 NAND (Linaro 13.08)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[28],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-cubietruck","tag-cubietruck"],"_links":{"self":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":29,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":631,"href":"https:\/\/workit.kz\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/631"}],"wp:attachment":[{"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/workit.kz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}