1 00:00:07,140 --> 00:00:08,700 - It's time for a change. 2 00:00:08,700 --> 00:00:10,263 I'm going to show you Ubuntu. 3 00:00:15,390 --> 00:00:20,313 So we need sudo vim /etc/default/grub. 4 00:00:23,340 --> 00:00:25,650 And then we can see the Ubuntu version 5 00:00:25,650 --> 00:00:28,290 of the /etc/default/grub. 6 00:00:28,290 --> 00:00:30,840 What I like about it is that it's also telling us 7 00:00:30,840 --> 00:00:33,030 where to find the documentation. 8 00:00:33,030 --> 00:00:36,690 You know, documentation in many, many cases is in man. 9 00:00:36,690 --> 00:00:41,250 But for the grub documentation, you really need info. 10 00:00:41,250 --> 00:00:45,570 And if you use info -f grub -n 'Simple configuration' 11 00:00:45,570 --> 00:00:48,120 you get to a location 12 00:00:48,120 --> 00:00:51,420 where you can find all the documentation that you need. 13 00:00:51,420 --> 00:00:52,253 Let me show you. 14 00:00:56,218 --> 00:00:58,020 So, here you can see 15 00:00:58,020 --> 00:01:01,380 all the different options that are available. 16 00:01:01,380 --> 00:01:02,430 Now what do we need? 17 00:01:02,430 --> 00:01:05,520 Grub default and grub timeout style is hidden. 18 00:01:05,520 --> 00:01:06,750 Well, grub timeout style, 19 00:01:06,750 --> 00:01:09,720 we need to know more about grub timeout style. 20 00:01:09,720 --> 00:01:11,790 So, what is this? 21 00:01:11,790 --> 00:01:15,210 Well, I'm using Slash to search for the regular expression 22 00:01:15,210 --> 00:01:17,880 which is what you see in the lower left corner 23 00:01:17,880 --> 00:01:21,630 and grub timeout style. 24 00:01:21,630 --> 00:01:23,790 And there we can see the different options 25 00:01:23,790 --> 00:01:25,230 that are available. 26 00:01:25,230 --> 00:01:28,650 If this option is unset or set to menu, set to menu. 27 00:01:28,650 --> 00:01:29,760 That's what we need. 28 00:01:29,760 --> 00:01:31,350 Then grub will display the menu. 29 00:01:31,350 --> 00:01:32,190 So that's one thing. 30 00:01:32,190 --> 00:01:37,053 Set it to menu instead of timeout style hidden. 31 00:01:40,770 --> 00:01:43,410 And grub timeout, we set that to 10 seconds. 32 00:01:43,410 --> 00:01:46,980 And also, I want to have a look at the grub disable submenu, 33 00:01:46,980 --> 00:01:49,173 which is kind of confusing. 34 00:01:51,870 --> 00:01:53,806 So, GRUB_ 35 00:01:53,806 --> 00:01:54,639 DISABLE_ 36 00:01:58,500 --> 00:02:01,350 SUBMENU is showing us what? 37 00:02:01,350 --> 00:02:03,610 Well, that is showing 38 00:02:04,530 --> 00:02:05,850 what it wants to do 39 00:02:05,850 --> 00:02:07,680 with this grub submenu. 40 00:02:07,680 --> 00:02:10,500 Well, this grub submenu has nothing to do 41 00:02:10,500 --> 00:02:12,693 with the options that we've got, 42 00:02:13,680 --> 00:02:15,720 and I don't need that at all. 43 00:02:15,720 --> 00:02:19,350 So grub timeout cell, that is what we are going to need. 44 00:02:19,350 --> 00:02:23,430 Now, also here in this Ubuntu configuration, 45 00:02:23,430 --> 00:02:26,070 you can see it's telling us to use update-grub. 46 00:02:26,070 --> 00:02:29,520 Ubuntu is using update grub, not GRUB 2 mkconfig 47 00:02:29,520 --> 00:02:33,090 because update grub is easier to use, 48 00:02:33,090 --> 00:02:34,980 and that's all it is. 49 00:02:34,980 --> 00:02:37,837 So, let's do sudo 50 00:02:38,940 --> 00:02:40,890 update-grub 51 00:02:40,890 --> 00:02:42,660 to write the configuration. 52 00:02:42,660 --> 00:02:43,950 There we go. 53 00:02:43,950 --> 00:02:46,830 And next, let's use sudo reboot 54 00:02:46,830 --> 00:02:49,080 to figure out what the result is. 55 00:02:49,080 --> 00:02:49,913 And there we go. 56 00:02:49,913 --> 00:02:51,720 Here is the grub boot menu 57 00:02:51,720 --> 00:02:54,840 in which I can select the option that I want to use 58 00:02:54,840 --> 00:02:55,673 or do nothing. 59 00:02:55,673 --> 00:02:58,290 Look at the lower line where we can see the counter 60 00:02:58,290 --> 00:02:59,310 which is counting down. 61 00:02:59,310 --> 00:03:02,700 And now it's starting the default menu entry. 62 00:03:02,700 --> 00:03:04,653 And that's the end of lesson seven lab.