{"id":22851282,"url":"https://github.com/finkregh/deboostrap-zfs-root","last_synced_at":"2026-05-15T18:06:41.708Z","repository":{"id":139262645,"uuid":"217155194","full_name":"Finkregh/deboostrap-zfs-root","owner":"Finkregh","description":"format a disk with ZFS and deboostrap debian (zfs on root)","archived":false,"fork":false,"pushed_at":"2019-12-15T14:17:21.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T04:40:30.597Z","etag":null,"topics":["debian","debootstrap","zfs","zfsonlinux","zfsonroot","zol"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Finkregh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-23T21:17:13.000Z","updated_at":"2019-12-15T14:17:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"97fa9127-f8bc-4f76-8535-ad79f01d482e","html_url":"https://github.com/Finkregh/deboostrap-zfs-root","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finkregh%2Fdeboostrap-zfs-root","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finkregh%2Fdeboostrap-zfs-root/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finkregh%2Fdeboostrap-zfs-root/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finkregh%2Fdeboostrap-zfs-root/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Finkregh","download_url":"https://codeload.github.com/Finkregh/deboostrap-zfs-root/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429450,"owners_count":20775805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","debootstrap","zfs","zfsonlinux","zfsonroot","zol"],"created_at":"2024-12-13T05:12:29.653Z","updated_at":"2025-10-29T17:03:46.288Z","avatar_url":"https://github.com/Finkregh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"deboostrap debian to ZFS\n=========================\n\nThis\n* uses BIOS instead of UEFI (patches welcome)\n* formats the target drive with ZFS\n* adds two pools (boot+rest)\n* add datasets for various directories\n* deboostraps debian sid\n\nYou can verify the installation wih e.g. qemu (eventually change the path of\n`/dev/sda` to wherever you installed to:\n\n```\nqemu-system-x86_64 -snapshot -m 3G -enable-kvm -drive file=/dev/sda,if=virtio -net none -boot c -monitor stdio -netdev user,id=mynet0,net=192.168.76.0/24,dhcpstart=192.168.76.9 -device e1000,netdev=mynet0\n# you can send keypresses via e.g. `sendkey ctrl-alt-f9`\n```\n\nThis has been built with the help of this great howto: \u003chttps://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS\u003e\n\nadding swap\n------------\n```shell\nzfs create -V 4G -b $(getconf PAGESIZE) -o compression=zle \\\n      -o logbias=throughput -o sync=always \\\n      -o primarycache=metadata -o secondarycache=none \\\n      -o com.sun:auto-snapshot=false rpool/swap\n\nmkswap -f /dev/zvol/rpool/swap\necho /dev/zvol/rpool/swap none swap defaults 0 0 \u003e\u003e /etc/fstab\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkregh%2Fdeboostrap-zfs-root","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinkregh%2Fdeboostrap-zfs-root","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinkregh%2Fdeboostrap-zfs-root/lists"}