Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swapon /dev/sda6
- mount /dev/sda7 /mnt/gentoo
- date
- ntpd -q -g
- date
- nano -w /mnt/gentoo/etc/portage/make.conf
- MAKEOPTS="-j5"
- 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
- test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
- mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm
- chroot /mnt/gentoo /bin/bash
- source /etc/profile
- export PS1="(chroot) ${PS1}"
- mount /dev/sda5 /boot
- emerge --sync
- eselect profile list
- -- [16] amd64/17.1 (stable)
- emerge --ask --verbose --update --deep --newuse @world
- nano -w /etc/portage/make.conf
- USE="-bluetooth -cups -gnome -kde -qt4 -qt5 -pcmcia smp -systemd -wifi"
- ls /usr/share/zoneinfo
- echo 'US/Central' > /etc/timezone
- emerge --config sys-libs/timezone-data
- nano -w /etc/locale.gen
- locale-gen
- eselect locale list
- #set en_US.utf8
- nano /etc/env.d/02locale
- LC_COLLATE="C"
- env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
- emerge --ask sys-kernel/gentoo-sources
- emerge --ask sys-apps/pciutils
- make menuconfig
- make && make modules_install
- make install
- nano /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 0 0
- nano -w /etc/conf.d/hostname
- hostname="tux"
- emerge --ask --noreplace net-misc/netifrc
- nano /etc/conf.d/net
- dns_domain_lo="new-page"
- config_eth0="dhcp"
- cd /etc/init.d && ln -s net.lo net.eth0 && rc-update add net.eth0 default
- nano -w /etc/conf.d/hwclock
- # set to local
- emerge --ask app-admin/sysklogd
- rc-update add sysklogd default
- emerge --ask app-admin/logrotate
- nano /etc/logrotate.d/portage
- >>
- /var/log/portage/*.log {
- su portage portage
- createolddir 755 portage portage
- rotate 1
- weekly
- nocreate
- missingok
- ifempty
- olddir /var/log/portage/old
- compress
- }
- <<
- emerge --ask sys-process/cronie && rc-update add cronie default && crontab /etc/crontab
- rc-update add sshd default
- emerge --ask sys-fs/e2fsprogs sys-fs/dosfstools
- emerge --ask net-misc/dhcpcd
- emerge --ask --verbose sys-boot/grub:2
- grub-install /dev/sda
- emerge --ask --verbose sys-boot/os-prober app-portage/cfg-update
- # change merge app to 'sdiff'
- cd && umount -l /mnt/gentoo/dev{/shm,/pts,} && umount -R /mnt/gentoo && reboot
- # Early emerge-d packages:
- # /etc/ customizations
- #sshd_config
- X11Forwarding yes
- X11UseLocalhost no
- #rsync for android:
- PubkeyAcceptedKeyTypes=+ssh-dss
- #cfg-update.conf
- #MERGE_TOOL = /usr/bin/meld
- MERGE_TOOL = /usr/bin/sdiff
- #make.conf
- MAKEOPTS="-j5"
- USE="-bluetooth -cups -gnome -kde -qt4 -qt5 -pcmcia smp -systemd -wifi"
- L10N="en en-GB en-US"
- #http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo
- GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://mirror.sjc02.svwh.net/gentoo/ http://gentoo.cs.utah.edu/"
- #sudoers.d/rodney
- rodney new-page = (ALL) ALL
- #more emerge
- app-misc/figlet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement