diff --git a/install_sys.sh b/install_sys.sh index 59ee019..248f923 100644 --- a/install_sys.sh +++ b/install_sys.sh @@ -38,4 +38,12 @@ echo 'LC_COLLATE="C"' >> $CHROOT/etc/env.d/02locale echo "app-admin/sudo -sendmail" >> $CHROOT/etc/portage/package.use/sudo.use chroot $CHROOT /bin/bash -c "emerge sudo" echo 'GRUB_PLATFORMS="pc"' >> $CHROOT/etc/portage/make.conf -echo "sys-boot/grub -fonts -themes" >> $CHROOT/etc/portage/package.use/grub.use \ No newline at end of file +echo "sys-boot/grub -fonts -themes" >> $CHROOT/etc/portage/package.use/grub.use +chroot $CHROOT /bin/bash -c "emerge genkernel" +chroot $CHROOT /bin/bash -c "emerge gentoo-sources" +chroot $CHROOT /bin/bash -c "genkernel all" +chroot $CHROOT /bin/bash -c "grub-install /dev/sda" +chroot $CHROOT /bin/bash -c "grub-mkconfig -o /boot/grub/grub.cfg" +echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet"' >> $CHROOT/etc/default/grub +chroot $CHROOT /bin/bash -c "useradd -p password joe" +chroot $CHROOT /bin/bash -c "useradd -G wheel joe"