removido
(usa Nenhuma)
Enviado em 17/10/2020 - 20:27h
boot:gentoo dopcmcia(Não li para que precisa,mas faço)
Root# modprobe 8139too(Não li para que precisa,mas faço,se quiser comentar o que cada comando faz fique a vontade)
passwd junior
rc-service sshd start
net-setup
cfdisk
/dev/sda1 2MB Bootloader se não me engano
/dev/sda2 ext2 128M Boot/EFI
/dev/sda3 (swap) 4096M Swap
/dev/sda4 ext4 resto do disco/root
mkfs.ext2 /dev/sda2
mkfs.ext4 /dev/sda4
mkswap /dev/sda3
swapon /dev/sda3
mount /dev/sda4 /mnt/gentoo
date 101014102020
Mês,dia,hora,ano no date
cd /mnt/gentoo
links
https://www.gentoo.org/downloads/mirrors
releases/amd64/autobuilds/current-stage3 amd64etc../stage3amd64etc..
tar xpvf stage *tar.xz ou tar.bz2 --xattrs-include='*.*' --numeric-owner
mirrorselect -i -o>>/mnt/gentoo/etc/portage/make.conf
Selecionar os 3 links do Brasil
mkdir --parents /mnt/gentoo/etc/portage/repos.conf
cp/mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf
cp --dereference /etc/resolv.conf /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
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) ${PS1}"
mount /dev/sda2 /boot
emerge-webrsync
emerge --sync
eselect profile list
eselect profile set 23
emerge --ask --verbose --update --deep --newuse @world
nano -w /etc/portage/make.conf
Use="-gtk -gnome qt5 kde dvd alsa cdr"
ls /usr/share/zoneinfo
echo "Brazil/East" >/etc/timezone
emerge --config sys-libs/timezone-data
locale-gen
eselect locale list
eselect locale set 4
env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
emerge --ask sys-kernel/gentoo-sources
ls -l /sr/src/linux
emerge --ask sys-apps/pciutils
cd /usr/src/linux
make menuconfig
file systems(Todos possíveis)
device drivers
Network device support
PPP point to point protocol
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\support for async
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\support for sync
device drivers
generic HID driver
battery level reporting hid devices
Usb hid transport layer
usb 3.0 support
usb 2.0 support
usb 1.1 support
Enable the block layer
partition types
advanced partition selection
EFI guid partition support
make && make modules_install
make install
nano-w /etc/fstab
/dev/sda2 /boot ext2 defaults noatime 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext4 noatime 0 1
/dev/cdrom/mnt/cdrom auto noauto,user 00
nano -w /etc/conf.d/hostname
hostname="maquinadojunior"
nano -w /etc/conf.d/net
dns_domain_lo="homenetwork"
cd /etc/init.d
ln -s net.lo net.eth0
rc-update add net.etho default
nano -w qetc/hosts(Libero todos os numeros e no alias coloco maquinadojunior)
passwd
nano -w /etc/conf.d/keymaps
keymap="br-abnt2"
emerge --ask app-admin/sysklogd
rc-update add sysklogd default
emerge --ask sys-process/cronie
rc-update add cronie default
crontab /etc/crontab
emerge --ask sys-apps/mlocate
emerge --ask net-misc/dhcpd
emerge --ask net-wirelless/iw net-wireless/wpa_supplicant
emerge --ask kde-plasma/plasma-meta
emerge --ask kde-apps/kdeadmin-meta
emerge --ask kde-apps/kdecore-meta
emerge --ask kde-apps/kdenetworkmanager ou só network não me lembro agora
emerge wicd
emerge --ask --verbose sys-booot/grub:2
echo 'GRUB_PLATFORMS="efi-64"' >>/etc/portage/make.conf
emerge --ask sys-boot /grub:2
emerge --ask --update --newuse --verbose sys-boot/grub:2
grub-install /dev/sda
em /etc/portage/make.conf coloco o seguinte abaixo de efi-64
GRUB-PLATFORMS="i386-pc"
antigamente ia,agora não vai mais.dá erro no grub
depois atualizo com:
emerge --ask --update --newuse --verbose sys-boot/grub:2
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -R /mnt/gentoo
reboot
fim.