1
00:00:00,000 --> 00:00:12,040
In this video, you learn how to work with UEFI from Linux.

2
00:00:12,040 --> 00:00:17,240
So in Linux, there is the EFI boot manager, and that makes managing UEFI boot targets

3
00:00:17,240 --> 00:00:20,160
possible from within the operating system.

4
00:00:20,160 --> 00:00:24,600
Apart from the EFI boot manager, you normally can also crash a key.

5
00:00:24,600 --> 00:00:29,440
That's to maintain some BIOS compatibility and to make sure that you can also decide

6
00:00:29,440 --> 00:00:33,400
what you want to boot if you cannot access the operating system.

7
00:00:33,400 --> 00:00:36,119
But EFI boot manager is a nice utility.

8
00:00:36,119 --> 00:00:41,279
It will show you current targets using EFI boot manager without any arguments.

9
00:00:41,279 --> 00:00:44,840
And the active boot entries is marked with an asterisk.

10
00:00:44,840 --> 00:00:50,380
Use EFI boot manager minus V for more details, and you can force the system to boot into

11
00:00:50,380 --> 00:00:55,380
another entry the next time it is started by using the minus N option.

12
00:00:55,380 --> 00:01:01,259
For instance, if 2C is the entry that you identified, you can use EFI boot manager minus

13
00:01:01,259 --> 00:01:03,540
N 2C.

14
00:01:03,540 --> 00:01:08,139
And alternatively, you can also press one of the typical hotkeys.

15
00:01:08,139 --> 00:01:14,379
Either Escape, F2, F10 or F12 are normally used and should get you into a boot menu.

16
00:01:14,379 --> 00:01:15,379
Let me show you.

17
00:01:15,379 --> 00:01:19,019
Okay, let's start with LSBOK.

18
00:01:19,580 --> 00:01:26,500
LSBOK is showing all block devices, including SCA1, which is mounted on slash boot slash EFI.

19
00:01:26,500 --> 00:01:28,580
So in this boot EFI, what do you find?

20
00:01:28,580 --> 00:01:36,620
Well, you find the EFI subdirectory, and there you will find everything that is related.

21
00:01:36,620 --> 00:01:41,500
Most important, the CentOS directory, which contains the CentOS information.

22
00:01:41,500 --> 00:01:46,779
And here we have the boot information, all nicely readable in files.

23
00:01:47,379 --> 00:01:56,660
Now EFI boot MGR for EFI boot manager is showing all the different EFI options that are available.

24
00:01:56,660 --> 00:02:02,940
So you can see that the current boot is 0004, and if I wanted to boot into something else,

25
00:02:02,940 --> 00:02:09,899
then I would use EFI boot manager minus N 0001, for instance.

26
00:02:09,899 --> 00:02:16,539
Now everything that you see right here doesn't make too much sense, but we can give it a try.

27
00:02:16,539 --> 00:02:28,699
EFI boot manager minus N 2C, no, not 2C, EFI boot manager minus N 0001.

28
00:02:28,699 --> 00:02:33,779
And there you can see boot next is 0001.

29
00:02:33,779 --> 00:02:37,020
All right, I'm going to reboot.

30
00:02:37,020 --> 00:02:41,059
And while rebooting, I have pressed escape, and while pressing escape,

31
00:02:41,059 --> 00:02:43,619
I'm getting access to the boot manager menu.

32
00:02:43,619 --> 00:02:45,020
That is a hard override.

33
00:02:45,020 --> 00:02:51,259
So you can use EFI boot manager and wait until it has booted in the new target,

34
00:02:51,259 --> 00:02:56,660
or hit the right key at the right moment to get where you want.

35
00:02:56,660 --> 00:03:02,979
Well, I want to get back to CentOS stream because I have no intention of booting from a CD.

36
00:03:02,979 --> 00:03:11,500
With EFI boot manager, that is a utility that you can use to boot whichever image is available from the UEFI boot menu.

