Giter Site home page Giter Site logo

gentoo-ebuilds's Introduction

gentoo-ebuilds

Custom Gentoo ebuild scripts that cover some missing/outdated ebuilds in official repo.

Warning: the ebuilds in this repo are not guaranteed to be stable

Gentoo Installation

raid settings

format disk
From https://gist.github.com/jirutka/990d25662e729669b3ce
fstab
UUID="05DB-8554" /boot vfat defaults 0 2
LABEL="btrfsvol"  / btrfs defaults,subvol=root,noatime,compress=zstd,autodefrag 0 0
/dev/sda2 none swap sw 0 0
/dev/sdb2 none swap sw 0 0
btrfs degraded

sys-fs/btrfs-progs package emerge add a boot parameter rd.timeout=30 to grub. and There you can manually mount degraded: mount -o subvol=root,degraded /dev/sdXY /sysroot; exit

mdadm conf
mdadm --detail --scan >> /etc/mdadm.conf
dracut
# PUT YOUR CONFIG IN separate files
# in /etc/dracut.conf.d named "<name>.conf"
# SEE man dracut.conf(5) for options
add_dracutmodules+="btrfs mdraid"
add_drivers+="raid1"
mdadmconf="yes"
grub

Assuming you have a UEFI system and efi parition mounted on /boot, you need to install grub for x86_64-efi:

grub-install --target=x86_64-efi --efi-directory=/boot --removable

/etc/default/grub

GRUB_DISTRIBUTOR="Gentoo"
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=menu
GRUB_CMDLINE_LINUX="rd.timeout=30"

gentoo-ebuilds's People

Contributors

jiajinghao1998 avatar chinrw avatar

Watchers

 avatar

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.