Showing posts with label endeavour. Show all posts
Showing posts with label endeavour. Show all posts

Arch Linux: How to - Pacman parallel package download

Arch Linux: How to - Pacman parallel package download

Hello Everyone

If you are using Arch Linux or any Arch Linux based distro, you might got tired with slow single package download with pacman.

From pacman v6, parallel download feature has been added.

To have this, all you have to do

  1. Open file /etc/pacman.conf

  2. Inside file, there will be a section called # Misc options, under the section add below line, if its not there. if its there commented, remove the hash.

ParallelDownloads = 5
  1. Save and exit from the file.

  2. In your terminal type

sudo pacman -Syyu

And you will see blazing speed package download.

Hope it helps.

Arch Linux: Windows OS not apearing in Grub boot loader.

As I have installed Endeavour Linux operating system, on first boot I could see Windows OS option in boot menu. Later its gone. After searching a while, I came across below solution which worked.

Main reason is the os-prober is disabled by default so it wont be able to detect other OS available in the same system. So first we have to enable it.

Open file `/etc/default/grub` and add `GRUB_DISABLE_OS_PROBER=false` to the very end of the file. If you have already have this property, set it to `true`.

You can also execute below command, make sure you are in root shell or sudo user to execute this command.

echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub



Then, execute below commands


sudo pacman -Syu
sudo pacman -S grub-tools
sudo pacman -S grub os-prober
sudo grub-mkconfig -o /boot/grub/grub.cfg



Actually if you `os-prober` command you can see the output that Windows detected right away


[agastya@agastya-thinkpad ~]$  sudo os-prober 
/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
[agastya@agastya-thinkpad ~]$ 



Once grub configuration generated, restart your machine and you can see Windows in the grub menu.

Thank you.
Hope it helps.

Arch Linux - Frequent or Random Freezes

I have bought a new Leveno Thinkpad AMD Series laptop and installed EndeavourOS in it. Endeavour is a Arch flavour and Arch is known for stability. Usually I am CentOS fan but as Corporate made its choice with CentOS future, I did research thoughting of sticking with one of my favorite Arch Linux. But Arch, you have to setup everything and its an interesting process though time taking. So I have chosen its flavour which comes with everything setup from GUI to Stack OS

One problem kept me frustrated that its freezes randomly and started connecting Ethernet adapter suddenly and that hangs the entire OS and sometimes I have experienced restarts as well.

On searching around Arch Linux forums I came across installed a LTS kernel solving the issue.

If you are also facing the issue you can solve it by installing LTS kernel with below commands


sudo pacman -S linux-lts linux-lts-headers
sudo grub-mkconfig -o /boot/grub/grub.cfg

And reboot your machine. While Booting make sure you are selecting the LTS kernel instead of regular one.

Hope it helps.