Installing OS Flashcards
What is the first step in building an Arch Linux machine?
Get an installation image.
Which installation image was downloaded for Arch Linux?
archlinux-2023.01.01-x86_64.iso and archlinux-2023.01.01-x86_64.iso.sig.
How do you verify the downloaded installation image?
Using gpg.
Where was the .iso file transferred to?
/srv/export/CSCI251.
What do you need to do for a bare metal computer?
Copy the .iso to a USB or a DVD.
What is required to boot a virtual machine using Arch Linux?
The .iso file.
What is the default login user in the live environment?
root.
What is implemented by the loop device in the live environment?
Functionality of a hard drive in RAM.
What steps can be skipped for virtual machine installation?
Keep default console keyboard layout, boot mode will be BIOS, already connected to the internet.
Is it necessary to update the system clock for a virtual machine?
Probably not necessary.
What is the first step in creating a filesystem?
Create a disk partition.
What command is used to create a partition?
fdisk /dev/sda.
What command is used to format a partition with an ext4 filesystem?
mkfs.ext4 /dev/sda1.
Where should the filesystem be mounted?
/mnt.
What command copies software from the internet to your partition?
pacstrap.
Which packages should be installed using pacstrap for a virtual machine?
base, linux, networkmanager, vi.
What is the purpose of generating the fstab?
To cause your partition to be mounted when the system boots up.
What does chroot create?
An environment where /mnt is the highest level of the directory tree.
How do you set the timezone in the chroot environment?
Create a symbolic link from /etc/localtime to the desired timezone.
What are the three steps involved in localization?
Edit /etc/locale.gen, issue the locale-gen command, edit /etc/locale.conf.
What should you do to set the root password?
Set the root password.
What command is used to install the GRUB bootloader?
pacman -S grub.
Where can you find instructions for configuring GRUB?
Follow section 3.1.1.
Fill in the blank: The timezone at VIU is _______.
America/Vancouver.
True or False: You need to deal with EFI or swap issues for this lab.
False.