Sec. 37 System Startup and Shutdown Flashcards

1
Q
  • what is the first step in the basic boot sequence?:
A
  • the BIOS / UEFI locates and executes the boot program or boot loader .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  • what is the second step in the basic boot sequence?
A
  1. The boot loader loads the kernel.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the third step in the basic boot sequence?

A
  1. The kernel starts the init process (pid = 1).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the 4th step in the basic boot sequence?

A
  1. the init manages system initialization, using systemd or the older Upstart and SysVinit startup scripts.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • Education:
    • When the power is applied to the computer, the computer can only perform the operations the BIOS orders it to do so.
A
  • Education-
    • 1. the bios runs a POST( Power on Self test), which checks the memory and hardware and then searches a specific location or device for a boot program . —-Typically the boot program is found in the device’s MBR( Master Boot Record).
    • 2. Control of the computer is then transferred to this boot program(usually GRUB).
    • 3.The boot program then loads the kernel into memory and executes it. —-on x86 platforms(and many others) , the kernel first has to decompress itself in place.
    • 4. Then the kernel performs hardware checks , gains access to important peripheral hardware and eventually runs the init process.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does BIOS stand for?

A

Basic input Output system.

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

Where is the boot loader loaded from?

A

the MBR or Master Boot Record

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

the BIOS is typically place in a _________?

A

ROM chip, that comes with the computer.

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

On the x86 structure, the bios contains all the code required to gain initial access to the _______, ______ ______,______ ___________, ____________?

A
  • keyboard,
  • display screens,
  • disk drives,
  • serial communications,
  • and a number of miscellaneous functions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

During the boot process the BIOS loads the _________?

A

boot loader .

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

What does GRUB stand for?

A

GRand Unified Boot Loader

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

`Is efibootmgr a boot loader?

A
  • NO,
  • It is a boot manager. It works in conjunction with GRUB on a Multi-boot EFI systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what does LILO stand for and what is it?

A
  • LILO stands for The Linus Loader,
  • It is old and obsolete.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What boot loader is most popular for embedded system?

A

Das U-Boot

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

Name some of GRUB’s Features .

A
  1. ability to boot mulitple operation systems
  2. has both a graphical and a text-based interface allowing ease of use over a serial cable.
  3. a powerful command line interface for interactive configuration
  4. Network-based diskless booting
  5. and other advanced features .
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In particular, system-wide configuration files are generally place in _____?

A

/etc and it’s sub-directories.

17
Q

where are user specific configuration files usually placed?

A

in their individual home directories.

18
Q

All Red Hat derived systems make use of ____________ for system configuration.

A

/etc/sysconfig

19
Q

All debian based systems have used _________ for system configuration.

A

/etc/default

20
Q

RHEL and SUSE based system use what system configuration files?

A

both /etc/sysconfig and /etc/default.

21
Q
  • Education:
    • The shutdown command is used to bring the system down in a secure fashion,
    • notifying all users that the system is going down and then stopping it in a graceful and non-destructive way.
A
  • Education:
    • When the system is shutdown, it is either halted or rebooted.
22
Q

What command is used to bring the system down in a secure fashion?

A

shutdown

23
Q

what option with the shutdown command will halt the system?

A

-H

24
Q

-P option for the shutdown command does what ?

A

power off the machine

25
Q

what option of the shutdown command will not halt/power off/ reboot, just send warning?

A

-k

26
Q

Name the option that will reboot the machie when used with the shutdown command .

A

-r

27
Q

If the shutdown command is given without any options what will happen?>

A

*with no options the default behavior is to power down the machine completely .

28
Q

what is one common mistake with respect to the shutdown command that admin often do?

A

* failing to include the time arguement.

29
Q

What option used with the shutdown command would cancel a pending shutdown?

A

-c

30
Q
A