{"id":9,"date":"2014-09-28T14:06:42","date_gmt":"2014-09-28T14:06:42","guid":{"rendered":"http:\/\/marshallpdavis.com\/?page_id=9"},"modified":"2019-09-22T03:15:52","modified_gmt":"2019-09-22T03:15:52","slug":"lfs-with-ubuntu-as-a-base","status":"publish","type":"page","link":"https:\/\/marshallpdavis.com\/?page_id=9","title":{"rendered":"LFS with Ubuntu x86_64 as a base in LVM VM"},"content":{"rendered":"<p>LFS Stable 7.6 with Ubuntu Server 14.04 install with only openssh option during installation (assuming you will ssh instead of console). Additional packages needed:<br \/>\nbuild-essential gawk bison m4 texinfo expect gettext<br \/>\nBefore attemting to compile anything, adjust the \/usr\/bin\/awk symlink to point to gawk and yacc to point to the yacc bison script:<br \/>\nrm \/usr\/bin\/awk<br \/>\nln -s \/usr\/bin\/gawk \/usr\/bin\/awk<br \/>\nrm \/usr\/bin\/yacc<br \/>\nln -s \/usr\/bin\/bison.yacc \/usr\/bin\/yacc<br \/>\nRemember that the goal is a full 64 bit system &#8211; there are notes in the LFS book that specify different options based on x86 vs x86_64.<br \/>\nIn Chapter 5, compiling gawk, 5 tests failed.<br \/>\nIn Chapter 8.3, copy the kernel out of arch\/x86_64 instead of arch\/x86.<br \/>\nStill tweaking minimum kernel config, currently booting at 17MB RAM used with 17MB added for disk cacheing. I will post my config when I am happy with it.<\/p>\n<p>UPDATE: 13.03MB used, after kernel tweaks &#8211; I also installed OpenSSH for sshd, so that is running in the 13.03MB. Config attached here &#8211; <a href=\"http:\/\/marshallpdavis.com\/wp-content\/uploads\/2014\/09\/config.txt\">config<\/a><\/p>\n<p><a href=\"http:\/\/marshallpdavis.com\/wp-content\/uploads\/2014\/09\/Screenshot_lfs_2014-10-26_185448.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-78\" src=\"http:\/\/marshallpdavis.com\/wp-content\/uploads\/2014\/09\/Screenshot_lfs_2014-10-26_185448.png\" alt=\"Screenshot_lfs_2014-10-26_18:54:48\" width=\"720\" height=\"400\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>LFS Stable 7.6 with Ubuntu Server 14.04 install with only openssh option during installation (assuming you will ssh instead of console). Additional packages needed: build-essential gawk bison m4 texinfo expect gettext Before attemting to compile anything, adjust the \/usr\/bin\/awk symlink to point to gawk and yacc to point to the yacc bison script: rm \/usr\/bin\/awk &hellip; <a href=\"https:\/\/marshallpdavis.com\/?page_id=9\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">LFS with Ubuntu x86_64 as a base in LVM VM<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":183,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-9","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/pages\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9"}],"version-history":[{"count":13,"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/pages\/9\/revisions\/186"}],"up":[{"embeddable":true,"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=\/wp\/v2\/pages\/183"}],"wp:attachment":[{"href":"https:\/\/marshallpdavis.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}