Chapter 3_Linux Basics and System Start Flashcards

(60 cards)

1
Q

What is the Linux Boot Process?

A

The Procedure for Initializing the System.

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

What does the Boot Process Consist of?

A

Everything that happens from when the computer power is first switched on until it is fully operational.

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

What are the steps of the boot process?

A

Power On
Boot
Master Boot (MBR) - First sector of the Hard Disk
Boot Loader (GRUB)
Kernel (Linux OS)
Initial Ram Disk (Initramfs Image)
/sbin/init (parent process)
Comand Shelf using Getty
X Window System (Graphical User Interface)

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

What is the First Step of the Boot Process?

A

BIOS (Basic Input/Output System) intializes the Hardware and tests the main hardware - called POST

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

What are some hardware that turns on during the BIOS Stage?

A

Keyboard, screen

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

What does POST mean?

A

Power on Self Test

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

Where is the BIOS system stored?

A

On a Rom Chip on the Motherboard

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

What Happens after the initial BIOS system starts?

A

The OS takes over

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

What happens when the POST is completed?

A

the system control passes from the bios to the boot loader

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

Where is the Boot Loader Stored?

A

on one of the hard disks in the system, either in the Boot Sector or the EFI partition

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

What systems is the Boot Loader stored on the Boot Sector?

A

Traditiona BIOS/MBR systems

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

What systems on the EFI partition?

A

EFI/UEFI systems

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

What does EFI stand for?

A

Extensible Firmware Interface

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

What are common Boot Loaders for Linux?

A

GRUB (Grand Unified Boot Loader)
ISOLINUX (Boots removable media)
DAS U-Boot (boots embedded devices)

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

What is the boot loader responsible for?

A

Loading the Kernel Image and
the initial RAM disk or FILESYSTEM into memory

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

How many stages does the Boot Loader have?

A

2

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

What is the First stage for a BIOS/MBR system?

A

the boot loader resides at the first sector of the hard disk - also known as the MASTER BOOT RECORD (MBR)

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

What does MBR stand for?

A

Master Boot Loader

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

What is the size of the MBR

A

512 Bytes

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

What does the Boot Loader Examine?

A

The Partition Table and finds a bootable partition

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

What happens when it finds a bootable partition?

A

it searches for the secondary loader (GRUB) and loads it into Ram

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

What does GRUB stand for?

A

GRand Unified Bootloader

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

What is the Second Stage?

A

Residing under /boot a splash screen is displayed asking us to choose an OS to boot

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

What happens after the BootLoader chooses the OS?

A

loads the Kernel of the OS into RAM and passes control to the Kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Typically, what is the first job of the kernal?
Kernel;s are almost always compressed, so its first job, is to uncompress
26
Typically, what happens when the kernel uncompresses?
it will check and analyze the system hardware and the device drivers built into the kernel
27
What is the First Boot Loader Stage in an EFi SYStem?
Firmware reads its Boot Manager data to determine which UEFI application is to be launched.
28
What is the step after the BootLoader chooses the OS?
The initiramfs contains the necessary prgrams and binary files that perform the actions to mount the proper root filesystem
29
What does initiramfs mean?
Initial Ram Filesystem
30
What does UDEV mean?
User Device
31
What is the UDEV responsible for?
figuring out which devices are present, locating the device drivers they need to operate properly, and loads them!
32
What happens after the root filesystem is found?
The system checks for errors and is mounted.
33
What does the mount system instruct?
the operating system that a filesystem is ready for use, and finds the MOUNT POINT
34
What happens if the mount is successful?
The initi file is cleared from the ram and the init program on thye root filesystem is executed
35
what is the root filesystem?
/sbin/init
36
What does INIT stand for?
handles the mounting and povoting of the fiunal real root system files.
37
What are the initiramfs associated with?
Programs and Binary Files
38
What are the programs and binary files associated with?
mounting proper root system providing kernal functionality locating devices locatingf and loading drivers checking for error in root filesystem
39
What does MBR stand for?
Master Boot Record
40
What does BIOS stand for?
Basic Input/Output System
41
What is the default command shell?
Bash
42
What start up software is used by most new distributions?
SystemD
43
Why systemd?
Because, it can boot using aggresive parallel feautures, and not as sequential steps
44
What is a partition?
physcially contiguous section of a disk
45
/bin/
Essential user interface commands
46
/boot/
static files of the boot loader
47
/dev/
device files
48
/etc/
host specific system configutation
49
/home/
user home directories
50
/lib/
essential shared libraries and kernel modules
51
/media/
mount point for removable media
52
/mnt/
mount point for temporary mounted filesystems
53
/opt/
add on application software packages
54
/sbin/
system binaries
55
/srv/
data services provdied by the system
56
/tmp/
Temporary files
57
/usr/
multi user ultilites and applications
58
/var/
variable files
59
/root/
home directory for the root user
60
/proc/
virtual filesytem documenbting kernal and process status of text files