download stage3
tar xpvf stage3-*.tar.bz2 --xattrs-include='*.*' --numeric-owner
tar cpf - --exclude=="/mnt/" --one-file-system / | tar xpf - --xattrs-include='*.*' --numeric-owner
###copy whole system to another disk
###
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/"
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
mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) ${PS1}"
emerge-webrsync
passwd or .ssh
emerge grub dhcpcd sysklogd
rc-update add sysklogd default
rc-update add sshd default
update /etc/default/grub
grub-install device
grub-mkconfig -o file
backup system
tar cvpzf backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/backup.tar.gz --exclude=/mnt --exclude=/sys /
Comments
Btcabu https://geturox.best…
Btcabu https://geturox.best/ - buy generic alfuzosin 10 mg Uflhkj
check my reference how to…
check my reference how to hire a forensic accountant
Add new comment