В данном блоге я покажу как можно установить дистрибутив Gentoo Linux. Список некоторых команд: dd bs=4M if= of=/dev/sdx status=progress oflag=sync sudo su mkdir /mnt/gentoo cd /mnt/gentoo wget ***. tar xpvf stage3-*. --xattrs-include=’*.*’ --numeric-owner cp --dereference /etc/ /mnt/gentoo/etc/ mount --types proc /proc /mnt/gentoo/proc mount --rbind /sys /mnt/gentoo/sys mount --make-rslave /mnt/gentoo/sys mount --rbind /dev /mnt/gentoo/dev mount --make-rslave /mnt/gentoo/dev mount --bind /run /mnt/gentoo/run mount --make-slave /mnt/gentoo/run chroot /mnt/gentoo /bin/bash env-update source /etc/profile export PS1=“(my) $PS1“ emerge-webrsync eselect profile list eselect profile set XX nano /etc/portage/ ln -sf ../usr/share/zoneinfo/Europe/Moscow /etc/localtime nano -w /etc/ locale-gen eselect locale set X env-update && source /etc/profile && export PS1=“(chroot) ${PS1}“ emerge -avg gentoolkit emerge -avg gentoo-kernel-bin blkid nano -w /etc/fstab systemd-machine-id-setup systemd-firstboot --prompt systemctl preset-all —preset-mode=enable-only passwd nano -w /etc/hosts emerge -av x11-drivers/nvidia-drivers eselect editor set nano useradd -c “myu“ -d /home/myu -f0 -g users -G lp,wheel,console,video,usb,portage,uucp,systemd-journal,lpadmin -m -s /bin/bash -u 1000 myu passwd my gpasswd -a myu games emerge -avg kde-plasma/plasma-meta emerge -avg sys-boot/grub sys-boot/os-prober emerge -avg sys-kernel/linux-firmware kde-apps/konsole # mount /dev/nvmeXnYpZ /mnt/gentoo/boot/efi # grub-install --target=x86_64-efi --efi-directory=/efi # grub-mkconfig -o /boot/grub/ emerge -avguND world exit cd umount -l /mnt/gentoo/dev{/shm,/pts,} umount -R /mnt/gentoo 1) 2) :AMD64/Full/Installation
Hide player controls
Hide resume playing