Posts

Showing posts from July, 2022

Installing QEMU/Virt-Manager On Arch Linux

First update your system : sudo pacman -Syu Install the required packages : sudo pacman –S qemu qemu-arch-extra virt-manager ebtables bridge–utils dmidecode sudo systemctl start libvirtd sudo systemctl enable libvirtd sudo systemctl status libvirtd sudo nano /etc/libvirt/qemu.conf user="root" group="root" Ctrl+X to exit Y to save Enter to confirm  sudo systemctl restart libvirtd sudo systemctl status libvirtd If everything is active and running without any error you can continue and start creating your VM.

How To Create And Configure Sudo User On Arch Linux

Step 1) Install sudo package Right off the bat, we need to install the sudo utility. Unlike other Linux distributions, this is not included by default in the base install. To install this, execute the following command as root: # pacman -S sudo Step 2) Create a regular user Next, we need to create a regular user. We will later add this user to the sudoers group to enable them to carry out administrative tasks. To create a sudo user, use the useradd command as shown: # useradd -m -G wheel -s /bin/bash username Let’s break down the command: The -m option creates a home directory for the user /home/user. The -G option adds the user to an additional group. In this case, the user is being added to the wheel group. The -s option specifies the default login shell. In this case, we are assigning bash shell denoted by /bin/bash. So, let’s assume you want to add a regular user called techuser. To accomplish this, run the command as follows: # useradd -m -G wheel -s /bin/bash techuser Step 3) Con...

How To Change Username In Arch Linux

Logoff. Switch to a tty console (Ctrl+Alt+F4). Login as root. Edit the following directories and replace the username nano /etc/passwd nano /etc/shadow nano /etc/group Finally, rename your current home folder mv /home/oldusername /home/newusername Reboot device  reboot

Dual Boot Manjaro With Windows 10

Disable Windows features Do you plan on doing read/write on your Windows partition? Disable Windows options like Fast Startup Hybrid Sleep Windows  Hybrid Sleep  defaults to enabled on desktop computers and disabled for laptop computers. Why should I do that?  When Windows uses the above options it leaves the file system in a  dirty state . When the file system is in this state the Linux filesystem tool  ntfs-3g  mounts the file system  read-only , effectively blocking you from making changes to your files on the Windows partition. To disable Windows Fast Startup you need to access the Windows Control Panel. You find it by clicking on  Windows Start  button → type  control  → select  Control Panel  desktop app. In the Control Panel app Click on  System and Security Click on  Power Options Click on  Choose what power buttons do a. Click on  Change settings that are currently unavailable b. Uncheck the op...