http://gentoo.osuosl.org/releases/snapshots/current/
got the stage3 tarball and the current portage snapshot
---
mount /dev/sda3 /mnt/gentoo;
mkdir /mnt/gentoo/boot;
mount /dev/sda1 /mnt/gentoo/boot;
mount -o bind /proc /mnt/gentoo/proc;
--
cp -L /etc/resolv.conf /mnt/gentoo/etc/;
swapon /dev/sda2;
mount /dev/sda3 /mnt/gentoo;
mount /dev/sda1 /mnt/gentoo/boot;
mount -t proc proc /mnt/gentoo/proc;
mount -o bind /dev/ /mnt/gentoo/dev;
Once inside the chroot you need to run
chroot /mnt/gentoo /bin/bash;
env-update;
source /etc/profile ;
export PS1="(chroot) $PS1";
--------
compile kernel
cd /usr/src/linux;
make menuconfig;
only do thisto update after initial install
# make -j5 && make modules_install && make install && mount /boot && boot-update
# reboot
No comments:
Post a Comment