{"id":666,"date":"2019-07-14T22:47:50","date_gmt":"2019-07-15T02:47:50","guid":{"rendered":"https:\/\/jausoft.com\/blog\/?p=666"},"modified":"2019-07-15T01:35:40","modified_gmt":"2019-07-15T05:35:40","slug":"debian-10-buster-zfs-live-image-recipe","status":"publish","type":"post","link":"https:\/\/jausoft.com\/blog\/2019\/07\/14\/debian-10-buster-zfs-live-image-recipe\/","title":{"rendered":"Debian 10 (Buster) ZFS Live Image Recipe"},"content":{"rendered":"<p>First of all KUDOS to Debian&#8217;s <a href=\"https:\/\/www.debian.org\/News\/2019\/20190706\" target=\"_blank\" rel=\"noopener noreferrer\">new release<\/a> this month, <a href=\"https:\/\/www.debian.org\/releases\/stable\/releasenotes\" target=\"_blank\" rel=\"noopener noreferrer\">Debian 10 (Buster)<\/a>.<\/p>\n<p>Notable to me is the effort for <em>reproducible binaries, <\/em>which aligns with my security <a href=\"https:\/\/jogamp.org\/wiki\/index.php?title=SCC_Overview\" target=\"_blank\" rel=\"noopener noreferrer\"><span id=\"Source_Certification_Contract_.28SCC.29\" class=\"mw-headline\">Source Certification Contract (SCC) <\/span><\/a>goals of <i>Are You Who You Say You Are?<\/i> <i><b>Trust the Source, User<\/b><\/i>.<br \/>\nDebian&#8217;s Buster <a href=\"https:\/\/www.debian.org\/News\/2019\/20190706\" target=\"_blank\" rel=\"noopener noreferrer\">release PR<\/a> accordingly:<\/p>\n<blockquote><p>Thanks to the Reproducible Builds project, over 91% of the source packages included in Debian 10 will build bit-for-bit identical binary packages. This is an important verification feature which protects users against malicious attempts to tamper with compilers and build networks. Future Debian releases will include tools and metadata so that end-users can validate the provenance of packages within the archive.<\/p><\/blockquote>\n<p><!--more--><\/p>\n<p>Good, enough validation. Now let&#8217;s cover my little work effort to bring <a href=\"https:\/\/zfsonlinux.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">ZFS On Linux<\/a> into the <a href=\"https:\/\/wiki.debian.org\/DebianLive\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Live<\/a> image. This effort is due to provide our projects with reliable GNU\/Linux infrastructure using the ZFS to ensure perfect data safety. Since the Debian installation images don&#8217;t support ZFS as the root filesystem yet, the provided <a href=\"https:\/\/jausoft.com\/cgit\/debian-zfs-live.git\/\" target=\"_blank\" rel=\"noopener noreferrer\">Debian ZFS Live Image<\/a> eases this process while also serving the purposes to have a recovery live image.<\/p>\n<p>Our git repository of <a href=\"https:\/\/jausoft.com\/cgit\/debian-zfs-live.git\/\" target=\"_blank\" rel=\"noopener noreferrer\">Debian ZFS Live Image<\/a>\u00a0 provides currently two branches, <em>master<\/em> and <em>zfs-linux-0.7.13. <\/em>The latter contains the zfs-linux-0.7.13 source tar ball including the full original zfs git repository as well as its pre-build packages for Debian 9 and Debian 10 for your convenience. The <em>master<\/em> branch does not contain these transitory blobs, as they will be replaced with the next zfs-linux versions.<\/p>\n<p>To produce said <a href=\"https:\/\/jausoft.com\/cgit\/debian-zfs-live.git\/\" target=\"_blank\" rel=\"noopener noreferrer\">Debian ZFS Live Image<\/a>, you can run the following steps on either Debian 9 or Debian 10:<\/p>\n<ul>\n<li>run <em>debootstrap01.sh, debootstrap02.sh and debootstrap03.sh<\/em> &#8211; but follow the remarks at the end of the script to switch over to the <em>chroot environment<\/em> or to leave the previous entered.<\/li>\n<li>run deblive01.sh, deblive02.sh, deblive03.sh and deblive04-iso.sh &#8211; but again, follow the remarks at the end of the script to switch over to the <em>chroot environment<\/em> or to leave the previous entered.<\/li>\n<\/ul>\n<p>By now you should have produced a hybrid Debian ZFS Live Image. You may utilize the additional scripts <em>s01.sh &#8211; s04.sh<\/em> on your target machine, booted with this new live image. The <em>debian-zfs-live<\/em> content has been propagated into the image and is available at <em>\/root\/debian-zfs-live<\/em>.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all KUDOS to Debian&#8217;s new release this month, Debian 10 (Buster). Notable to me is the effort for reproducible binaries, which aligns with my security Source Certification Contract (SCC) goals of Are You Who You Say You Are? Trust the Source, User. Debian&#8217;s Buster release PR accordingly: Thanks to the Reproducible Builds project,&hellip; <a class=\"more-link\" href=\"https:\/\/jausoft.com\/blog\/2019\/07\/14\/debian-10-buster-zfs-live-image-recipe\/\">Continue reading <span class=\"screen-reader-text\">Debian 10 (Buster) ZFS Live Image Recipe<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7,3,8,41],"tags":[48,44,33,25,47],"class_list":["post-666","post","type-post","status-publish","format-standard","hentry","category-3d-opengl","category-computer-stuff","category-jogamp","category-security","tag-debian","tag-jogamp","tag-linux","tag-security","tag-zfs"],"_links":{"self":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/comments?post=666"}],"version-history":[{"count":3,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions"}],"predecessor-version":[{"id":669,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/posts\/666\/revisions\/669"}],"wp:attachment":[{"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/media?parent=666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/categories?post=666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jausoft.com\/blog\/wp-json\/wp\/v2\/tags?post=666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}