Installing OS Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the first step in building an Arch Linux machine?

A

Get an installation image.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which installation image was downloaded for Arch Linux?

A

archlinux-2023.01.01-x86_64.iso and archlinux-2023.01.01-x86_64.iso.sig.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you verify the downloaded installation image?

A

Using gpg.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where was the .iso file transferred to?

A

/srv/export/CSCI251.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do you need to do for a bare metal computer?

A

Copy the .iso to a USB or a DVD.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is required to boot a virtual machine using Arch Linux?

A

The .iso file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default login user in the live environment?

A

root.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is implemented by the loop device in the live environment?

A

Functionality of a hard drive in RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What steps can be skipped for virtual machine installation?

A

Keep default console keyboard layout, boot mode will be BIOS, already connected to the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is it necessary to update the system clock for a virtual machine?

A

Probably not necessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the first step in creating a filesystem?

A

Create a disk partition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command is used to create a partition?

A

fdisk /dev/sda.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What command is used to format a partition with an ext4 filesystem?

A

mkfs.ext4 /dev/sda1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where should the filesystem be mounted?

A

/mnt.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command copies software from the internet to your partition?

17
Q

Which packages should be installed using pacstrap for a virtual machine?

A

base, linux, networkmanager, vi.

18
Q

What is the purpose of generating the fstab?

A

To cause your partition to be mounted when the system boots up.

19
Q

What does chroot create?

A

An environment where /mnt is the highest level of the directory tree.

20
Q

How do you set the timezone in the chroot environment?

A

Create a symbolic link from /etc/localtime to the desired timezone.

21
Q

What are the three steps involved in localization?

A

Edit /etc/locale.gen, issue the locale-gen command, edit /etc/locale.conf.

22
Q

What should you do to set the root password?

A

Set the root password.

23
Q

What command is used to install the GRUB bootloader?

A

pacman -S grub.

24
Q

Where can you find instructions for configuring GRUB?

A

Follow section 3.1.1.

25
Q

Fill in the blank: The timezone at VIU is _______.

A

America/Vancouver.

26
Q

True or False: You need to deal with EFI or swap issues for this lab.