Giter VIP home page Giter VIP logo

gentoo-zfs's Introduction

Hardened Gentoo on ZFS:

Tired of go on a lot of link each time, i decided of all regroup in a massive tutorial.
This howto is a mix between the gentoo handbook, sasaki handbook and many tips found on the web.
We going to look how to set up:

  • ZFS
  • Systemd
  • systemd-boot
  • CPU flags
  • The kernel source
  • Full disk encryption
  • Secure Boot (generate key with cryptboot)
  • Protect your privacy ( paranoid-ninja, tor and ssh )
  • SELinux (Not Yet Ready)

System Requirements

  • Cpu comptatible x86-64.
  • 8G disk storage available
  • 2G memory minimum

Optional:

  • MicroSD or USB key for create an external boot partition. ( Be proud with MicroSD as boot partition, some BIOS/UEFI cannot boot on )
  • ECC Memory.
  • SSD - Generally use as cache drive and log device, respectively called L2ARC and ZIL).

Build the ISO

Take a look on another repo Archaeidae to build a custom Archiso including ZFS support.

Boot on the key & start the tutorial:
Gentoo-ZFS wiki

gentoo-zfs's People

Contributors

szorfein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gentoo-zfs's Issues

COMMON_FLAGS="-fexceptions" seems to break things

Hi,

Just a heads up, not sure if you know or not but as the title implies, putting -fexceptions in COMMON_FLAGS seems to break things. I've had firefox and a few other things (vte3, not sure what else) not build because of it. Maybe put a little disclaimer up? :-)

Cheers,
_j

Some errors

ZFS system > Create datasets > Add swap... (Step 4)

# zfs create -V 4G -b $(getconf PAGESIZE) \ -o compression=lze \ -o logbias=throughput -o sync=always \ -o primarycache=metadata -o secondarycache=none \ -o com.sun:auto-snapshot=false zfsforninja/swap

Minor Issue

Typo: compression=lze I am sure you mean zle

install gentoo > CFLAGS and other options (Step 6)

Compile them, replace march with the result above.
# sed -i 1,/options\ enabled/d native.s

sed: can't read native.s: No such file or directory

This is where I am stuck. I appreciate your guide. The layout is very nice.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.