0:01 hi everyone in this video I will be
0:04 fixing grub I have a single hard drive
0:06 with Ubuntu and Windows installed but
0:08 when I boot my computer it goes straight
0:11 into Windows there's no grub menu and
0:14 there's no EFI entry either so I will be
0:17 fixing both of these and going into Disk
0:19 Management so I have here my C drive
0:22 this is Windows and then my 24 gab
0:24 partition so this is where Ubuntu
0:27 resides and we open up a command prompt
0:30 as an administrator and type in BC the
0:33 edit enum
0:36 firmware and then we scroll up and then
0:39 we got the firmware boot manager and it
0:40 displays the order and then here's the
0:43 Windows boot manager and then there's a
0:47 ufi entry for the network and then one
0:48 here for the scuzi device and another
0:51 here for a scuzi device but there's none
0:54 here for ubu Linux so we're going to put
0:57 that in here to fix this and to get
0:59 started we're going to boot into the
1:01 Ubuntu install met media I am using the auntu
1:08 22043 desktop ISO
1:11 image pick try or install
1:13 Ubuntu and when you get the install
1:28 terminal and now I'm going to pseudo
1:31 Su and I'm going to type in
1:34 f-l and this will show my partition
1:38 structure so /dev/sda is my drive and
1:40 then we can see here the EFI partition
1:44 is on SDA 1 and then my windows C drive
1:47 sda3 and then there's my Linux file
1:49 system SDA 5 so I'm going to be mounting
1:54 sda1 and sda5 under the mount
1:56 directory next I'm going to be mounting
2:01 /dev slpr slis SL run under the mount
2:03 directory as
2:05 well now I'm going to chew Roots into
2:06 the mount
2:09 directory and now I'm going to do a grub
2:16 now if you get this message about
2:19 warning EFI variables cannot be set on
2:21 this system so that means that you'll
2:23 just have to mount them first so that they're
2:30 available
2:33 and now do the grub install again so it
2:34 has been installed now I'm going to do
2:35 an update-grub
2:38 all right and so we can see here it's
2:40 found the Linux images and it's found
2:42 the Windows boot manager as well and
2:45 it's added in a boot menu entry for the
2:49 ufi firmware settings so if I go to EFI boot
2:51 boot
2:53 manager and we see here at the bottom
2:57 ubu is now there the boot order is 004
3:00 so it's going to be booting that and if
3:01 I want to get some more information I
3:04 can go to IFI boot manager- V and we can
3:08 see here it's going to boot 004 ubu and
3:12 then we can see here that this is the
3:16 GPT gu ID for this partition here and
3:19 then this is the file that it is going
3:23 to load so now I'm going to exit and
3:30 reboot okay so we can see here that grub
3:33 comes up and there's ubu and then
3:35 there's the Windows boot manager so I'm
3:37 going to boot into
3:39 Windows all right so it's booted into
3:41 windows and then I'm just going to do
3:44 another reboot and then load up ubu just
3:51 well all right picking
3:54 Ubuntu so it's working as expected so
3:55 that's it that's how you can fix your
3:57 grub so you can dual boot Windows and up
4:00 onu again I hope this video video was
4:02 useful and I thank you for watching bye now