Download .iso file Insert file into new VM. It will not detect which OS so choose most recent ‘other linux kernel’ version.
Give hard disk size (around 20 GB min) and memory (2 GB).
Run pre-installation checks
Verifying bootmode with ls will not list anything because we are in BIOS.
Timezone issues with syncing, minutes were also wrong sometimes, this fixes the permissions
Create Ext4 file system on root partition
Initialize swap partition
Mount file systems
enable swap volume
pacstrap is only used during the install phase.
It is crucial for the previous steps including mounting the filesystems to /mnt for this to work.
The first three packages are the essentials, kernel, and firmware. Grub is the bootloader.
It will give errors if /mnt is not mounted to the file system like during the previous steps.
chroot failed to run command ‘/bin/bash’ permission denied
Ensure /mnt is mounted and umount when rebooting or powering off.
Localization
Put the language into that file/create the file.
Host
Root password
It will reboot into the gnu grub. During my first installation, when I rebooted it went right back to the screen I first saw when I started. The boot into arch installation so I thought my work was for nothing. I ended up starting over. But it was because I didn’t install any bootloader.
I trashed that VM because I wasn’t sure if I had done something irredeemable during my trial and errors of throwing commands. I had successfully made it to the reboot but I wasn’t sure if it worked so I started over.
We are no longer using pacstrap, pacman is the proper package manager now.
-S is for sync
This will enable lxde to boot
create group for sudo
uncomment sudo to give users in sudo group permission
ssh
browser, -Syu is needed when there are url request errors.
zsh shell
If public key is not found when using pacman
edit /.bashrc file to color code
made permanent by appending alias the /etc/bash.bashrc file. Close and reopen terminal after saving.
error couldn’t write to file when using vim ~./bashrc so instead:
append aliases to the end of the file
aur packages assume the system has this installed
host key verification failed ,need to type yes to prompt with digital ocean open ~_~
need to use sudo for editing files bc they are read only
make sure server has clients key