{"id":1550,"date":"2018-11-27T03:04:25","date_gmt":"2018-11-27T03:04:25","guid":{"rendered":"http:\/\/netpipe.ca\/?page_id=1550"},"modified":"2022-02-13T18:22:11","modified_gmt":"2022-02-13T18:22:11","slug":"tinycorelinux","status":"publish","type":"page","link":"https:\/\/netpipe.ca\/?page_id=1550","title":{"rendered":"TinyCoreLinux"},"content":{"rendered":"\r\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2315\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-3.png\" alt=\"\" width=\"201\" height=\"91\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-3.png 769w, https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-3-300x137.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-3-768x351.png 768w\" sizes=\"auto, (max-width: 201px) 100vw, 201px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2326\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-5.png\" alt=\"\" width=\"201\" height=\"86\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-5.png 668w, https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-5-300x130.png 300w\" sizes=\"auto, (max-width: 201px) 100vw, 201px\" \/><\/figure>\r\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"0TS2GC1x0Y\"><a href=\"https:\/\/netpipe.ca\/?p=4648\">raspberry pi zero &#8211; 6 dollar computer<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;raspberry pi zero &#8211; 6 dollar computer&#8221; &#8212; Netpipe\" src=\"https:\/\/netpipe.ca\/?p=4648&#038;embed=true#?secret=BTekYIRCtd#?secret=0TS2GC1x0Y\" data-secret=\"0TS2GC1x0Y\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\r\n\r\n<p><blockquote class=\"wp-embedded-content\" data-secret=\"VUiX5Dr2Xx\"><a href=\"https:\/\/netpipe.ca\/?p=4898\">VirtualBox Tinycorelinux for Arduino<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;VirtualBox Tinycorelinux for Arduino&#8221; &#8212; Netpipe\" src=\"https:\/\/netpipe.ca\/?p=4898&#038;embed=true#?secret=IDVEi4cG3p#?secret=VUiX5Dr2Xx\" data-secret=\"VUiX5Dr2Xx\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\r\n<p>&nbsp;<\/p>\r\n<p>Very neat distribution of linux, has alot of potential as it can do things other os&#8217;s cannot.<\/p>\r\n<p>dCore also has TinyCoreLinux features and is based on Ubuntu packages but its size adds up really fast to 300+ mb min install.<\/p>\r\n<p>Features :<\/p>\r\n<ul>\r\n<li>20 mb install ISO<\/li>\r\n<li>minimal package size<\/li>\r\n<li>lots of package options, with loadOnBoot options<\/li>\r\n<\/ul>\r\n<p><a href=\"http:\/\/www.tinycorelinux.net\/install.html\">http:\/\/www.tinycorelinux.net\/install.html<\/a><\/p>\r\n<p><a href=\"https:\/\/idojo.co\/how-to-get-started-with-tiny-core-linux\/\">https:\/\/idojo.co\/how-to-get-started-with-tiny-core-linux\/<\/a><\/p>\r\n<hr \/>\r\n<p>setting up on raspberry pi zero &#8211; uses 0 watts of power<\/p>\r\n<p>there will be more soon after 2021 new years about downloadable packages<\/p>\r\n<p>dd copy the img file to the flash drive then wait for the keys to get generated tce-setdrive then run filetool.sh -b and reboot<\/p>\r\n<p>you can put drive in another computer and resize the partition with gnome-disks and add swap<\/p>\r\n<p>also for me i had to add the net-usb-kernel.tce package to the tce folder on the newly created second partition you&#8217;ll have to put it into the optional folder and chown it once tcl starts also add to the onboot.lst<\/p>\r\n<p>run tce and install jwm and pcmanfm and wbar also bash<\/p>\r\n<p>edit .xsession to contain $HOME\/startup.sh line<\/p>\r\n<p>touch ~\/startup.sh and put<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>#!\/bin\/bash<\/p>\r\n<p>pcmanfm &#8211;desktop<\/p>\r\n<p>sleep 5<\/p>\r\n<p>wbar &#8211;above-desk &#8211;pos bottom<\/p>\r\n<p>#tce-load -i<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<hr \/>\r\n<p>Compiling packages<\/p>\r\n<hr \/>\r\n<ul>\r\n<li>linux-kernel-source-env is needed to build virtualbox extensions, kernel sources can be made into a loadable tcz package after.<\/li>\r\n<li>sudo tar \/usr\/src\/kernel &#8211;numeric-owner -zcvf \/mnt\/sda1\/tce\/optional\/kernel.tcz<\/li>\r\n<li>tce-load -i kernel.tar<\/li>\r\n<\/ul>\r\n<p>this method did not work for me so maybe we&#8217;ll put a system link to it in a tcz file and keep a copy of it on \/mnt\/sda1.<\/p>\r\n<p>to create most packages use these steps.<\/p>\r\n<ul>\r\n<li>stripping debug symbols can also reduce size.<\/li>\r\n<li>make install DESTDIR=.\/buid<br \/>mksquashfs .\/build\/ prog.tcz<\/li>\r\n<\/ul>\r\n<hr \/>\r\n<p><a href=\"http:\/\/forum.tinycorelinux.net\/index.php?topic=15772.15\">http:\/\/forum.tinycorelinux.net\/index.php?topic=15772.15<\/a> post from here<\/p>\r\n<hr \/>\r\n<ul>\r\n<li>touch mymarker<\/li>\r\n<li>sudo .\/VBoxLinuxAdditions.run<\/li>\r\n<li>sudo find \/ -not -type &#8216;d&#8217; -cnewer mymarker | grep -v &#8220;\\\/proc\\\/&#8221; | grep -v &#8220;^\\\/sys\\\/&#8221; | tee files<\/li>\r\n<li>beaver [or some other text editor] files<\/li>\r\n<\/ul>\r\n<p>..it will be reasonably obvious which files you can delete with the text editor.<\/p>\r\n<ul>\r\n<li>Then use the list to make a tar achive of the files, move it to a temporary location and make an extension out of it:<\/li>\r\n<li>sudo tar -T files &#8211;numeric-owner -zcvf vb_guest_additions.tar.gz<\/li>\r\n<li>mkdir \/tmp\/pkg<\/li>\r\n<li>cp vb_guest_additions.tar.gz \/tmp\/pkg<\/li>\r\n<li>cd \/tmp\/pkg<\/li>\r\n<li>sudo tar xf vb_guest_additions.tar.gz<\/li>\r\n<li>rm vb_guest_additions.tar.gz<\/li>\r\n<li>cd ..<\/li>\r\n<li>sudo mksquashfs pkg\/ vb_guest_additions.tcz<\/li>\r\n<li>sudo chown tc:staff vb_guest_additions.tcz<\/li>\r\n<\/ul>\r\n<hr \/>\r\n<p>Commands<\/p>\r\n<hr \/>\r\n<ul>\r\n<li>tce<\/li>\r\n<li>\u00a0<\/li>\r\n<\/ul>\r\n<p>How to install<\/p>\r\n<hr \/>\r\n<p>tc-installer-gui<\/p>\r\n<p>ToDo<\/p>\r\n<hr \/>\r\n<p>md5sum package verification boot checker<\/p>\r\n<p>virtualbox extensions<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n\r\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2318\" src=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-4.png\" alt=\"\" width=\"249\" height=\"103\" srcset=\"https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-4.png 772w, https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-4-300x124.png 300w, https:\/\/netpipe.ca\/wp-content\/uploads\/2019\/01\/image-4-768x318.png 768w\" sizes=\"auto, (max-width: 249px) 100vw, 249px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>dCore Linux, really nice option to have. needs a bit of work with stripping out dependancy&#8217;s for the sce&#8217;s. in the future this may be resolved to make some really really nice linux distro&#8217;s<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><a href=\"https:\/\/ocawesome101.github.io\/486-linux.html\">https:\/\/ocawesome101.github.io\/486-linux.html<\/a><\/p>\r\n<p>&nbsp;<\/p>\r\n<p><a href=\"https:\/\/github.com\/netpipe\/TCLinux\">https:\/\/github.com\/netpipe\/TCLinux<\/a><\/p>\r\n<p>runs with stock GUI at 1.7 watts with keyboard mouse and network dongle on raspberrypi zero 2<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>VirtualBox Tinycorelinux for Arduino &nbsp; Very neat distribution of linux, has alot of potential as it can do things other os&#8217;s cannot. dCore also has TinyCoreLinux features and is based on Ubuntu packages but its size adds up really fast to 300+ mb min install. Features : 20 mb install ISO minimal package size lots [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":81,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1550","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/1550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1550"}],"version-history":[{"count":29,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/1550\/revisions"}],"predecessor-version":[{"id":6112,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/1550\/revisions\/6112"}],"up":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/pages\/81"}],"wp:attachment":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}