Professional Documents
Culture Documents
# mkfs.ext4 /dev/sda2
# mkfs.ext4 /dev/sda3
It is good idea to create swap drive as well for swap operations and hibernation support
# mkswap /dev/sda4
# swapon /dev/sda4
Now mount your partitionis
# mkdir /mnt/home
# mount /dev/sda3 /mnt/home
Select a mirror list:
During installation linux will download files from internet, it is recommended that you
select nearest mirror to get fast downloads
# nano /etc/pacman.d/mirrorlist
find your country or nearest one in file by pressing ctrl+w and type your country name
and hit enter
copy whole line using alt+6 and now go to start by using pageup button or home button
on keyboard
linux needs to store partitions and mount information for future use to auto mount drives
lets generate that configuration file
# genfstab -U -p /mnt >> /mnt/etc/fstab
to make sure file has been create correctly please use following
# nano /mnt/etc/fstab
Enter to new arch linux environment
# arch-chroot /mnt
Set your locale
# nano /etc/locale.gen
and uncomment your locale
# locale-gen
Create the /etc/locale.conf file substituting your chosen locale:
# export LANG=en_US.UTF-8
Time zone
# ls /usr/share/zoneinfo/
Similarly, you can check the contents of directories belonging to a subzone:
# ls /usr/share/zoneinfo/Asia
Create a symbolic link /etc/localtime to your subzone file
/usr/share/zoneinfo/Zone/SubZone using this command:
# ln -s /usr/share/zoneinfo/Zone/SubZone /etc/localtime
Example:
# ln -s /usr/share/zoneinfo/Asia/Karachi /etc/localtime
Hardware clock
Set the hardware clock mode uniformly between your operating systems. Otherwise, they
may overwrite the hardware clock and cause time shifts.
# ip link
or
# ls /sys/class/net
You will see your device name as some thing like “enp38s0”
# passwd
Now it’s time to create a user for the system and also add some groups to it.
So run the following command and replace ‘tofeeq‘ with your user-name.
# passwd tofeeq
Sudo
Now we have to allow this use to do administrative jobs as sudo so let’s install sudo.
# pacman -S sudo
Once that is done, we will now allow the users in wheel group to be able to performance
administrative tasks with sudo. Run the following command to edit the sudoers:
# EDITOR=nano visudo
It will open the sudoers file where you have to uncomment this line:
# pacman -S bash-completion
Install boot loader
GRUB
Install the grub package and then run grub-install to install the bootloader:
# pacman -S grub
# grub-install --target=i386-pc --recheck /dev/sda
# pacman -S os-prober
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# reboot
Installing display managers
install xserver
# pacman -S mesa
It’s time to install video drivers. I am using intel graphic card so would be using
https://wiki.archlinux.org/index.php/General_recommendations
If you are using a laptop you need to install the drivers for input devices like touch-pad
# pacman -S xf86-input-synaptics
# pacman -S xorg-twm xorg-xclock xterm
Install Desktop Environment
# pacman -S kdeplasma-applets-plasma-nm
Audio management
For 32-bit application support, also install the lib32-mesa package from
the multilib repository.
For the DDX driver (which provides 2D acceleration in Xorg), install the xf86-video-
intel package. (Often not recommended, see note below.)
For Vulkan support (Ivy Bridge and newer), install the vulkan-intel package.
The Intel kernel module should load fine automatically on system boot.
If it does not happen, then:
Make sure you do not have nomodeset or vga= as a kernel parameter, since Intel requires
kernel mode-setting.
Also, check that you have not disabled Intel by using any modprobe blacklisting
within /etc/modprobe.d/ or /usr/lib/modprobe.d/.
/etc/modprobe.d/i915.conf
It is possible to enable both GuC/HuC firmware loading and GuC submission by using
the enable_guc=3 module parameter, although this is generally discouraged and may even
negatively affect your system stability.
You can verify both are enabled by using dmesg:
$ dmesg
blacklist toshiba_bluetooth
Wifi
linux-firmware is needed for the correct working of wifi.
Smart Card Reader
Works perfectly with ccid & opensc .
Display Backlight Control
Control with the Fn buttons works correctly in 3.17 and 3.18 kernel. However, in 3.19 kernel, a
minimum configuration is needed because toshiba_acpi kernel module add some non-necessary
backlight control. For controlling with Fn, create /etc/X11/xorg.conf.d/80-
backlight.conf with
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight" # use your backlight that works here
EndSection
Fingerprint reader
The last version of fprintd has support for it. However, the image usually is wrong (lengthened) and
needs two, three or more tries to obtain verifications.
Category:
Toshiba