Jump to content

Arch Linux(Official) + XFCE Live CD 2016


Meowthra
 Share

2 posts in this topic

Recommended Posts

Mint-X Theme

 

cEzaZYZ.png

 

 

 

2016-02-06

https://mega.nz/#!LN8HFTYI!1ftn-DSNNIVH3YkLr4MSsvJAyuKCdNRU43vDFPvGKgs

 

 

Installation LiveCD to your computer
 

for example: Installation target: sda3
Mount the partition sda3 to /mnt
$ sudo su
# mount /dev/sda3 /mnt

Extraction live CD file system To /mnt
# cd /mnt
# unsquashfs /run/archiso/bootmnt/arch/x86_64/airootfs.sfs
# mv squashfs-root/* /mnt
# rm -r squashfs-root
# cd ~

if UEFI

# mkdir /mnt/boot/EFI
# mount /dev/sda1 /boot/EFI

Generate an fstab
# genfstab -U /mnt > /mnt/etc/fstab

Change root into the new system
# arch-chroot /mnt /bin/bash

Computer Name
for example: Extensa-2510G
# echo Extensa-2510G > /etc/hostname

 

 

Update Initramfs
# mkinitcpio -p linux

Rebuilding Grub2 Boot loader
BIOS
# grub-install --recheck /dev/sda      # BIOS/MBR
or
# grub-install --force /dev/sda        # BIOS/GPT

UEFI
# pacman -S grub efibootmgr os-prober
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck

Make Grub Boot Menu
# grub-mkconfig -o /boot/grub/grub.cfg

Set the root password
# passwd



Create User accounts
# groupadd sudo

for example: User Name is torachiyo
# useradd -m -g users -s /bin/bash torachiyo
# passwd torachiyo
# gpasswd -a torachiyo sudo
# gpasswd -a torachiyo wheel


Settings Language
Choose your language
for example: Traditional Chinese


Open another terminal
$ sudo leafpad /mnt/etc/locale.gen
----------------------
# zh_TW.UTF-8 UTF-8
# zh_TW.BIG5
to

zh_TW.UTF-8 UTF-8
zh_TW.BIG5

----------------------

# locale-gen
# echo LANG=zh_TW.UTF-8 > /etc/locale.conf
# export LANG=zh_TW.UTF-8


Display Manager
Setting the screen backlight brightness and gamma
Open another terminal
$ sudo leafpad /mnt/etc/lightdm/display_setup.sh
----------------------------------------------
xbacklight -set 80
xgamma -gamma 0.7

----------------------------------------------

Open another terminal
$ sudo chmod +x /mnt/etc/lightdm/display_setup.sh

Autologin
Open another terminal
$ sudo leafpad /mnt/etc/lightdm/lightdm.conf
----------------------------------------------
[seatDefaults]
pam-service=lightdm-autologin
autologin-user=torachiyo
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession
display-setup-script=/etc/lightdm/display_setup.sh
----------------------------------------------

# groupadd autologin
# gpasswd -a torachiyo autologin



Uninstall and EXIT
# exit
# umount /mnt/boot/EFI    # if UEFI
# umount /mnt
# reboot
 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...