Thursday, January 31, 2013

Install ArchLinux No script

Install Arch Linux

Download Arch Linux distro iso at:

Boot to Arch Linux, chose Arch Linux x86
Use cfdisk to create partion:
#cfdisk /dev/sda
Chose New to create new partion, next Chose Begin. Chose Bootable
Down arrow to chose other, continue chose create New. (make swap)
Chose Write, yes to confirm. Quit to exit
Format partion:
#mkfs.ext4 /dev/sda1
#mkswap /dev/sda2
#swapon /dev/sda2

Check internet connection:
#ping www.google.com.vn

Mount partion:
#mount /dev/sda1 /mnt
Edit mirror list:
#vi /etc/pacman.d/mirrorlist

##
## Arch Linux repository mirrorlist
## Sorted by mirror score from mirror status page
## Generated on 2012-XX-YY
##

## Vietnam Mirror
Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/$arch

Install base:
#pacstrap /mnt base base-devel
#pacstrap /mnt grub-bios

Create fstab:
#genfstab -p /mnt >> /mnt/etc/fstab

Chroot to new system:
#arch-chroot /mnt

Assign hostname
#vi /etc/hostname
namhb.hbn.local

Set timezone
#ln -s /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime

Edit /etc/locale.gen file:
Uncommnent en US

#locale-gen

Create linux environment:
#mkinitcpio -p linux

Create boot:
#grub-install /dev/sda
#grub-mkconfig -o /boot/grub/grub.cfg

Reboot to your archlinux

------------------------------------------------------------
Thanks for reading
--------------------------------------------------------------------------
Security Research
All my Lab:
Linux Lab -- window and Cisco Lab
to be continued - I will update more.

No comments:

Install Xposed Inspector and Frida on Genymotion

Today i had some work with android. So i need trace application. I found 2 nice tool can help me: Xposed Inspector and Frida. To setup ther...