
- Gentoo linux iso install#
- Gentoo linux iso manual#
- Gentoo linux iso full#
Run the script: bash gentoo-quick-installer.sh.Connect using ssh from host to guest: ssh -p -p 2222.Run ssh daemon on guest: /etc/init.d/sshd start.If you don’t want to type this URL, you could connect to guest using SSH.USE_LIVECD_KERNEL – it is up to you, using binary precompiled version is a faster way to get bootable Gentoo (enabled by default).
(optional) Configure other environment variables:. Export root password if needed, for example: export ROOT_PASSWORD="Gentoo123". Pick any secure password that can be accepted by Gentoo (keep in mind, password should be kind of secure – at least 8 characters, mix of upper and lower case and digits). Export ssh public key if needed, for example: export SSH_PUBLIC_KEY="$(cat id_rsa.pub)". Download ssh public key if needed, for example: wget. Setup credentials to access Gentoo after installation. THIS SCRIPT WILL DESTROY ALL DATA ON GUEST OS DISK!!! DO NOT RUN ON HOST OS WITH YOUR DATA!!! Download public key from guest later as wget (or whatever public key you have). For example, run python3 -m rver 8888 -directory ~/.ssh on the host. Put your ssh public key somewhere where Virtual Box instance can download it. If you would like to enable SSH public key access: (optional) Setup port forwarding from host to guest for SSH (for example, host 2222 -> guest 22). Create new instance (around 15GB is needed for minimal Gentoo). Instruction below should work for both macOS and Windows. You could login into host and change if you want. NOTE: All other options like locale, charset, hostname are default. Root password for password-enabled ssh or regular terminal login access. Public SSH key for password-less ssh access. Setup dhcp wired network on first interface. or regular mode: Download kernel sources and build kernel using genkernel. Gentoo linux iso install#
quick mode: Copy precompiled kernel from install CD. Install latest stage3 and portage snapshot (for x86_64 platform, but that could be altered in script). Prepare partitions (boot, swap, root partitions). It performs minimal set of actions to get bootable Gentoo: Pretty linear bash script that is intended to be executed in guest OS. It is a little bit naive and straightforward but it is also simple and easy to tune for your needs. The script in this article will save your time since it is doing basic Gentoo installation steps to get minimal bootable Gentoo instance. Let’s say you need Gentoo running on Virtual Box on your physical box to test some Gentoo-specific things or just to play with Gentoo Linux. Gentoo linux iso manual#
Sometimes working Gentoo environment could be needed just right now but typical manual installation is taking time. However, the script below is easier and should work for any host OS since the script is executed inside guest. Gentoo-vbox-builder doesn’t require any manual typing in VirtualBox console or any manipulations inside VirtualBox as the script referenced below.
Gentoo linux iso full#
There is also full automated script available that can be executed on the host OS (works well for macOS and Linux, but could be tricky on Windows).