Arch Linux sleep, hibernate, resume, reboot solution


Hibernation: In order to use hibernation, you need to create swap partition or swap file. See Swap for details. I have my swap drive as /dev/sda9, open your grub configuration file and add "resume=/dev/sda9" in your GRUB_CMDLINE_LINUX_DEFAULT like follow. /etc/default/grub _________________ GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda9" Recreate initial ramdisk: Edit your /etc/mkinitcpio.conf file and add resume option in hooks … Continue reading Arch Linux sleep, hibernate, resume, reboot solution

Repair git


Git recovery/repair is very easy just try commands below git init git fsck git gc --auto git reset --hard these above steps also fix git errors like *** Error in `git': corrupted double-linked list: 0x09c45208 ***

Arch Linux Create SSH keys to ssh login without password


Generate ssh keys of your current system Install openssh if not already installed on your system. On arch linux you can install it as follow, for other distribution follow distribution instructions to install openssh If you already have created ssh keys and now created new one and now seeing this message "sign_and_send_pubkey: signing failed: agent … Continue reading Arch Linux Create SSH keys to ssh login without password

Arch Linux install JRE


Installing jre on arch linux is very easy just go to and download tarball open your terminal and go to download location unzip/tar the tarball using following command tar -zxvf your-tarball go to extracted directory by terminal and type makepkg -s after that run following command pacman -U your-tarball-.tar.xz enjoy 🙂