Archlinux Alongsize Windows 10 EFI

กระทู้คำถาม
ติดตั้ง Archlinux USBStick คู่ Windows 10 EFI
On Oracle VM VirtualBox 6.1.6
Archlinux host Windows guest
คลิกเพื่อดูคลิปวิดีโอ
https://youtu.be/sXgmggkaPi8

Archlinux install bios-boot & efi-boot
1.#wifi-menu
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
2.#ping 8.8.8.8
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
3.#timedatectl set-ntp true
4.#fdisk -l
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
5.#cfdisk /dev/sdX
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้

6.#fdisk -l
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
7.#mkfs.ext4 /dev/sdX2
8.#mount /dev/sdX2 /mnt
9.#mkfs.fat -F32 /dev/sdX1
9.1#
9.2#
10.#nano /etc/pacman.d/mirrorlist
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
11.#pacstrap /mnt linux linux-firmware base base-devel nano
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
12.#genfstab -U /mnt >> /mnt/etc/fstab
13.#arch-chroot /mnt
14.#ln -s /usr/share/zoneinfo/Asia/Bangkok /etc/localtime
15.#hwclock --systohc --utc
16.#nano /etc/locale.gen
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
17.#locale-gen
18.#nano /etc/locale.conf
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
19.#nano /etc/hostname
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
20.#nano /etc/hosts
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
21.#passwd
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
22.#useradd -m -g users -G wheel,storage,power -s /bin/bash kid
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
23.#passwd kid
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
24.#chage -d 0 kid
25.#nano /etc/sudoers
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
26.#
27.#
28.#mkdir /boot/efi
29.#mount /dev/sdX2 /boot/efi
30.#pacman-S grub efibootmgr dosfstools os-prober mtools
31.#grub-install /dev/sdX
31.1 #grub-install --target=x86_64-efi --bootloader-id=grub --recheck --removable
32.#grub-mkconfig -o /boot/grub/grub.cfg
33.#pacman -S ifplugd
34.#pacman -S wireless_tools
35.#pacman -S iw wpa_supplicant dialog
36.#pacman -S xf86-video-amdgpu xf86-video-ati xf86-video-intel xf86-video-nouveau xf86-video-vesa
37.#pacman -S xf86-input-synaptics
38.#pacman -S acpi
39.#pacman -S polkit
40.#pacman -S dhcpcd
41.#systemctl enable dhcpcd
42.#pacman -S virtualbox-guest-utils
43.#systemctl enable vboxservice
44.#mkinitcpio -p linux
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
45.#exit
45.1 #genfstab -U /mnt >> /mnt/etc/fstab
45.2 #nano /mnt/etc/fstab
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
46.#umount /mnt/usb/boot/EFI
47.#umount /mnt/usb
48.#poweroff
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
Power up > root login
49.#dhcpcd
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
50.#timedatectl set-ntp true
51.#passwd kid
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
52.#pacman -Syu
53.#pacman-S xorg
54.#pacman -S ttf-freefont
55.#pacman -S lxde
56.#pacman -S pulseaudio pulseaudio-alsa alsa-utils pavucontrol
57.#systemctl enable lxdm.service
58.#nano /etc/lxdm/lxdm.conf
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้

61.#poweroff
Power up > kid login > LXTerminal
62.$sudo pacman -S networkmanager network-manager-applet
63.$sudo systemctl enable NetworkManager.service
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
64.$sudo pacman -S udisks2
65.$sudo pacman -S udiskie
66.$udiskie -2 -s &
67.$sudo pacman -S gvfs
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
68.$sudo pacman -S --needed base-devel
69.$sudo nano /etc/makepkg.conf
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
70.$sudo pacman -S git
71.$git clone https://aur.archlinux.org/yay.git
72.$cd yay/
73.$makepkg -si
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
74.$yay fonts-tlwg
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
75.$yay brave-bin
76.$yay ksnip
77.$sudo pacman -S xdm-archlinux
78.$sudo pacman -S archlinux-wallpaper
79.$sudo pacman -S gnome-screenshot
80.$sudo pacman -S leafpad
81.$sudo pacman -S simplescreenrecorder
82.$sudo pacman -S vlc
83.$sudo pacman -S clipgrab
84.$sudo pacman -S libreoffice-still-th
85.$sudo pacman -Ss archlinux
-Ss ค้นหาแล้วติดตั้งแพ็กเก็จตามชอบ^^

Shared Folder Oracle Virtualbox
#sudo usermod -a -G vboxsf kidtoong

Install pipewire แทน Pulseaudio
Check the Installed Audio Server:
#pactl info
#sudo pacman -S pipewire pipewire-alsa
#sudo pacman -S pipewire-media-session
#sudo pacman -S pipewire-pulse
Removing PulseAudio:
#sudo pacman -Rns pulseaudio
Disable the PulseAudio Services
#systemctl --user --now disable pulseaudio.service pulseaudio.socket
Now masks the PulseAudio service for the current user:
#systemctl --user mask pulseaudio
Enable PipeWire and PipeWire Session Managers
#systemctl --user --now enable pipewire pipewire-pulse wireplumber
#systemctl --user --now enable pipewire pipewire-pulse pipewire-media-session

### https://linuxgenie.net/install-pipewire-on-arch-linux/

Install Openvpn
#sudo pacman -S openvpn networkmanager-openvpn

Install QEMU/KVM - Virt-Manager
$sudo -pacman -Syy
$sudo pacman -S archlinux-keyring
$sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat
$sudo pacman -S ebtables iptables
$sudo pacman -S libguestfs
$sudo systemctl enable libvirtd.service
$sudo systemctl start libvirtd.service
$systemctl status libvirtd.service
$sudo usermod -a -G libvirt $(whoami)
$sudo systemctl restart libvirtd.service
$exit
Done :: https://www.youtube.com/watch?v=D6_95M7_8Rg&t=141s

$ sudo nano /etc/libvirt/libvirtd.conf
uncomment::
unix_sock_ro_perms = "0770"
$ sudo gpasswd -a $USER libvirt
$ sudo systemctl enable libvirtd.service
$ sudo systemctl start libvirtd.service
$ sudo systemctl status libvirtd.service
>> https://www.youtube.com/watch?v=bgywPoGRlt4

อัพเดต-Keys_อัพเดต-Archlinux
ใช้ตอนอัพเดตเกิดเออเรอร์
pacman -Sy archlinux-keyring && pacman -Syyu
https://bbs.archlinux.org/viewtopic.php?id=221435
sudo pacman -Syyu --overwrite "*"
https://forum.manjaro.org/t/pacman-upgrade-error-files-exist-in-filesystem/67290/2

ขอได้รับความขอบคุณ

เพี้ยนสวัสดี
แก้ไขข้อความเมื่อ
แสดงความคิดเห็น
โปรดศึกษาและยอมรับนโยบายข้อมูลส่วนบุคคลก่อนเริ่มใช้งาน อ่านเพิ่มเติมได้ที่นี่