Skip to main content

gentoo install

 tar -xvpf stage3-amd64-hardened-openrc-20220220T170542Z.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt

nano -w /mnt/etc/portage/make.conf
COMMON_FLAGS="-march=native -O2 -pipe"
MAKEOPTS="-j2"

mkdir --parents /mnt/etc/portage/repos.conf

cp /mnt/usr/share/portage/config/repos.conf /mnt/etc/portage/repos.conf/gentoo.conf

cat /mnt/etc/portage/repos.conf/gentoo.conf
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes


cat chr.sh
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys
mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
mount --bind /run /mnt/run && mount --make-slave /mnt/run
cp /etc/resolv.conf /mnt/etc/
PS1='(chroot) # ' chroot /mnt/ /bin/sh
export TERM=xterm-256color


emerge-webrsync
eselect news list
eselect news read
eselect profile list
eselect profile set 2

emerge --ask --verbose --update --deep --newuse @world
emerge --info | grep ^USE

less /var/db/repos/gentoo/profiles/use.desc
nano -w /etc/portage/make.conf
portageq envvar ACCEPT_LICENSE
ACCEPT_LICENSE="-* @FREE"

/etc/portage/package.license/kernel
app-arch/unrar unRAR
sys-kernel/linux-firmware @BINARY-REDISTRIBUTABLE
sys-firmware/intel-microcode intel-ucode

ls /usr/share/zoneinfo
echo "Asia/Kathmandu" > /etc/timezone

nano -w /etc/locale.gen

C.UTF8 UTF-8


locale-gen

nano /etc/portage/make.conf 

CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3"

eselect locale list
 eselect locale set 9
emerge --update --deep --newuse @world
 
 cat /mnt/etc/portage/package.license 
sys-kernel/linux-firmware @BINARY-REDISTRIBUTABLE
 
emerge --ask sys-kernel/linux-firmware

* Your configuration for sys-kernel/linux-firmware-20220209 has been saved in
* "/etc/portage/savedconfig/sys-kernel/linux-firmware-20220209" for your editing pleasure.
* You can edit these files by hand and remerge this package with
* USE=savedconfig to customise the configuration.
* You can rename this file/directory to one of the following for
* its configuration to apply to multiple versions:
* ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/
* [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}]
* If you are only interested in particular firmware files, edit the saved
* configfile and remove those that you do not want. 
 
emerge --ask sys-kernel/gentoo-sources

 emerge --ask sys-apps/pciutils
 
cd /usr/src/linux 
make menuconfig
 
         General setup  --->                                                                                                    │ │  
│ │ [*] 64-bit kernel (NEW) │ │
│ │ Processor type and features ---> │ │
│ │ Power management and ACPI options ---> │ │
│ │ Bus options (PCI etc.) ---> │ │
│ │ Binary Emulations ---> │ │
│ │ [*] Virtualization (NEW) ---> │ │
│ │ General architecture-dependent options ---> │ │
│ │ [*] Enable loadable module support ---> │ │
│ │ -*- Enable the block layer ---> │ │
│ │ IO Schedulers ---> │ │
│ │ Executable file formats ---> │ │
│ │ Memory Management options ---> │ │
│ │ [*] Networking support ---> │ │
│ │ Device Drivers ---> │ │
│ │ File systems ---> │ │
│ │ Security options ---> │ │
│ │ -*- Cryptographic API ---> │ │
│ │ Library routines ---> │ │
│ │ Kernel hacking ---> │ │
│ │ Gentoo Linux ---> │ │
│ │ │ │
│ │ 
 
 
KERNEL Enabling Gentoo-specific options

Gentoo Linux ---> Generic Driver Options ---> [*] Gentoo Linux support [*] Linux dynamic and persistent device naming (userspace devfs) support [*] Select options required by Portage features Support for init systems, system and service managers ---> [*] OpenRC, runit and other script based systems and managers [*] systemd

 

app-admin/mcelog  for some logs

emerge --ask sys-apps/usbutils

 


Device Drivers  --->
    [*] PCI support  --->
        [*] PCI Express Port Bus support
        [*]   PCI Express Hotplug driver
        [*] Support for PCI Hotplug  --->
            [*] ACPI PCI Hotplug driver

 

 

Device Drivers -->
   Sound card support -->
      Advanced Linux Sound Architecture -->
         USB sound devices -->
            <*> USB Audio/MIDI driver
 
 
make && make modules_install
make install

 

 nano -w /etc/fstab

nano -w /etc/conf.d/hostname

nano -w /etc/conf.d/net

dns_domain_lo="homenetwork"
 
emerge --ask --noreplace net-misc/netifrc
 

nano -w /etc/conf.d/net

config_eth0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255"
routes_eth0="default via 192.168.0.1"
config_eth0="dhcp"
 
cd /etc/init.d 
ln -s net.lo net.eth0 
rc-update add net.eth0 default
 
nano -w /etc/hosts
127.0.0.1     tux.homenetwork tux localhost
 
passwd
 
nano -w /etc/rc.conf
 
nano -w /etc/conf.d/keymaps
nano -w /etc/conf.d/hwclock   
 
 emerge --ask net-wireless/iw net-wireless/wpa_supplicant
emerge --ask net-misc/dhcpcd
  emerge --ask app-admin/sysklogd
rc-update add sysklogd default 
     
mount efi to /boot/efi 
 cp /boot/vmlinuz-5.15.23-gentoo /boot/efi/EFI/BOOT/gentoo.efi

efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Gentoo " --loader "/boot/efi/EFI/BOOT/gentoo.efi"  

for initrd

efibootmgr -c -d /dev/sda -p 2 -L "Gentoo" -l "\efi\boot\bootx64.efi" initrd='\initramfs-genkernel-amd64-4.9.16-gentoo'

 


 

 

 

 

 



Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you

download office 2021 and activate

get office from here  https://tb.rg-adguard.net/public.php open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:s8.uk.to cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&