The package manager would make changes in the / directory but it would be cheated into making changes in /mnt/gentoo directory instead. The idea behind this is that, once all the files necessary for a working Gentoo environment are extracted we will change our root directory to /mnt/gentoouse tools and package managers to configure it. If you see the contents that would be extracted in your /mnt/gentoo directory they would resemble a typical Unix root environment with directory like /etc /sbin, etc. The -xattrs-include part of the command preserves the attributes (read, write and execute) of individual filesĪnd the -numeric-owner ensures a group and user ID number as approved by the Gentoo convention for a typical setup. Observe the name of your tarball file and type in accordingly. The file extension may not be tar.xz in your case. xpf tells the tar command that we want to x extract, p preserve permissions on the files and f to imply that we are extracting files and not standard input. In the second command, the tar utility is used to uncompress the tarball. $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.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |