Skip to playerSkip to main content
  • 4 months ago
Transcript
00:00hello i was trying to update my arch linux system there was an update for grab the bootloader
00:10and there are some commands that we need to run after updating it as a package they need
00:17to be run in order to have the newer version of grab working it says here that the new
00:24to use the new features provided in this grab update it is recommended to install it
00:29to the mbr or uefi etc so the commands need to be the commands that need to be run are grab install
00:38and grab mkconfig let's run them together the first one is grab install and disk where we want to do it
00:47whether it's an ssd or a regular hard drive hdd mine is slash dev slash sda you should know yours
00:58you may need to know it by running the command lsblk as you can see it's slash dev slash sda so
01:06we run the first command slash dev slash sda password
01:18as you saw i was having an error which says that it doesn't find the the efi directory sometimes when
01:25you run grab install like this sudo grab install slash dev slash sda it works out of the box even if
01:36you are using uefi for some distributions you may need to specify target this one target
01:44uh like this let me type this one in case you're using uefi which is associated with gpt gpt is the
02:02disk table that's associated with this one sometimes it's still not enough i try to run the command like
02:09this i can run it in front of you as you see and it says that it cannot find the efi directory so
02:17this one is still not enough when we add this argument the solution to it is to run it with this
02:26argument in case you're using mbr or
02:29uh bios mbr and bios are associated to each other and gpt and uefi are associated to each other grab install
02:43without any argument with the disk only like this should should work otherwise
02:51you may need to uh to specify this one yes you may need to run this command like this i tried to run it
03:03thinking that i have bios but since i have gpt which can only be with uefi it sped out an error
03:12so the command for me was this one and with this argument let me make it complete and then here is the
03:28right command type it this way if you're using uefi if you're using post the video type it this way
03:39before i take you to the other command which is for bios
03:46now i take you to the other command which is for bios which should be this one
03:56oh sorry
04:02yes this is for bios if you're using bios you type this command
04:07to install grab to the disk it's installed as a package on your system or updated if you want
04:14to use the newly installed or the newly updated version you run this command for bios under arch linux of
04:22course and you run this command for or this command for efi whichever it is if in case it's pattern error
04:33when you run it with this one use this one despite sometimes not needing to specify this argument the next
04:41command is
04:46this one grab mk config dash o slash boot
04:50slash grab slash grab dot cfg this is similar to update grab under debian and ubuntu
05:04in case you didn't run these commands after you got your grab package updated your system will keep
05:10working but without the newer grab version that's it for this video don't forget to subscribe like share
05:19and comment and see you
Be the first to comment
Add your comment

Recommended