Install Arch Linux on VirtualBox

Arch now has an install script!

Old Way:

Create a machine with:

Install as normal from the Wiki with these exceptions:

This gives a cleaner view than "fdisk -l"


This is a more interactive version of "fdisk"

cfdisk /dev/sda

Choose dos label type, then choose New, 15G, Primary, Bootable, Write, type "yes", Quit

This will create a single 15 GB partition - no other partitions needed since Grub will be installed and it is compatible with the ext4 file system.

Set the timezone:

ls -sfd /usr/share/zoneinfo/America/New_York /etc/localtime

Install the Grub bootloader:

pacman -S grub
`grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

Make the network setup permanently enabled at boot:

systemctl enable dhcpcd

Install VirtualBox utilities, alsa-utils, and neofetch:

pacman -S virtualbox-guest-utils alsa-utils neofetch

Mount the shared folder:

mkdir /mnt/shared
mount -t vboxsf Shared /mnt/shared

Create user for Neamerjell:

useradd -m -g users -G wheel,storage,power -s /bin/bash neamerjell
EDITOR=nano visudo

Uncomment this line: