$tar xpf stage3- *.tar.xz -xattrs-include= '*.*'
$cp /home /gentoo /Downloads /mnt /gentoo Next we need to enter parted utility to partition this disk. Open terminal (konsole) and run sudo -i to become root user and then run lsblk to list all the block storage devices.The device name in our case is sda is sda and it is of size 32GB. To make the partitions we first need to get the name of the virtual disk attached to the system. Formatted with ext4 filesystem and is going to take the remaining majority of the space of the virtual disk.
Selecting x86_64 is the most appropriate option in this case.Īfter that you will be greeted with a login screen with default gentoo user, click on login without entering any password (as indicated in the screenshot below). Once you start up the VM you will see the boot menu with the following options:
Click on the file icon beside it and in the file explorer that opens after that navigate to the gentoo livecd iso file that you have downloaded earlier.
Now, select the newly created VM from VirtualBox dashboard and you will be prompted with a start-up disk. The default values would work just fine in this case (although we are going to work with 32GB of disk space instead of 8GB) and now you can click on ‘Create’ one last time to finalize the details. Set the memory size to 2048MB and then click on “Create” to proceed with the creation of virtual hard disk. Open VirtualBox, and click on the button that says “New” now you can enter the name of the VM and select ‘Type’ as Linux and ‘Version’ as Gentoo 64-bit. Next you need to create a VM on VirtualBox. Modern Intel and AMD processors usually offer AMD64 architecture. Pick the one that belongs to your hardware platform. Which means that the disk image can be used for installing the operating system onto another disk or it can just be used as a live environment to boot into for diagnostic purposes. The easiest way to install Gentoo is by using the Hybrid ISO (LiveDVD). Let’s go through a step-by-step process of installing the base OS along with the explanation behind every step. To experiment with a Gentoo environment inside a VM is probably a great way to start learning about operating systems in general. It does, however, shed light on the internal workings of a Linux installation. It offers customizability at the expense of user-friendliness. Gentoo is one of the most esoteric distributions out there.