First of all, ensure you're booting with UEFI mode. Use a drive of at least 20gb of space (maybe).
-
loadkeys <keymap>
(en, es, la-latin1) -
Check internet connection:
ping www.archlinux.org
-
timedatectl set-ntp true
-
fdisk /dev/sda
(probably)g
- New partition
n <enter>
, partition number<enter>
, partition size+100M
- Partition type
t <enter>
, partition number<enter>
,1 <enter>
(EFI). n <enter>
,<enter>
,+2G<enter>
t <enter>
,<enter>
,19 <enter>
(swap).n <enter>
,<enter>
,<enter>
w
-
mkfs.fat -F32 /dev/sda1
-
mkswap /dev/sda2 ; swapon /dev/sda2
-
mkfs.ext4 /dev/sda3
-
mount /dev/sda3 /mnt
-
mkdir /mnt/boot
-
mount /dev/sda1 /mnt/boot
-
vim /etc/pacman.d/mirrorlist
(edit mirror list) -
pacstrap /mnt base base-devel linux linux-firmware lightdm lightdm-gtk-greeter xorg-server xfce4 ttf-dejavu ttf-liberation ttf-opensans open-vm-tools gtkmm3 xf86-input-vmmouse xf86-video-vmware mesa networkmanager network-manager-applet nm-editor <proc-manufacturer>-ucode
(proc-manufacturer ex: intel-ucode) -
genfstab -U /mnt >> /mnt/etc/fstab
-
arch-chroot /mnt
-
ln -sf /usr/share/zoneinfo/<zone>/<subzone> /etc/localtime
-
hwclock --systohc
-
Edit
/etc/locale.gen
and uncommenten_US.UTF-8 UTF-8
-
locale-gen
-
Edit
/etc/locale.conf
and addLANG=en_US.UTF-8
-
Edit
/etc/vconsole.conf
and addKEYMAP=<keymap>
-
Edit
/etc/hostname
and add the hostname. -
Edit
/etc/hosts
and add the following127.0.0.1 localhost
::1 localhost
127.0.1.1 .localdomain
-
mkinitcpio -P
-
passwd
-
useradd -mG wheel,sys,lp,audio,disk,input,optical,storage,video <non-root-user>
-
bootctl install
-
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries
-
ls -la /dev/disk/by-uuid/ | vim -
and copy/dev/sda3
UUID. -
Edit
/boot/loader/entries/arch.conf
and- Replace
XXXX
with the UUID - Add an space and
rw
at the at the options line - Add
initrd /boot/<proc-manufacturer>-ucode.img
before the currentinitrd
line - Save
- Replace
-
systemctl enable lightdm
-
systemctl enable vmwaretools
-
systemctl enable vmware-vmblock-fuse
-
systemctl enable vmtoolsd
-
systemctl enable NetworkManager
-
Reboot
fixed