Arch t500 17v2r
make a bootable microsd
lsblk - to get of path to media
sudo dd bs=4M if=/home/craig/Downloads/archlinux-2019.12.01-x86_64.iso of=/dev/sde status=progress oflag=sync
todo
craig oh my zsh?
config vim gvim
Install Log
Boot the iso image
boot archlinux-2019.11.01-x86_64.iso
ip link -> enp0s3
ping -c 3 google.com -> yes - wired connection auto started
pacman -Syy - update pacman databases
pacman -S python3
pacman -S reflector
reflector -c "United States" -f 20 -l 20 --save /etc/pacman.d/mirrorlist
fdisk -l -> /dev/sda
fdisk /dev/sda -> one partition sda1
mkfs.ext4 /dev/sda
mount /dev/sda1 /mnt
pacstrap /mnt base base-devel linux linux-firmware dhcpcd netctl vim python3 reflector
genfstab -U -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt
reflector -c "United States" -f 20 -l 20 --save /etc/pacman.d/mirrorlist
ln -sf /usr/share/zoneinfo/America/Denver /etc/localtime
hwclock --systohc
Uncomment en_US.UTF-8 UTF-8 and other needed locales in /etc/locale.gen, and generate them with:
# locale-gen
Create the locale.conf(5) file, and set the LANG variable accordingly:
/etc/locale.conf
LANG=en_US.UTF-8
Create file /etc/hostname
arch-mate-2r9yq
Add matching entries to /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 arch-mate-2r9yq.localdomain arch-mate-2r9yq
set the root password
# passwd
pacman -S intel-ucode
pacman -S dosfstools
pacman -S grub
grub-install /dev/sda
generate /boot/grub/grub.cfg:
# grub-mkconfig -o /boot/grub/grub.cfg
exit # from chroot
shutdown -h now
Boot the hard drive
remove the iso image
run the virtual machinee.
networking
systemctl start dhcpcd.service
systemctl enable dhcpcd.service
ip link -> enp0s3
cd /etc/netctl/examples
cp ethernet-dhcp ..
cd ..
mv ethernet-dhcp enp0s3-dhcp
edit enp0s3-dhcp
Description='dhcp internet connection for virtualbox enp0s3'
Interface=enp0s3
IP=dhcp
DHCPClient=dhcpcd
netctl start enp0s3-dhcp
netctl enable enp0s3-dhcp
ping -c 3 google.com
reboot and check the internet connection again
ping -c 3 google.com
user craig
pacman -S zsh
useradd --create-home --shell /usr/bin/zsh craig
passwd craig
usermod -a -G wheel craig
Enable vim for visudo
As root: vim /etc/sudoers -> must :w!
Near the top add this line
Defaults editor=/usr/bin/vim
visudo
uncomment this line:
%wheel ALL=(ALL) NOPASSWD: ALL
mate
pacman -S xorg xorg-server
pacman -S mate mate-extra
pacman -S lightdm lightdm-gtk-greeter
systemctl enable lightdm.service
virtualbox guest additions
VirtualBox Guest Additions provides drivers and applications that optimize the guest operating system including improved image resolution and better control of the mouse. Within the installed guest system, install:
virtualbox-guest-utils and xf86-video-vmware (FS#61183) for VirtualBox Guest utilities with X support
Both packages will make you choose a package to provide guest modules:
for the default linux kernel choose virtualbox-guest-modules-arch
git
pacman -S git tig
yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
brave browser
yay brave-bin