![]() ![]()
You can install whichever DE you prefer, but we will install the KDE Plasma desktop on this system. ![]() And if you want to control the system via a GUI, you’ll have to install one manually. Unlike other Linux distros, Arch Linux doesn’t ship with a preinstalled desktop environment. Generate a GRUB configuration file using grub-mkconfig as follows: grub-mkconfig -o /boot/grub/grub.cfg Install a Desktop Environment in Arch grub-install -target=x86_64-efi -efi-directory=/boot/EFI -bootloader-id=grub mkdir /boot/EFIįinally, run the grub-install script to install the bootloader in the EFI directory. Note that you’ll have to create the directory first with mkdir. Mount your EFI partition ( /dev/sda1 ) to the /boot/EFI directory. pacman -S efibootmgr dosfstools os-prober mtools Then, install these additional packages required for the bootloader to work properly. usermod -aG wheel,video,audio username Setting Up the GRUB Bootloaderįirst, install the grub package using pacman. Replace username with your username, and note that the group names in the command don’t have spaces after the commas. passwd usernameĪdd the new user to the groups wheel, audio, and video using the command given below. Install devkitarm arch linux password#Then, create an additional non-root user using useradd as follows, replacing username with your username: useradd -m usernameĬonfigure the new user’s password using the passwd command, again replacing username with your username. Set up the root user password by typing the passwd command. 127.0.0.1 localhostġ27.0.1.1 hostname.localdomain hostname Creating and Configuring Users Remember to replace hostname in the command with the system hostname you set in the previous step. Leave the comments as is and append the following text to the file. You’ll notice that the file already contains some comments. vim /etc/hostnameĬreate another text file with the name hosts under the /etc directory. When you’re done, don’t forget to save the file. This can be anything you want, and you don’t need to enter anything but the name. Next, create a new hostname file inside /etc and add the hostname you want for your computer in the file. vim /etc/locale.genĪfter editing the file, type locale-gen in the terminal to generate the locale configuration. For the purpose of this guide, we will uncomment the en_US.UTF-8 UTF-8 line in the file using Vim. Next, edit the “/etc/locale.gen” file using your text editor and uncomment the locale statement that suits your needs. Format the /dev/sda1 (EFI) partition to FAT32 by typing: mkfs.fat -F32 /dev/sda1 Now you need to format the partitions using the mkfs command. Install devkitarm arch linux how to#RELATED: How to Choose a Partition Scheme for Your Linux PC Formatting the Partitions Type w and hit “Enter” to write the changes to the disk. The root partition should be of Linux filesystem type, so we don’t need to change it. Similarly, select the swap partition (partition number 2) and type 82 to convert the partition type to Linux swap. Then, type ef to change the filesystem to EFI System type. To change this, type t and hit “Enter” to proceed. RELATED: How Big Should Your Page File or Swap Partition Be?īy default, all the partitions will have the “Linux Filesystem” type. ![]() Finally, create a root partition and allocate all the remaining sectors to it by simply continuing with the default configurations. Similarly, create a swap partition with +2G as the last sector value. ![]() Install devkitarm arch linux free#You are free to replace 550M in the aforementioned command with the size you want for the partition. Type +550M and press “Enter” to continue. Since you don’t want to waste disk space on EFI partitions, any number between 500M and 1G would work. Enable 'system.For the partition size, you can either enter the sector number manually or specify the size you want the partition to have. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |