Arch linux installation

I would suggest to follow official guide for installing arch written by Arch developers here https://wiki.archlinux.org/index.php/installation_guide
But that could be complicated for beginner, bellow is simple set by step guide on how to install Arch linux

Download latest iso image from https://www.archlinux.org/.Pref use torrent from nearest mirror to you.
Make bootable usb. By typing this command into terminal

#dd bs=4M if=/path/to/archlinux.iso of=/dev/sdb status=progress && sync

Plug USB

You will be prompted with screen like this

Check if you pc is connected to internet
dhcpcd
ping -c 3 google.com

Partition the hard drive
HDD size80G and ram 4gb should look like this

/dev/sda size mount point

sda1 30G /

sda2 8G swap //used for swap,twice the size of ram

sda3 46G /home

lsblk

cfdisk /dev/sda

Select dos

From free space of whole HDD,make those 3 partitions

1.New,Size 30G,primary,enter make it bootable(*)

2.New,size 8G

3.New,size 46G,primary,write to disk yes

lsblk

mkfs.ext4 /dev/sda1

mkswap /dev/sda2

swapon /dev/sda2

mkfs.ext4 /dev/sda3

mount /dev/sda1 /mnt

mkdir /mnt/home

mount /dev/sda3 /mnt/home

Preparing for install

pacman -Sy

pacman -S reflector

reflector –verbose -l 5 –sort rate –save /etc/pacman.d/mirrorlist

Instaling base arch linux package

pacstrap -i /mnt base base-devel

Configure fstab and chroot /mnt

genfstab -U -p /mnt >> /mnt/etc/fstab

cat /mnt/etc/fstab

arch-chroot /mnt

Configure language and location

nano /etc/locale.gen

Uncomment en-US both

ctrl+o ctrl+x

locale-gen

echo LANG=en_US.UTF-8 > /etc/locale.conf

export LANG=en_US.UTF-8

Set timezone

ls /usr/share/zoneinfo

ln -s /usr/share/zoneinfo/Europe/Belgrade > /etc/localtime

hwclock –systohc –utc

Configure repository

nano /etc/pacman.conf

uncomment this lines: multilib and include pacman/mirror list

ctrl+o ctrl+x

pacman -Sy

Set hostname and network

echo nemanja> /etc/hostname

systemctl enable dhcpcd@enp0s3.service or dhcpcd@enp0s3.service

Give root password and make new user

passwd

Enter root pasword

pacman -S sudo bash-completion

useradd -m -g users -G wheel,storage,power -s /bin/bash nemanja

passwd nemanja

Allow users in wheel group to be sudo

EDITOR=nano visudo

uncomment this %wheel ALL=(ALL)ALL

Install and configure bootloader

mkinitcpio -p linux

pacman -S grub os-prober

grub-install –target=i386-pc –recheck /dev/sda

grub-mkconfig -o /boot/grub/grub.cfg

Unmount partiontions and reboot

exit

umount -R /mnt

reboot

DONE YOU HAVE INSTALLED BASE ARCH LINUX

Installing DE

For this example GNOME3

remove usb.reboot

Log in as user

By default internet wont work,so we need to configure it

cd /etc/netctl/examples

ls

sudo cp /etc/netctl/examples/ethernet-dhcp /etc/netctl/

ip a //find name of your ethernet card

sudo nano /etc/netctl/ethernet-dhcp //change name of your ethernet card and save changes

sudo netctl start ethernet-dhcp

sudo netctl enable ethernet-dhcp

ping -c 3 google.com

sudo pacman -Syu

lspci -k | grep -A 2 -i “VGA”

pacman -S xorg xorg-xinit xorg-server-utils xterm xorg-xclock xorg-twm
Instal gnome
pacman -Syy gnome gnome-extra gnome-tweak-tool
systemctl enable gdm
nano /etc/gdm/custom/conf
reboot and done

Fixes
fix anjuta
fix no option for new text document on desktop right click:

cd ~/Templates
touch Text.txt

FIX:NO SHORTCUT FOR OPENING TERMINAL

OPEN KEYBOARD SETTINGS,ADD CUSTOM SHORTCUT

NAME IT OPEN TERMINAL,COMMAND GNOME-TERMINAL,ENTER KEYS TO RUN IT

Further customazition and recommendations

Fixing anjuta

1) Create a new folder on your desktop.
2) Right click the file, and select “Open with Other Application…”.
3) Ensure that the “Remember this application for “Folder” files” checkbox
at the bottom of the window is checked.
4) From the main pane, select either “Open Folder” or “File Browser”
5) Click “Open”.
6) There is NO step 6.
7) Test to make sure folders and the places menu now open with nautilus
(the gnome file manager) correctly.
8) Delete the new folder on your deskop
9) Enjoy!
If that does not work for you, then you will have to manually remove the
association from your user profile. when this thread started, there was
a bug with the Open With… applet, which prevented us from using the
process above. that issue appears to be fixed in modern versions of
ubuntu, but every once in a while, it’s still required.

Code:

1) Navigate to and open ~/.local/share/applications/mimeapps.list with
the text editor of your choice. if this file does not exist, see below.
2) locate the line that starts with “inode/directory=”
3) Delete the rest of the line, and add “nautilus-folder-handler.desktop;”
4) Save and close the file.
5) Test to make sure everything works as expected.

Since this thread started, some users have reported that the mimeapps.lst file is not where they expect it.
To find the cuplrit initially, gasco uninstalled the app that was giving him problems, and then scanned his home directory to find any references to the application.
here is he command he used:
Code:

find . -name ‘*’ -print0 | xargs -t -0 grep -l

this approach should allow you to find the problem even if ubuntu changes the way it stores file-> app associations.

Hope that Helps

INSTALL CODECS https://wiki.archlinux.org/index.php/codecs

INSTALL QT4

Option “ZAxisMapping” “4 5”

GO TO DISKS,ENABLE AUTOMATIC MOUNTING,CHANGE FORMAT TRY NFST AND FAT32
FIX START JOB FOR SUB SYSTEM ETHERNET-DHCP 1.30MIN

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s