Here's the script I used to get from an existing system into the gentoo
environment to install the gentoo system.  I started with stage3 and chose
openrc and went down that path.

#!/usr/bin/bash
# file: sgentoo.sh - setup gentoo mounts
echo "once disk setup from gentoo handbook is complete"
echo "press <enter> to chroot into gentoo environment."
read
sudo mount /dev/sda3 /mnt/gentoo
sudo mount /dev/sda1 /mnt/gentoo/efi
sudo swapon /dev/sda2
sudo cp --dereference /etc/resolv.conf /mnt/gentoo/etc
sudo mount --types proc /proc /mnt/gentoo/proc
sudo mount --rbind /sys /mnt/gentoo/sys
sudo mount --rbind /dev /mnt/gentoo/dev
sudo mount --bind /run /mnt/gentoo/run
sudo chroot /mnt/gentoo /bin/bash

I found this useful since the gentoo installation as far as it went wasn't
done in a single session.

-- 
 Jude <jdashiel at panix dot com>
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Mon, 27 May 2024, Jude DaShiell wrote:

> After having followed the handbook I end up with /boot in /sda3 even
> though mount /dev/sda1 /mnt/gentoo/efi had been run and /dev/sda1 is vfat
> 32 format and is efi system.
> What did I do wrong?
>
>
> --
>  Jude <jdashiel at panix dot com>
>  "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo.
>  Please use in that order."
>  Ed Howdershelt 1940.
>
>

Reply via email to