https://www.youtube.com/watch?v=JpV6eW_4JQk
https://www.youtube.com/watch?v=8ILPjsZvs8Y มี GUI
Virtual box
Memory size 1024 MB
File Location andsize 20 GB
start แล้วไปเลือกiso ที่Load มา
view Full screenMode
เลือก: Boot Arch Linux (x86_64)
จะได้root@archiso~ #
ping google.com
แบ่งpartition
fdisk -l
cfdisk เลือกdos
new partition กำหนดpartition size : 10G และตั้งให้เป็นprimary partition และตั้งให้เป็นBootable
/dev/sda1
เลือกwrite : write the partition table to disk?
ต่อสร้างpartion ขนาด2048M และตั้งให้เป็นprimary partition เลือกwrite : write the partition table to disk?
/dev/sda2
ต่อสร้างpartion ขนาดที่เหลือ และตั้งให้เป็น primary partition เลือกwrite : write the partition table
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda3
mkswap /dev/sda2
swapon /dev/sda2
mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sda3/mnt/home
pacstrap /mnt basebase-devel
จะทำการติดตั้ง
genfstab /mnt>>/mnt/etc/fstab
cat /mnt/etc/fstab
arch-chroot /mnt/bin/bash
nano /etc/locale.genแล้วไปแก้ที่en_US.UTF-8 UTF-8
locate-genเพื่อทำกาารสร้าง ??
nano/etc/locale.conf แล้วใส่ข้อความLANG=en_US.UTF-8
ls/usr/share/zoneinfo
ln -s/usr/share/zoneinfo/Asia/Kolkata /etc/localetime
hwclock --systohc--utc
ตั้งค่าroot password ด้วยคำสั่งpasswd ใช้123
nano /etc/hostnameแล้วใส่archserver
systemctl enabledhcpcd
pacman -S grubos-prober
grub-install/dev/sda
grub-mkconfig -o/boot/grub/grub.cfg
umount /mnt
exit
reboot
แล้วเลือกBoot existing OS
คำสั่งพื้นฐาน
clear
ลงโปรแกรมเช่นpython ใช้pacman -S python