1
00:00:06,559 --> 00:00:13,029
The very first thing that happens while your Linux
system is booting is Grub, the grand unified bootloader.

2
00:00:14,150 --> 00:00:18,109
And this grand unified bootloader has
a Grub shell. And this Grub shell

3
00:00:18,109 --> 00:00:22,070
actually is very convenient to influence
the way how Linux is booting.

4
00:00:23,070 --> 00:00:25,190
Now, from Grub,
the kernel is loaded.

5
00:00:26,440 --> 00:00:31,433
A kernel comes with a helper component.
And this helper component is the initrd.

6
00:00:31,433 --> 00:00:36,426
It may also be known as init
RAMFS on your distribution, but the functionality

7
00:00:36,426 --> 00:00:41,420
is the same regardless. The name
initrd contains essential drivers that are required.

8
00:00:42,859 --> 00:00:45,020
Next component that
is loaded is systemd.

9
00:00:46,759 --> 00:00:53,000
Systemd is going through different phases. We really need to
use a different color here because we are in the

10
00:00:53,000 --> 00:00:59,240
different part of the boot procedure. I like to
distinguish between a phase that is called the early boot.

11
00:01:00,219 --> 00:01:06,719
In early boot you get all your essential system
components and after the early boot you get your services.

12
00:01:08,260 --> 00:01:11,500
Once you have had your services,
you're done and you're in a shell.

13
00:01:12,340 --> 00:01:18,107
Now, if things are going wrong,
you need to know that you

14
00:01:18,107 --> 00:01:23,875
can enter the Grub boot menu
and in the grub boot menu

15
00:01:23,875 --> 00:01:29,642
you can enter different parameters. The
essential parameters that you need to

16
00:01:29,642 --> 00:01:35,409
know about are systemd
dot unit is emergency target.

17
00:01:36,430 --> 00:01:41,370
That is booting you into the emergency target
and that jumps in right before the early boot.

18
00:01:41,370 --> 00:01:46,310
So you have really a minimum amount of
surfaces that is loaded and that makes troubleshooting easier.

19
00:01:46,989 --> 00:01:52,426
Now if you know that the
problem is not in early boot,

20
00:01:52,426 --> 00:01:57,863
it's always wise to boot a
little bit further and then you

21
00:01:57,863 --> 00:02:03,299
can use the grip boot
argument. Systemd unit is rescue target.

22
00:02:05,060 --> 00:02:11,514
That's another rescue mode. But in this rescue mode you
have already gone completely through the early boot, so have

23
00:02:11,514 --> 00:02:17,969
more of the normal operational parts of your system available
and that makes fixing your system a little bit easier.
