Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Bienvenido a la instalación de Gentoo
- # Preparacion de discos
- Ejecutamos: lsblk para ver las unidades conectadas
- Ejemplo:
- root@kubuntu:/home/kubuntu# lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- loop0 7:0 0 1.7G 1 loop /rofs
- sda 8:0 0 465.8G 0 disk
- └─sda1 8:1 0 465.8G 0 part
- sdb 8:16 0 931.5G 0 disk
- └─sdb1 8:17 0 931.5G 0 part
- sdc 8:32 0 931.5G 0 disk
- └─sdc1 8:33 0 931.5G 0 part
- sdd 8:48 0 465.8G 0 disk
- ├─sdd1 8:49 0 529M 0 part
- ├─sdd2 8:50 0 100M 0 part
- ├─sdd3 8:51 0 16M 0 part
- └─sdd4 8:52 0 465.1G 0 part
- sde 8:64 1 28.7G 0 disk /cdrom
- ├─sde1 8:65 1 1.8G 0 part
- └─sde2 8:66 1 2.4M 0 part
- sdf 8:80 0 119.2G 0 disk
- └─sdf1 8:81 0 119.2G 0 part
- sdg 8:96 1 28.7G 0 disk
- └─sdg1 8:97 1 28.7G 0 part
- La unidad sdf es el SDD donde vamos a instalar el sistema
- root@kubuntu:/home/kubuntu# parted -a optimal /dev/sdf
- GNU Parted 3.2
- Using /dev/sdf
- Welcome to GNU Parted! Type 'help' to view a list of commands.
- (parted) mklabel gpt
- Warning: The existing disk label on /dev/sdf will be destroyed and all data on this disk will be lost. Do you want to continue?
- Yes/No? YES
- (parted) unit mib
- (parted) mkpart primary 1 513
- (parted) name 1 grub
- (parted) set 1 boot on
- (parted) mkpart primary 513 -1
- (parted) name 2 gentoo
- (parted) set 2 lvm on
- (parted) p
- Model: ATA Samsung SSD 840 (scsi)
- Disk /dev/sdf: 122104MiB
- Sector size (logical/physical): 512B/512B
- Partition Table: gpt
- Disk Flags:
- Number Start End Size File system Name Flags
- 1 1.00MiB 513MiB 512MiB grub boot, esp
- 2 513MiB 122103MiB 121590MiB gentoo lvm
- (parted) q
- root@kubuntu:/home/kubuntu# cryptsetup -v -y -c aes-xts-plain64 -s 512 -h sha512 -i 5000 --use-random luksFormat /dev/sdf2
- WARNING!
- ========
- This will overwrite data on /dev/sdf2 irrevocably.
- Are you sure? (Type uppercase yes): YES
- Enter passphrase for /dev/sdf2:
- Introduciomos dos passwd iguales
- cryptsetup luksDump /dev/sdf2
- LUKS header information for /dev/sdf2
- Aqui veriamos la informacion el uuid, etc
- root@kubuntu:/home/kubuntu# cryptsetup luksOpen /dev/sdf2 gentoolv
- Enter passphrase for /dev/sdf2:
- Introducimos password
- root@kubuntu:/home/kubuntu# pvcreate /dev/mapper/gentoolv
- Physical volume "/dev/mapper/gentoolv" successfully created.
- root@kubuntu:/home/kubuntu# vgcreate gentoovg /dev/mapper/gentoolv
- Volume group "gentoovg" successfully created
- root@kubuntu:/home/kubuntu# lvcreate -C y -L 16G gentoovg -n swap
- Logical volume "swap" created.
- root@kubuntu:/home/kubuntu# lvcreate -C y -L 75G gentoovg -n root
- Logical volume "root" created.
- root@kubuntu:/home/kubuntu# lvcreate -l +95%FREE gentoovg -n home
- Logical volume "home" created.
- root@kubuntu:/home/kubuntu# vgchange -ay
- 3 logical volume(s) in volume group "gentoovg" now active
- oot@kubuntu:/home/kubuntu# ls /dev/mapper/
- control gentoolv gentoovg-home gentoovg-root gentoovg-swap
- Vericamos que se igual que arriba
- root@kubuntu:/home/kubuntu# mkswap /dev/mapper/gentoovg-swap
- Setting up swapspace version 1, size = 16 GiB (17179865088 bytes)
- no label, UUID=814ae5
- root@kubuntu:/home/kubuntu# swapon /dev/mapper/gentoovg-swap
- root@kubuntu:/home/kubuntu# mkfs.btrfs -f /dev/mapper/gentoovg-root
- btrfs-progs v4.15.1
- See http://btrfs.wiki.kernel.org for more information.
- Detected a SSD, turning off metadata duplication. Mkfs with -m dup if you want to force metadata duplication.
- Label: (null)
- UUID: 9b07e793-XXXXXX-XXXXX-XXXXXXXX-XXXXXX
- Node size: 16384
- Sector size: 4096
- Filesystem size: 75.00GiB
- Block group profiles:
- Data: single 8.00MiB
- Metadata: single 8.00MiB
- System: single 4.00MiB
- SSD detected: yes
- Incompat features: extref, skinny-metadata
- Number of devices: 1
- Devices:
- ID SIZE PATH
- 1 75.00GiB /dev/mapper/gentoovg-root
- root@kubuntu:/home/kubuntu# mkfs.btrfs -f /dev/mapper/gentoovg-home
- btrfs-progs v4.15.1
- See http://btrfs.wiki.kernel.org for more information.
- Detected a SSD, turning off metadata duplication. Mkfs with -m dup if you want to force metadata duplication.
- Label: (null)
- UUID: 5e629778-XXXXXX-XXXXX-XXXXXXXX-XXXXXX
- Node size: 16384
- Sector size: 4096
- Filesystem size: 26.35GiB
- Block group profiles:
- Data: single 8.00MiB
- Metadata: single 8.00MiB
- System: single 4.00MiB
- SSD detected: yes
- Incompat features: extref, skinny-metadata
- Number of devices: 1
- Devices:
- ID SIZE PATH
- 1 26.35GiB /dev/mapper/gentoovg-home
- root@kubuntu:/home/kubuntu# mkdir -pv /mnt/gentoo
- mkdir: created directory '/mnt/gentoo'
- root@kubuntu:~# mkdir -pv /mnt/gentoo/{home,boot/efi}
- mkdir: created directory '/mnt/gentoo'
- mkdir: created directory '/mnt/gentoo/home'
- mkdir: created directory '/mnt/gentoo/boot'
- mkdir: created directory '/mnt/gentoo/boot/efi'
- root@kubuntu:~# mount /dev/mapper/gentoovg-root /mnt/gentoo
- root@kubuntu:~# mount /dev/mapper/gentoovg-root /mnt/gentoo
- root@kubuntu:~# mkfs.vfat -F 32 /dev/sdf1
- mkfs.fat 4.1 (2017-01-24)
- root@kubuntu:~# mount /dev/sdf1 /mnt/gentoo/boot/efi
- Descargamos de este link http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/
- Descargar el stage3, el CONTENTS y DIGESTS.asc
- cd /mnt/gentoo
- wget -c http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20200205T214502Z.tar.xz
- wget -c http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20200205T214502Z.tar.xz.CONTENTS
- wget -c http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20200205T214502Z.tar.xz.DIGESTS.asc
- Ahora comprovamos las firmas para comprobar que esta correcto tar
- root@kubuntu:/mnt/gentoo# gpg --keyserver pool.sks-keyservers.net --recv-key 2D182910
- gpg: directory '/root/.gnupg' created
- gpg: keybox '/root/.gnupg/pubring.kbx' created
- gpg: key BB572E0E2D182910: 13 signatures not checked due to missing keys
- gpg: key BB572E0E2D182910: 1 bad signature
- gpg: /root/.gnupg/trustdb.gpg: trustdb created
- gpg: key BB572E0E2D182910: public key "Gentoo Linux Release Engineering (Automated Weekly Release Key) <releng@gentoo.org>" imported
- gpg: no ultimately trusted keys found
- gpg: Total number processed: 1
- gpg: imported: 1
- root@kubuntu:/mnt/gentoo# gpg --fingerprint 2D182910
- pub rsa4096 2009-08-25 [SC] [expires: 2020-07-01]
- 13EB BDBE DE7A 1277 5DFD B1BA BB57 2E0E 2D18 2910
- uid [ unknown] Gentoo Linux Release Engineering (Automated Weekly Release Key) <releng@gentoo.org>
- sub rsa2048 2019-02-23 [S] [expires: 2020-07-01]
- root@kubuntu:/mnt/gentoo# gpg --verify stage3-amd64-*.tar.xz.DIGESTS.asc
- gpg: Signature made Thu 06 Feb 2020 03:04:34 AM UTC
- gpg: using RSA key 534E4209AB49EEE1C19D96162C44695DB9F6043D
- gpg: Good signature from "Gentoo Linux Release Engineering (Automated Weekly Release Key) <releng@gentoo.org>" [unknown]
- gpg: WARNING: This key is not certified with a trusted signature!
- gpg: There is no indication that the signature belongs to the owner.
- Primary key fingerprint: 13EB BDBE DE7A 1277 5DFD B1BA BB57 2E0E 2D18 2910
- Subkey fingerprint: 534E 4209 AB49 EEE1 C19D 9616 2C44 695D B9F6 043D
- gpg: WARNING: not a detached signature; file 'stage3-amd64-20200205T214502Z.tar.xz.DIGESTS' was NOT verified!
- root@kubuntu:/mnt/gentoo# awk '/SHA512 HASH/{getline;print}' stage3-amd64-*.tar.xz.DIGESTS.asc | sha512sum --check
- stage3-amd64-20200205T214502Z.tar.xz: OK
- stage3-amd64-20200205T214502Z.tar.xz.CONTENTS: OK
- Descomprimimos
- root@kubuntu:/mnt/gentoo# tar xvJpf stage3-amd64-*.tar.xz --xattrs-include='*.*' --numeric-owner
- Borramos las descargas
- root@kubuntu:/mnt/gentoo# rm -v -f stage3-amd64-*
- removed 'stage3-amd64-20200205T214502Z.tar.xz'
- removed 'stage3-amd64-20200205T214502Z.tar.xz.CONTENTS'
- removed 'stage3-amd64-20200205T214502Z.tar.xz.DIGESTS.asc'
- root@kubuntu:/mnt/gentoo# nano /mnt/gentoo/etc/portage/make.conf
- Anadir acontinuacion
- # ---------------------------
- #Instalacion <viernes 7 de febrero del 2020>
- # C, C++ GCC.
- COMMON_FLAGS="-march=native -O2 -pipe"
- CFLAGS="${COMMON_FLAGS}"
- CXXFLAGS="${COMMON_FLAGS}"
- FCFLAGS="${COMMON_FLAGS}"
- FFLAGS="${COMMON_FLAGS}"
- # Licencias acceptadas
- ACCEPT_LICENSE="*"
- # Consulta http://www.gentoo.org/doc/en/change-chost.xml para cualquier cambio.
- CHOST="x86_64-pc-linux-gnu"
- # Rama testing ACCEPT_KEYWORDS="~amd64", rama estable ACCEPT_KEYWORDS="amd64"
- # Proceesadores Intel y AMD 64-bit.
- ACCEPT_KEYWORDS="~amd64"
- # Flags globales para plasma 5
- ACCEPTADAS="bluetooth elogind networkmanager policykit pulseaudio"
- DENEGADAS="-gnome -qt3support -qt4"
- #
- USE="${ACCEPTADAS} ${DENEGADAS}"
- # Directorios de Portage.
- PORTDIR="/var/db/repos/gentoo"
- DISTDIR="/var/cache/distfiles"
- PKGDIR="/var/cache/binpkgs"
- # Esto establece el idioma de salida de la construcción al inglés.
- # Por favor, mantén esta configuración intacta al reportar errores.
- LC_MESSAGES=C
- # Encienda el registro - vea http://gentoo-en.vfose.ru/wiki/Gentoo_maintenance.
- PORTAGE_ELOG_CLASSES="info warn error log qa"
- # Los mensajes de eco después de emerger, también se guardan en /var/log/portage/elog
- PORTAGE_ELOG_SYSTEM="echo save"
- # Asegurar los elogs guardados en subdirectorios de categoría.
- # Construir paquetes binarios como un subproducto de cada emergente, una copia de seguridad útil.
- FEATURES="split-elog buildpkg preserve-libs"
- # Opciones de X11 <quitar joystick roccat_tyon> esto es hardware mio
- # Mas informacion en https://wiki.gentoo.org/wiki/Xorg/Guide
- VIDEO_CARDS="nvidia"
- INPUT_DEVICES="libinput joystick roccat_tyon"
- # Sitema multilib para steam y demas
- # Soporte de compilación para 64 bits y 32 bits. (Desmarcar "#" si compilas sin soporte a 32 bits, sino lo ignoarara)
- ABI_X86="64 32"
- # Configuración de un Scaner mx925.
- SANE_BACKENDS="pixma net usb"
- # Configuaracion una impresora mx925
- CANON_PRINTERS="mx920"
- # Soporte si es posible para castellano y
- catalán
- # mas información en https://wiki.gentoo.org/wiki/Localization/Guide/es
- L10N="es es-ES ca ca-ES"
- # Autolimpieza de PORTAGE. (es como usar emerge -c despues de emerger).
- AUTOCLEAN="yes"
- # Compilación en memoria RAM. (compila mas rapido y castiga menos las unidades flash).
- # Mas informacion https://wiki.gentoo.org/wiki/Portage_TMPDIR_on_tmpfs
- PORTAGE_TMPDIR="/var/tmp/notmpfs"
- PORTAGE_TMPDIR="/var/tmp/portage"
- # Opciones ejecución de PORTAGE. (Bajar -j1 si de problemas de sobrecarga).
- # Bajar el tiempo de compilación con jumbo-build tienes mas informacion https://forums.gentoo.org/viewtopic-t-1074724-start-0.html
- MAKEOPTS="-j17 -l16"
- EMERGE_DEFAULT_OPTS="--ask --verbose --keep-going --jobs=8 --load-average=16 --with-bdeps=y"
- #------------------------------------------
- root@kubuntu:/mnt/gentoo# mkdir -p -v /mnt/gentoo/etc/portage/repos.conf
- mkdir: created directory '/mnt/gentoo/etc/portage/repos.conf'
- root@kubuntu:/mnt/gentoo# cp -v /mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf
- '/mnt/gentoo/usr/share/portage/config/repos.conf' -> '/mnt/gentoo/etc/portage/repos.conf/gentoo.conf'
- nano -w /mnt/gentoo/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
- Cambiamos la linea sync-type = rsync a sync-type = webrsync
- root@kubuntu:/mnt/gentoo# cp -v -L /etc/resolv.conf /mnt/gentoo/etc/
- '/etc/resolv.conf' -> '/mnt/gentoo/etc/resolv.conf'
- root@kubuntu:/mnt/gentoo# mount -v -t proc none /mnt/gentoo/proc
- mount: none mounted on /mnt/gentoo/proc.
- root@kubuntu:/mnt/gentoo# mount -v --rbind /sys /mnt/gentoo/sys
- mount: /sys bound on /mnt/gentoo/sys.
- root@kubuntu:/mnt/gentoo# mount -v --rbind /dev /mnt/gentoo/dev
- mount: /dev bound on /mnt/gentoo/dev.
- root@kubuntu:/mnt/gentoo# mount -v --make-rslave /mnt/gentoo/sys
- mount: /mnt/gentoo/sys propagation flags changed.
- root@kubuntu:/mnt/gentoo# mount -v --make-rslave /mnt/gentoo/dev
- mount: /mnt/gentoo/dev propagation flags changed.
- root@kubuntu:/mnt/gentoo# chroot /mnt/gentoo /bin/bash
- kubuntu / # source /etc/profile
- kubuntu / # export PS1="(chroot) $PS1"
- (chroot) kubuntu / #
- (chroot) kubuntu / # emaint sync --auto
- (chroot) kubuntu / # nano -w /etc/portage/repos.conf/gentoo.conf
- Cambiamos la linea sync-type = webrsync a sync-type = rsync
- (chroot) kubuntu / # emaint sync --auto
- >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
- * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
- * Refreshing keys via WKD ... [ ok ]
- Do you want to sync your ebuild repository with the mirror at
- rsync://160.116.15.34/gentoo-portage? [Yes/No] Yes
- (chroot) kubuntu / # emerge --ask --verbose --oneshot portage
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild U ] sys-apps/portage-2.3.87::gentoo [2.3.84-r1::gentoo] USE="(ipc) native-extensions rsync-verify xattr -build -doc -gentoo-dev (-selinux) (-epydoc%)" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 1,022 KiB
- Total: 1 package (1 upgrade), Size of downloads: 1,022 KiB
- Would you like to merge these packages? [Yes/No] Yes
- (chroot) kubuntu / # echo "Europe/Madrid" > /etc/timezone
- (chroot) kubuntu / # emerge -v --config sys-libs/timezone-data
- Ready to configure sys-libs/timezone-data-2019c? [Yes/No] yes
- * Updating /etc/localtime with /usr/share/zoneinfo/Europe/Madrid
- Miramos localizacion de idioma
- (chroot) kubuntu / # localedef --list-archive
- En Spain es:
- es_EC.utf8
- es_ES
- es_ES.iso88591
- es_ES.iso885915@euro
- es_ES.utf8
- es_ES@euro
- (chroot) kubuntu / # nano -w /etc/locale.gen
- (chroot) kubuntu / # nano -w /etc/locale.gen
- # Ponemos:
- es_ES ISO-8859-1
- es_ES.UTF-8 UTF-8
- es_ES@euro ISO-8859-15
- (chroot) kubuntu / # locale-gen
- * Generating 4 locales (this might take a while) with 16 jobs
- * (1/4) Generating es_ES.ISO-8859-1 ... [ ok ]
- * (3/4) Generating es_ES.ISO-8859-15@euro ... [ ok ]
- * (4/4) Generating C.UTF-8 ... [ ok ]
- * (2/4) Generating es_ES.UTF-8 ... [ ok ]
- * Generation complete
- * Adding locales to archive ...
- (chroot) kubuntu / # locale -a
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_MESSAGES to default locale: No such file or directory
- locale: Cannot set LC_COLLATE to default locale: No such file or directory
- C
- C.utf8
- POSIX
- es_ES
- es_ES.iso88591
- es_ES.iso885915@euro
- es_ES.utf8
- es_ES@euro
- # Como observais da error, pero lo demas esta bien. Es porque la iso esta ingles, vamos a selecionar ingles y mas tarde dejaremos el castellano (perdonar mi raton es US y no tiene la ene ni acentos)
- (chroot) kubuntu / # eselect locale set "C"
- Setting LANG to C ...
- Run ". /etc/profile" to update the variable in your shell.
- (chroot) kubuntu / # env-update && source /etc/profile && export PS1="(chroot) $PS1"
- >>> Regenerating /etc/ld.so.cache...
- (chroot) kubuntu / # nano -w /etc/conf.d/keymaps
- # Use keymap to specify the default console keymap. There is a complete tree
- # of keymaps in /usr/share/keymaps to choose from.
- keymap="es"
- (chroot) kubuntu / # emerge --verbose --oneshot app-portage/cpuid2cpuflags
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] app-portage/cpuid2cpuflags-8::gentoo 81 KiB
- Total: 1 package (1 new), Size of downloads: 81 KiB
- Would you like to merge these packages? [Yes/No] yes
- chroot) kubuntu / # cpuid2cpuflags
- CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
- lo copiomos al make.conf
- (chroot) kubuntu / # nano -w /etc/portage/make.conf
- CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
- (chroot) kubuntu / # touch /etc/portage/package.use/zzz_via_autounmask
- (chroot) kubuntu / # emerge baselayout sys-kernel/linux-headers sys-devel/binutils sys-devel/gcc gettext virtual/libc sys-apps/texinfo zlib ncurses
- # Tardara mucho no os quedeis delante del pc
- (chroot) kubuntu / # nano -w /etc/portage/make.conf
- Y dejamos la linea asi
- ACCEPTADAS="bluetooth cryptsetup crypt elogind networkmanager policykit pulseaudio X udisk"
- (chroot) kubuntu / # emerge mirrorselect
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] net-analyzer/netselect-0.4-r1::gentoo USE="ipv6" 40 KiB
- [ebuild N ] dev-python/six-1.14.0::gentoo USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 34 KiB
- [ebuild N ] dev-python/idna-2.8::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 171 KiB
- [ebuild N ] dev-util/dialog-1.3.20191210:0/15::gentoo USE="nls unicode -examples -minimal -static-libs" 529 KiB
- [ebuild N ] dev-python/pyasn1-0.4.3::gentoo USE="-doc" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 116 KiB
- [ebuild N ] dev-python/ply-3.11:0/3.11::gentoo USE="-examples" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 156 KiB
- [ebuild N ] dev-python/chardet-3.0.4::gentoo USE="-test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 1829 KiB
- [ebuild N ] dev-python/PySocks-1.7.1::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 278 KiB
- [ebuild N ] dev-python/ipaddress-1.0.23::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 33 KiB
- [ebuild N ] dev-python/enum34-1.1.6-r1::gentoo USE="-doc" PYTHON_TARGETS="python2_7" 40 KiB
- [ebuild N ] virtual/python-ipaddress-1.0-r1::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 0 KiB
- [ebuild N ] dev-python/pycparser-2.19-r1::gentoo USE="-test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 155 KiB
- [ebuild N ] virtual/python-enum34-2::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 0 KiB
- [ebuild N ] dev-python/cffi-1.13.2:0/1.13.2::gentoo USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 -python3_7 -python3_8" 450 KiB
- [ebuild N ] dev-python/cryptography-2.8-r1::gentoo USE="-idna -libressl -test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 493 KiB
- [ebuild N ] dev-python/pyopenssl-19.1.0::gentoo USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 157 KiB
- [ebuild N ] dev-python/ndg-httpsclient-0.4.2-r1::gentoo USE="-test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7" 25 KiB
- [ebuild N ] dev-python/urllib3-1.25.8::gentoo USE="-brotli -doc -test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 255 KiB
- [ebuild N ] dev-python/requests-2.22.0::gentoo USE="ssl -socks5 -test" PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 111 KiB
- [ebuild N ] dev-python/ssl-fetch-0.4::gentoo PYTHON_TARGETS="python2_7 python3_6 -python3_7 -python3_8" 12 KiB
- [ebuild N ] app-portage/mirrorselect-2.2.6-r1::gentoo USE="ipv6" PYTHON_TARGETS="python3_6 -python3_7 -python3_8" 117 KiB
- Total: 21 packages (21 new), Size of downloads: 4992 KiB
- WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
- dev-libs/openssl:0
- (dev-libs/openssl-1.1.1d-r3:0/1.1::gentoo, ebuild scheduled for merge) USE="asm zlib -bindist -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" conflicts with
- >=dev-libs/openssl-1.1.0g:0[bindist] required by (net-misc/openssh-8.0_p1-r4:0/0::gentoo, installed) USE="bindist pam pie ssl -X -X509 -audit -debug -hpn -kerberos -ldns -libedit -libressl -livecd -sctp (-selinux) -static -test -xmss" ABI_X86="(64)"
- ^^^^^^^
- Would you like to merge these packages? [Yes/No] yes
- (chroot) kubuntu / # mirrorselect -i -o >> /etc/portage/make.conf
- Elegimos los mas cercanos
- Copia de seguiradad
- (chroot) kubuntu / # cp -v /etc/locale.gen{,.bak}
- '/etc/locale.gen' -> '/etc/locale.gen.bak'
- (chroot) kubuntu / # cp -v /etc/conf.d/keymaps{,.bak}
- '/etc/conf.d/keymaps' -> '/etc/conf.d/keymaps.bak'
- Emergemos el sistema completo para que cada paqueta que habia en stage 3 se compile para nuestro hardware (tardara mucho)
- (chroot) kubuntu / # emerge --ask --verbose --emptytree --with-bdeps=y @world
- Tenemos un error (como solucionarlo?)
- Total: 36 packages (11 upgrades, 14 new, 1 in new slot, 10 reinstalls), Size of downloads: 126554 KiB
- * Error: circular dependencies:
- (sys-libs/pam-1.3.1_p20200128:0/0::gentoo, ebuild scheduled for merge) depends on
- (sys-libs/libcap-2.31:0/0::gentoo, ebuild scheduled for merge) (buildtime)
- (sys-libs/pam-1.3.1_p20200128:0/0::gentoo, ebuild scheduled for merge) (buildtime)
- It might be possible to break this cycle
- by applying any of the following changes:
- - sys-libs/libcap-2.31 (Change USE: -pam)
- - sys-libs/pam-1.3.1_p20200128 (Change USE: -filecaps)
- Note that this change can be reverted, once the package has been installed.
- Note that the dependency graph contains a lot of cycles.
- Several changes might be required to resolve all cycles.
- Temporarily changing some use flag for all packages might be the better option.
- The following USE changes are necessary to proceed:
- (see "package.use" in the portage(5) man page for more details)
- # required by dev-lang/spidermonkey-60.5.2_p0-r3::gentoo
- # required by sys-auth/polkit-0.116-r1::gentoo
- # required by sys-auth/elogind-243.4::gentoo[policykit]
- # required by sys-process/procps-3.3.16::gentoo[elogind]
- # required by @system
- # required by @world (argument)
- >=dev-lang/python-2.7.17-r1:2.7 sqlite
- Would you like to add these changes to your config files? [Yes/No] yes
- Empezamos:
- (chroot) kubuntu / # etc-update
- Scanning Configuration files.../mnt/gentoo/hostrun
- The following is the list of files which need updating, each
- configuration file is followed by a list of possible replacement files.
- 1) /etc/portage/package.use/zzz_via_autounmask (1)
- Please select a file to edit by entering the corresponding number.
- (don't use -3, -5, -7 or -9 if you're unsure what to do)
- (-1 to exit) (-3 to auto merge all files)
- (-5 to auto-merge AND not use 'mv -i')
- (-7 to discard all updates)
- (-9 to discard all updates AND not use 'rm -i'): -3
- Replacing /etc/portage/package.use/zzz_via_autounmask with /etc/portage/package.use/._cfg0000_zzz_via_autounmask
- mv: overwrite '/etc/portage/package.use/zzz_via_autounmask'? yes
- Exiting: Nothing left to do; exiting. :)
- (chroot) kubuntu / # echo -e "# error a instalar el sistema\n>=sys-libs/libcap-2.31 -pam" > /etc/portage/package.use/libcap
- (chroot) kubuntu / # echo -e "# error a instalar el sistema\n>=sys-libs/pam-1.3.1_p20200128 -filecaps" > /etc/portage/package.use/pam
- (chroot) kubuntu / # emerge --ask --verbose --emptytree --with-bdeps=y @world
- Otro error:
- * Error: circular dependencies:
- (x11-libs/libX11-1.6.9:0/0::gentoo, ebuild scheduled for merge) depends on
- (x11-libs/libxcb-1.13.1:0/1.12::gentoo, ebuild scheduled for merge) (buildtime)
- (dev-lang/python-3.8.1:3.8/3.8::gentoo, ebuild scheduled for merge) (buildtime)
- (net-wireless/bluez-5.52:0/3::gentoo, ebuild scheduled for merge) (buildtime)
- (sys-apps/dbus-1.12.16:0/0::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
- (x11-libs/libX11-1.6.9:0/0::gentoo, ebuild scheduled for merge) (buildtime)
- It might be possible to break this cycle
- by applying any of the following changes:
- - sys-apps/dbus-1.12.16 (Change USE: -X)
- - dev-lang/python-3.8.1 (Change USE: -bluetooth)
- - net-wireless/bluez-5.52 (Change USE: +systemd)
- lo solucionamos
- (chroot) kubuntu / # echo -e "# error a instalar el sistema\n>=dev-lang/python-3.8.1 -bluetooth" > /etc/portage/package.use/python
- (chroot) kubuntu / # emerge --ask --verbose --emptytree --with-bdeps=y @world
- ponemos yes
- Esperamos a que emerga 294 ebuilds que tardara lo suyo (no quedaros delante del pc)
- (chroot) kubuntu / # etc-update
- Scanning Configuration files...
- The following is the list of files which need updating, each
- configuration file is followed by a list of possible replacement files.
- 1) /etc/locale.gen (1)
- 2) /etc/conf.d/keymaps (1)
- Please select a file to edit by entering the corresponding number.
- (don't use -3, -5, -7 or -9 if you're unsure what to do)
- (-1 to exit) (-3 to auto merge all files)
- (-5 to auto-merge AND not use 'mv -i')
- (-7 to discard all updates)
- (-9 to discard all updates AND not use 'rm -i'): -3
- Replacing /etc/locale.gen with /etc/._cfg0000_locale.gen
- mv: overwrite '/etc/locale.gen'? s
- Replacing /etc/conf.d/keymaps with /etc/conf.d/._cfg0000_keymaps
- mv: overwrite '/etc/conf.d/keymaps'? s
- Exiting: Nothing left to do; exiting. :)
- NOTE: 2 updates remaining
- (chroot) kubuntu / # nano /etc/conf.d/keymaps.bak
- lo guardamos sin el .bak asi /etc/conf.d/keymaps
- (chroot) kubuntu / # nano /etc/locale.gen.bak
- lo guardamos sin el .bak asi /etc/locale.gen
- (chroot) kubuntu / # eselect profile set default/linux/amd64/17.1/desktop/plasma
- (chroot) kubuntu / # emerge --ask --verbose --deep --with-bdeps=y --newuse --update @world
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- !!! Multiple package instances within a single package slot have been pulled
- !!! into the dependency graph, resulting in a slot conflict:
- sys-libs/gdbm:0
- (sys-libs/gdbm-1.13-r2:0/1.13::gentoo, ebuild scheduled for merge) USE="berkdb nls readline -exporter -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
- >=sys-libs/gdbm-1.8.3:0/1.13= required by (dev-lang/perl-5.30.1:0/5.30::gentoo, installed) USE="berkdb gdbm -debug -doc -ithreads" ABI_X86="(64)"
- ^^^^^^^^
- (sys-libs/gdbm-1.18.1:0/6::gentoo, installed) USE="berkdb nls readline -static-libs" ABI_X86="32 (64) (-x32)" pulled in by
- sys-libs/gdbm:0/6=[berkdb] required by (dev-lang/python-2.7.17-r1:2.7/2.7::gentoo, installed) USE="bluetooth gdbm ipv6 ncurses readline sqlite ssl (threads) (wide-unicode) xml (-berkdb) -build -examples -hardened -libressl -tk -wininst" ABI_X86="(64)"
- ^^^^^
- It may be possible to solve this problem by using package.mask to
- prevent one of those packages from being selected. However, it is also
- possible that conflicting dependencies exist such that they are
- impossible to satisfy simultaneously. If such a conflict exists in
- the dependencies of two different packages, then those packages can
- not be installed simultaneously.
- For more information, see MASKED PACKAGES section in the emerge man
- page or refer to the Gentoo Handbook.
- !!! The ebuild selected to satisfy "sys-auth/polkit" has unmet requirements.
- - sys-auth/polkit-0.116-r1::gentoo USE="consolekit elogind gtk introspection kde nls pam -examples -jit (-selinux) -systemd -test" ABI_X86="(64)"
- The following REQUIRED_USE flag constraints are unsatisfied:
- exactly-one-of ( consolekit elogind systemd )
- (dependency required by "sys-auth/elogind-243.4::gentoo" [installed])
- (dependency required by "sys-apps/dbus-1.12.16::gentoo[elogind]" [installed])
- (dependency required by "net-wireless/bluez-5.52::gentoo[-systemd]" [ebuild])
- (dependency required by "dev-lang/python-2.7.17-r1::gentoo[bluetooth]" [installed])
- (dependency required by "dev-libs/libxml2-2.9.9-r3::gentoo[python_targets_python2_7,python]" [ebuild])
- (dependency required by "dev-libs/libxslt-1.1.33-r1::gentoo" [installed])
- (dependency required by "x11-libs/libxcb-1.13.1::gentoo" [ebuild])
- (dependency required by "x11-libs/libX11-1.6.9::gentoo" [installed])
- (dependency required by "x11-libs/libXt-1.2.0::gentoo" [installed])
- Portage nos da otro error vamos a denagar systemd y consolekit en las uses de make.conf
- (chroot) kubuntu / # nano -w /etc/portage/make.conf
- DENEGADAS="-consolekit -gnome -qt3support -qt4 -systemd"
- (chroot) kubuntu / # emerge --ask --verbose --deep --with-bdeps=y --newuse --update @world
- Esperamos a que emerga 239 ebuilds que tardara lo suyo (no quedaros delante del pc)
- (chroot) kubuntu / # etc-update
- Scanning Configuration files...
- The following is the list of files which need updating, each
- configuration file is followed by a list of possible replacement files.
- 1) /etc/locale.gen (1)
- 2) /etc/conf.d/keymaps (1)
- Please select a file to edit by entering the corresponding number.
- (don't use -3, -5, -7 or -9 if you're unsure what to do)
- (-1 to exit) (-3 to auto merge all files)
- (-5 to auto-merge AND not use 'mv -i')
- (-7 to discard all updates)
- (-9 to discard all updates AND not use 'rm -i'): -3
- Replacing /etc/locale.gen with /etc/._cfg0000_locale.gen
- mv: overwrite '/etc/locale.gen'? s
- Replacing /etc/conf.d/keymaps with /etc/conf.d/._cfg0000_keymaps
- mv: overwrite '/etc/conf.d/keymaps'? s
- Exiting: Nothing left to do; exiting. :)
- NOTE: 2 updates remaining
- (chroot) kubuntu / # nano /etc/conf.d/keymaps.bak
- lo guardamos sin el .bak asi /etc/conf.d/keymaps
- (chroot) kubuntu / # nano /etc/locale.gen.bak
- lo guardamos sin el .bak asi /etc/locale.gen
- (chroot) kubuntu / # emerge gentoo-sources plymouth genkernel-next lvm2 pciutils usbutils gentoolkit genlop eix
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] app-shells/push-2.0-r1::gentoo 3 KiB
- [ebuild N ] app-shells/quoter-3.0_p2-r1::gentoo 11 KiB
- [ebuild R ] x11-libs/libdrm-2.4.100::gentoo USE="libkms* -valgrind" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="-amdgpu (-exynos) (-freedreno) -intel -nouveau (-omap) -radeon (-tegra) (-vc4) (-vivante) -vmware" 0 KiB
- [ebuild N ] sys-kernel/gentoo-sources-5.5.2-r1:5.5.2-r1::gentoo USE="-build -experimental -symlink" 30 KiB
- [ebuild N ] dev-perl/Date-Manip-6.600.0::gentoo USE="-test" 1783 KiB
- [ebuild N ] app-portage/eix-0.33.9-r1::gentoo USE="nls -debug -doc -sqlite" 614 KiB
- [ebuild N ] app-portage/genlop-0.30.10-r2::gentoo 21 KiB
- [ebuild N ] app-portage/gentoolkit-0.4.7::gentoo PYTHON_TARGETS="python2_7 python3_6 -pypy3 -python3_7 -python3_8" 3131 KiB
- [ebuild N ] app-text/asciidoc-8.6.10_p20181016::gentoo USE="-examples -graphviz -highlight -test" PYTHON_SINGLE_TARGET="python3_6 -pypy3 -python3_7" PYTHON_TARGETS="python3_6 -pypy3 -python3_7" 564 KiB
- [ebuild N ] sys-apps/pciutils-3.6.4::gentoo USE="kmod udev zlib -dns -static-libs" ABI_X86="32 (64) (-x32)" 487 KiB
- [ebuild N ] sys-apps/usbutils-012::gentoo USE="-python" PYTHON_SINGLE_TARGET="python3_6 -python3_7" PYTHON_TARGETS="python3_6 -python3_7" 97 KiB
- [ebuild R ] sys-fs/lvm2-2.02.186-r2::gentoo USE="readline thin udev -device-mapper-only -lvm2create_initrd -sanlock (-selinux) -static -static-libs -systemd" 0 KiB
- [ebuild N ] sys-kernel/genkernel-next-70::gentoo USE="cryptsetup -dmraid -gpg -iscsi -mdadm -plymouth (-selinux)" 2348 KiB
- [ebuild N ] sys-boot/plymouth-0.9.4-r1::gentoo USE="gtk libkms pango (split-usr) udev -debug -gdm -static-libs" 1092 KiB
- Total: 14 packages (12 new, 2 reinstalls), Size of downloads: 10173 KiB
- The following USE changes are necessary to proceed:
- (see "package.use" in the portage(5) man page for more details)
- # required by sys-boot/plymouth-0.9.4-r1::gentoo[libkms]
- # required by plymouth (argument)
- >=x11-libs/libdrm-2.4.100 libkms
- Would you like to add these changes to your config files? [Yes/No] yes
- (chroot) kubuntu / # etc-update
- Scanning Configuration files...
- The following is the list of files which need updating, each
- configuration file is followed by a list of possible replacement files.
- 1) /etc/locale.gen (1)
- 2) /etc/conf.d/keymaps (1)
- 3) /etc/portage/package.use/zzz_via_autounmask (1)
- Please select a file to edit by entering the corresponding number.
- (don't use -3, -5, -7 or -9 if you're unsure what to do)
- (-1 to exit) (-3 to auto merge all files)
- (-5 to auto-merge AND not use 'mv -i')
- (-7 to discard all updates)
- (-9 to discard all updates AND not use 'rm -i'): -3
- (chroot) kubuntu / # emerge plymouth genkernel-next lvm2 pciutils usbutils gentoolkit genlop eix
- (chroot) kubuntu / # emerge sys-kernel/linux-firmware
- (chroot) kubuntu / # echo -e "# Kernel experimental para AMD RYZEN\nsys-kernel/gentoo-sources experimental" > /etc/portage/package.use/gentoo-sources
- chroot) kubuntu / # emerge gentoo-sources
- (chroot) kubuntu / # cd /usr/src/linux
- (chroot) kubuntu /usr/src/linux # make menuconfig
- Configuracion del kernel:
- # Poner nombre al kernel y guardar configuracion en un archivo oculto
- General setup --->
- (-elover) Local version - append to kernel release (NEW) │ │
- <*> Kernel .config support
- [*] Enable access to .config through /proc/config.gz
- # Configuracion para Ryzen amd
- Processor type and features --->
- [*] Symmetric multi-processing support
- [*] AMD ACPI2Platform devices support
- Processor family (Opteron/Athlon64/Hammer/K8) --->
- (X) Opteron/Athlon64/Hammer/K8
- [*] Supported processor vendors --->
- [*] Support AMD processors (NEW)
- [*] SMT (Hyperthreading) scheduler support
- [*] Multi-core scheduler support
- [*] Machine Check / overheating reporting
- [*] AMD MCE features
- Performance monitoring --->
- <*> AMD Processor Power Reporting Mechanism
- [*] AMD microcode loading support
- Power management and ACPI options --->
- CPU Frequency scaling --->
- <*> AMD Opteron/Athlon64 PowerNow!
- <*> AMD frequency sensitivity feedback powersave bias
- Device Drivers --->
- Generic Driver Options --->
- (amd-ucode/microcode_amd_fam17h.bin) External firmware blobs to build into the kernel binary
- (/lib/firmware) Firware blobs root directory
- [*] IOMMU Hardware Support --->
- [*] AMD IOMMU support
- <*> AMD IOMMU Version 2 driver
- [*] Hardware Monitoring support --->
- [*] AMD Family 10h+ temperature sensor
- Processor family (MZEN) --->
- (X) AMD Zen
- # Frecuencia del procesador
- Power management and ACPI options --->
- CPU Frequency scaling --->
- Default CPUFreq governor (schedutil) --->
- # Virualizacion
- [*] Virtualization --->
- <*> Kernel-based Virtual Machine (KVM) support │ │
- < > KVM for Intel processors support (NEW) │ │
- <*> KVM for AMD processors support │ │
- [ ] Audit KVM MMU (NEW) │ │
- <*> Host kernel accelerator for virtio net │ │
- [*] Cross-endian support for vhost │ │
- # configuracion blobs <Micocodigo para procesadores ryzen y driver [ara creative gama Z en mi caso ZxR >
- Device Drivers --->
- `Generic Driver Options --->
- Firmware loader --->
- (amd-ucode/microcode_amd_fam17h.bin ctefx.bin) Build named firmware blobs into the kernel binary
- # Configuracion para VMWARE
- Device Drivers --->
- Misc devices --->
- <*> VMware VMCI Driver
- SCSI device support --->
- [*] SCSI low-level drivers --->
- <*> VMware PVSCSI driver support
- [*] Virtio drivers ---
- <*> PCI driver for virtio devices>
- <*> Virtio balloon driver
- <*> Virtio input driver
- [*] Network device support --->
- <*> VMware VMXNET3 ethernet driver
- Networking support --->
- Networking options --->
- <*> Virtual Socket protocol
- <*> VMware VMCI transport for Virtual Sockets
- # Configuracion para vpn
- Device Drivers --->
- [*] Network device support --->
- <*> Universal TUN/TAP device driver support
- # configuracian qemu
- Networking support --->
- Networking options --->
- <*> The IPv6 protocol
- <*> 802.1d Ethernet Bridging
- # configuracian bluetooth
- [*] Networking support --->
- <M> Bluetooth subsystem support --->
- [*] Bluetooth Classic (BR/EDR) features
- <*> RFCOMM protocol support
- [ ] RFCOMM TTY support
- < > BNEP protocol support
- [ ] Multicast filter support
- [ ] Protocol filter support
- <*> HIDP protocol support
- [*] Bluetooth High Speed (HS) features
- [*] Bluetooth Low Energy (LE) features
- Bluetooth device drivers --->
- <M> HCI USB driver
- <M> HCI UART driver
- <*> RF switch subsystem support --->
- Device Drivers --->
- HID support --->
- <*> User-space I/O driver support for HID subsystem
- # Configuracion de tarjeta de red (descativar todas menos la tarjeta de red que tengais)
- Device Drivers --->
- [*] Network device support --->
- [*] Ethernet driver support --->
- [*] Realtek devices
- <*> Realtek 8169/8168/8101/8125 ethernet support
- # Configuracion de perifericos gamer, mandos, jostick y mouse
- Device Drivers --->
- Input device support --->
- <*> Joystick interface
- [*] Joysticks/Gamepads --->
- <*> Classic PC analog joysticks and gamepads
- <*> X-Box gamepad support
- [*] X-Box gamepad rumble support
- [*] LED Support for Xbox360 controller 'BigX' LED
- HID support --->
- Special HID drivers --->
- <*> Corsair devices
- <*> Mayflash game controller adapter force feedback
- <*> Roccat device support
- <*> Sony PS2/3/4 accessories
- [*] Sony PS2/3/4 accessories force feedback support
- <*> Nintendo Wii / Wii U peripherals
- # Configuar webcam, tdt y satelite
- Device Drivers --->
- <*> Multimedia support --->
- [*] Cameras/video grabbers support
- [*] Digital TV support
- [*] Media USB Adapters --->
- <*> USB Video Class (UVC)
- <*> Support for various USB DVB devices v2
- <*> Afatech AF9035 DVB-T USB2.0 support
- # Configuracion nvidia
- Device Drivers --->
- <> Intel 8xx/9xx/G3x/G4x/HD Graphics
- [ ] Bootup logo ----
- # tarjetas de sonido
- Device Drivers --->
- <*> Advanced Linux Sound Architecture --->
- HD-Audio --->
- [*] Support initialization patch loading for HD-audio
- <*> Build Realtek HD-audio codec support
- <*> Build HDMI/DisplayPort HD-audio codec support
- <*> Build Creative CA0132 codec support
- [*] Support new DSP code for CA0132 codec0
- (2048) Pre-allocated buffer size for HD-audio driver
- [*] USB sound devices --->
- <*> USB Audio/MIDI driver
- # Configuracuion usb y ttl
- Device Drivers --->
- [*] USB support --->
- <*> USB Serial Converter support --->
- [*] USB Serial Console device support
- [*] USB Generic Serial Driver
- <*> USB Serial Simple Driver
- <*> USB CP210x family of UART Bridge Controllers
- ` <*> USB Type-C Support --->
- <*> Thunderbolt support ----
- # Tarjetas de memoria flash
- Device Drivers --->
- <*> MMC/SD/SDIO card support --->
- <*> Sony MemoryStick card support --->
- <*> MemoryStick Pro block device driver
- <*> MemoryStick Standard device driver
- # Sistema de archivos
- File systems --->
- <*> Btrfs filesystem support
- [*] Btrfs POSIX Access Control Lists
- [*] Btrfs assert support
- [*] Btrfs with the ref verify tool compiled in
- <*> FUSE (Filesystem in Userspace) support
- <*> Character device in Userspace support
- CD-ROM/DVD Filesystems --->
- <M> UDF file system support
- DOS/FAT/NT Filesystems --->
- [*] Enable FAT UTF-8 option by default
- ` <*> NTFS file system support
- [*] NTFS write support
- # Encriptacion, lvm etc
- Device Drivers --->
- Multiple devices driver support (RAID and LVM) --->
- <*> Device mapper support
- <*> Crypt target support
- <*> Snapshot target
- <*> Mirror target
- <*> Multipath target
- <*> I/O Path Selector based on the number of in-flight I/Os
- <*> I/O Path Selector based on the service time
- Cryptographic API --->
- <*> Parallel crypto engine
- <*> XTS support
- <*> SHA1 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)
- <*> SHA256 digest algorithm (SSSE3/AVX/AVX2/SHA-NI)
- <*> SHA512 digest algorithm (SSSE3/AVX/AVX2)
- -*- SHA224 and SHA256 digest algorithm
- -*- SHA384 and SHA512 digest algorithms
- <*> SHA3 digest algorithm
- <*> Tiger digest algorithms
- <*> Whirlpool digest algorithms
- <*> Fixed time AES cipher
- <*> AES cipher algorithms (AES-NI)
- <*> Serpent cipher algorithm (x86_64/SSE2)
- -*- Serpent cipher algorithm (x86_64/AVX)
- <*> Serpent cipher algorithm (x86_64/AVX2)
- <*> TEA, XTEA and XETA cipher algorithms
- <*> Twofish cipher algorithm
- -*- Twofish cipher algorithm (x86_64)
- -*- Twofish cipher algorithm (x86_64, 3-way parallel) │
- <*> Twofish cipher algorithm (x86_64/AVX)
- <*> LZO compression algorithm
- <*> LZ4 compression algorithm
- <*> LZ4HC compression algorithm
- <*> Zstd compression algorithm
- <*> Pseudo Random Number Generation for Cryptographic modules
- <*> User-space interface for hash algorithms
- <*> User-space interface for symmetric key cipher algorithms
- <*> User-space interface for random number generator algorithms
- <*> User-space interface for AEAD cipher algorithms
- # Salvamos configuracion
- (chroot) kubuntu /usr/src/linux # make -j17
- (chroot) kubuntu /usr/src/linux # make modules_install
- (chroot) kubuntu /usr/src/linux # make install
- (chroot) kubuntu ~ # emerge dev-vcs/git
- (chroot) kubuntu ~ # nano -w /etc/portage/repos.conf/sakaki-tools.conf
- [sakaki-tools]
- # Various utility ebuilds for Gentoo on EFI
- # Maintainer: sakaki (sakaki@deciban.com)
- location = /var/db/repos/sakaki-tools
- sync-type = git
- sync-uri = https://github.com/sakaki-/sakaki-tools.git
- priority = 50
- auto-sync = yes
- (chroot) kubuntu ~ # emaint sync --repo sakaki-tools
- (chroot) kubuntu /usr/src/linux # emerge efitools
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] sys-boot/gnu-efi-3.0.11::gentoo USE="(-custom-cflags)" ABI_X86="32 (64)" 151 KiB
- [ebuild N ] app-crypt/sbsigntools-0.9.2::gentoo 167 KiB
- [ebuild N ] dev-perl/File-Slurp-9999.270.0::gentoo USE="-test" 37 KiB
- [ebuild N ] app-crypt/efitools-1.9.2::sakaki USE="-libressl -static" 114 KiB
- Total: 4 packages (4 new), Size of downloads: 468 KiB
- Would you like to merge these packages? [Yes/No] yes
- >>> Verifying ebuild manifests
- (chroot) kubuntu ~ # emerge btrfs-progs
- * IMPORTANT: 5 news items need reading for repository 'sakaki-tools'.
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] app-arch/zstd-1.4.4-r2:0/1::gentoo USE="-lz4 -static-libs" ABI_X86="32 (64) (-x32)" 1917 KiB
- [ebuild N ] sys-fs/btrfs-progs-5.4.1::gentoo USE="convert zstd -doc -python -reiserfs -static -static-libs" PYTHON_SINGLE_TARGET="python3_6 -python3_7" PYTHON_TARGETS="python3_6 -python3_7" 2059 KiB
- Total: 2 packages (2 new), Size of downloads: 3975 KiB
- Would you like to merge these packages? [Yes/No] yes
- (chroot) kubuntu ~ # genkernel --install --luks --lvm --udev initramfs
- creamos fstab
- (chroot) kubuntu ~ # blkid
- Buscamos el sdg1 y copiamos uuid
- (chroot) kubuntu ~ # nano /etc/fstab
- UUID=xxxx-xxxxx /boot/efi ext4 noauto,noatime 1 2
- /dev/mapper/gentoovg-root / rw,noatime,compress=lzo,ssd,discard,space_cache,inode_cache 0 1
- /dev/mapper/gentoovg-home /home rw,noatime,compress=lzo,ssd,discard,space_cache,inode_cache 0 1
- /dev/mapper/gentoovg-swap none swap sw 0 0
- tmpfs /var/tmp tmpfs rw,nosuid,noatime,nodev,size=2G,mode=1777 0 0
- tmpfs /var/tmp/portage tmpfs rw,nosuid,noatime,nodev,size=12G,mode=775,uid=portage,gid=portage,x-mount.mkdir=775 0 0
- (chroot) kubuntu ~ # eselect locale set 7
- Setting LANG to es_ES.utf8 ...
- Run ". /etc/profile" to update the variable in your shell.
- (chroot) kubuntu ~ # env-update && source /etc/profile && export PS1="(chroot) $PS1"
- >>> Regenerating /etc/ld.so.cache...
- # editamos nombre de la maquina
- nano -w /etc/hosts
- chroot) kubuntu ~ # nano -w /etc/conf.d/hostname
- # Set to the hostname of this machine
- hostname="elover"
- (chroot) kubuntu ~ # nano /etc/hosts
- # IPv4 and IPv6 localhost aliases
- 127.0.0.1 localhost elover-pc
- ::1 localhost elover-pc
- (chroot) kubuntu ~ # passwd
- New password:
- # Instlamos complementos
- (chroot) kubuntu ~ # emerge --ask app-admin/sysklogd sys-process/cronie sys-apps/mlocate sys-fs/dosfstools app-admin/syslog-ng
- (chroot) kubuntu ~ # sed -i 's/threaded(yes)/threaded(no)/g' /etc/syslog-ng/syslog-ng.conf
- (chroot) kubuntu ~ # sed -i 's/threaded(yes)/threaded(no)/g' /etc/syslog-ng/syslog-ng.conf
- (chroot) kubuntu ~ # rc-update add sysklogd default
- * service sysklogd added to runlevel default
- (chroot) kubuntu ~ # rc-update add cronie default
- * service cronie added to runlevel default
- (chroot) kubuntu ~ # rc-update add NetworkManager default
- * service NetworkManager added to runlevel default
- (chroot) kubuntu ~ # crontab /etc/crontab
- # instalamos grub
- (chroot) kubuntu ~ # emerge grub
- * IMPORTANT: 5 news items need reading for repository 'sakaki-tools'.
- * IMPORTANT: 5 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] media-libs/libogg-1.3.4::gentoo USE="-static-libs" ABI_X86="32 (64) (-x32)" 419 KiB
- [ebuild N ] media-libs/opus-1.3.1-r1::gentoo USE="-custom-modes -doc -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse" 1.016 KiB
- [ebuild N ] media-libs/alsa-lib-1.2.1.2::gentoo USE="thread-safety -alisp -debug -doc -python" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_7" PYTHON_TARGETS="python2_7 python3_6 -python3_7" 981 KiB
- [ebuild N ] net-libs/libasyncns-0.8-r4::gentoo USE="-debug -doc" ABI_X86="32 (64) (-x32)" 334 KiB
- [ebuild N ] dev-lang/orc-0.4.31::gentoo USE="-gtk-doc -static-libs -test" ABI_X86="32 (64) (-x32)" 174 KiB
- [ebuild N ] media-libs/webrtc-audio-processing-0.3.1::gentoo USE="-static-libs" ABI_X86="32 (64) (-x32)" 680 KiB
- [ebuild N ] media-libs/flac-1.3.3::gentoo USE="cxx ogg (-altivec) -debug -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse" 1.020 KiB(chroot) kubuntu ~ # nano /etc/hosts
- [ebuild N ] sys-libs/efivar-37:0/1::gentoo 107 KiB
- [ebuild N ] media-libs/sbc-1.4::gentoo USE="-static-libs" ABI_X86="32 (64) (-x32)" 245 KiB
- [ebuild N ] media-libs/speexdsp-1.2_rc3-r2::gentoo USE="-static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse sse2" 881 KiB
- [ebuild N ] media-libs/libvorbis-1.3.6-r1::gentoo USE="-static-libs -test" ABI_X86="32 (64) (-x32)" 1.168 KiB
- [ebuild N ] dev-scheme/guile-2.2.6:12/2.2-1::gentoo USE="deprecated networking nls regex threads -debug -debug-malloc" 17.708 KiB
- [ebuild N ] sys-boot/efibootmgr-16::gentoo 36 KiB
- [ebuild N ] media-libs/audiofile-0.3.6-r3:0/1::gentoo USE="flac -static-libs -test" ABI_X86="32 (64) (-x32)" 519 KiB
- [ebuild N ] sys-devel/autogen-5.18.16-r1::gentoo USE="-libopts -static-libs" 1.033 KiB
- [ebuild N ] media-libs/libsndfile-1.0.29_pre2_p20191024::gentoo USE="alsa -minimal -sqlite -static-libs -test" ABI_X86="32 (64) (-x32)" 705 KiB
- [ebuild N ] media-sound/pulseaudio-13.0::gentoo USE="X alsa alsa-plugin asyncns bluetooth caps dbus elogind gdbm glib gtk ipv6 orc qt5 ssl tcpd udev webrtc-aec -doc -equalizer -gconf -jack -libressl -libsamplerate -lirc -native-headset -ofono-headset (-oss) -realtime (-selinux) -sox (-system-wide) -systemd -test -zeroconf" ABI_X86="32 (64) (-x32)" 1.858 KiB
- [ebuild N ] media-plugins/alsa-plugins-1.2.1::gentoo USE="mix pulseaudio usb_stream -arcam_av -debug -ffmpeg -jack -libav -libsamplerate -oss -speex" ABI_X86="32 (64) (-x32)" 397 KiB
- [ebuild N ] media-libs/libsdl-1.2.15-r9::gentoo USE="X alsa joystick opengl pulseaudio sound video xv -aalib -custom-cflags -dga -fbcon -libcaca -nas -oss -static-libs -tslib -xinerama" ABI_X86="32 (64) (-x32)" 3.829 KiB
- [ebuild N ] sys-boot/grub-2.05_alpha20200110:2/2.05_alpha20200110::gentoo USE="fonts nls sdl themes truetype -device-mapper -doc -efiemu -libzfs -mount (-test)" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh" 7.037 KiB
- Total: 20 packages (20 new), Size of downloads: 40.140 KiB
- Would you like to merge these packages? [Yes/No] yes
- blkid /dev/sdf2 y copiamos PARTUUID
- (chroot) kubuntu ~ # nano -w /etc/default/grub
- GRUB_PRELOAD_MODULES=lvm
- GRUB_ENABLE_CRYPTODISK=y
- GRUB_DEVICE=/dev/ram0
- GRUB_CMDLINE_LINUX="crypt_root=/dev/disk/by-partuuid/33a5f14f-XXXXXX-XXXXX-XXXX real_root=/dev/mapper/gentoovg/root rootfstype=btrfs dolvm real_init=/sbin/init real_resume=/dev/mapper/vg1-swap keymap=es quiet splash root_trim=yes"
- (chroot) kubuntu ~ # rc-update add lvm boot
- * service lvm added to runlevel boot
- (chroot) kubuntu ~ # emerge os-prober
- * IMPORTANT: 5 news items need reading for repository 'sakaki-tools'.
- * IMPORTANT: 6 news items need reading for repository 'gentoo'.
- * Use eselect news read to view new items.
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] sys-fs/fuse-common-3.9.0::gentoo 1.488 KiB
- [ebuild N ] sys-fs/fuse-2.9.9-r1::gentoo USE="-examples -static-libs" 1.771 KiB
- [ebuild R ] sys-boot/grub-2.05_alpha20200110:2/2.05_alpha20200110::gentoo USE="device-mapper fonts mount* nls sdl themes truetype -doc -efiemu -libzfs (-test)" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -uboot -xen -xen-32 -xen-pvh" 0 KiB
- [ebuild N ] sys-boot/os-prober-1.77::gentoo 27 KiB
- Total: 4 packages (3 new, 1 reinstall), Size of downloads: 3.285 KiB
- The following USE changes are necessary to proceed:
- (see "package.use" in the portage(5) man page for more details)
- # required by sys-boot/os-prober-1.77::gentoo
- # required by os-prober (argument)
- >=sys-boot/grub-2.05_alpha20200110 mount
- Would you like to add these changes to your config files? [Yes/No] yes
- (chroot) kubuntu ~ # etc-update
- Scanning Configuration files...
- The following is the list of files which need updating, each
- configuration file is followed by a list of possible replacement files.
- 1) /etc/portage/package.use/zzz_via_autounmask (1)
- Please select a file to edit by entering the corresponding number.
- (don't use -3, -5, -7 or -9 if you're unsure what to do)
- (-1 to exit) (-3 to auto merge all files)
- (-5 to auto-merge AND not use 'mv -i')
- (-7 to discard all updates)
- (-9 to discard all updates AND not use 'rm -i'): -3
- Replacing /etc/portage/package.use/zzz_via_autounmask with /etc/portage/package.use/._cfg0000_zzz_via_autounmask
- mv: ¿sobreescribir '/etc/portage/package.use/zzz_via_autounmask'? (s/n) s
- Exiting: Nothing left to do; exiting. :)
- grub-install --target=x86_64-efi --efi-directory=/boot/efi # para uefi
- grub-install /dev/sda # para bios
- grub-mkconfig -o /boot/grub/grub.cfg
- #Creamos el usuario
- useradd -m -G users,wheel,audio,video,cdrom,cdrw,usb,plugdev -s /bin/bash elover
- passwd elover
- #reiniciamos
- exit
- cd
- umount -l /mnt/gentoo/dev{/shm,/pts,}
- umount -R /mnt/gentoo
- reboot
- emerge sudo
- nano /etc/sudoers
- Desmarcamos la wheel no la wheel root
- emerge xorg-drivers
- eselect opegnl set nvidia
- eselect opegnl set nvidia
- reboot
- emerge xterm twm
- startx #si inicia todo perfecto
- emerge plasma-meta
- nano /etc/conf.d/xdm
- cambiamos xdm por sddm
- rc-update add xdm default
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement