it’s 2023 and this tutorial just helped me boot into my Windows after 30 days of suffering when EFI was only booting into Ubuntu. Thanks so much. Guess i would now have to fix my grub menu
I've been struggling for months with my grub2 boot entry disappearing. I kept needing grub2disk in order to get into my system. Your fix 100% worked for me. Thank you so much!
Oh my god I wanna give you a hug. The partition table entries were out of order so I had to fix that first, but the process of mounting the drive to /boot and running that efibootmgr command was what I needed. Ill be sure to buy a tshirt or something when the money comes in. Not all hero's wear capes.
Thank you! Dziękuję! You by far the most comprehensive fix for grub issues I was close to reinstalling. As i'm new to linux don't have a whole lot of data. But I have a encrypted home and root partition and It was not booting, The final step fixed it for me!! you are aGrub demigod.
THANK YOU! I won't say that I understand it all, but, you made a lot of (to this point in time) obscure stuff understandable. Also, I appreciate your humor!
at 6:51 , if your correction is to use forward slashes instead of backslashes as literally typed by you , how come the terminal did not spit out an error and instead worked perfectly fine ?
Windows anachronism to use BackSlashes instead of Unix or Linux ForwardSlashes. Back in MSDOS 1.0 days Microsoft picked character forward slash "/" to use for signalling the next character is the start of an "Option" to the commnad. So to create a pathname using Drive: directory names Like C:\System\stuff.bat or dir /c So this EFI shell script command can use both Forward Slashes "/" and Backward Slashes "\" interchangably to have compatibility with Windows users.
Awesome video. My tablet didn't boot right away in to linux, but I at least got the grub shell. From there I booted into the system and could repair grub-efi.
How to identify the specific drive from the information displayed in efibootmgr ? Its tough to figure out which number corrosponds to which actual drive ?
Looks different on Fedora 35 with an SSD. My boot has /boot/efi/EFI rather than EFI. efibootmgr -v shows 3 clean looking entries for the same drive UUID
I installed mint on a dell notebook and ran into the uefi grub issue. I finally disabled firmware TPM in my bios settings and it allowed the grub install when I reinstalled mint.
LOG: Installing for x86_64-efi Plattform. Could not prepare Boot variable: No space lebt on device grub-install: error: efibootmgr failed to register the booot entry: Input/Output error. Btw theres a lot of space. Efibootmgr can't operate properly.. even when deleting all entry's, same error. Any clue someone? Never happened, very strange. And very unclear instructions out there to 'fix' it.
I am typing this in from memory, without properly testing from the EFI shell. Check that the 1st partition on sda disk is mounted "$ sudo mount " 1.) Make sure you have installed the efibootmgr and grub-uefi tools 2.) Mount the disk drive to the mount point $sudo mount /dev/sda1 /boot ls / ; ls /boot ; ls /boot/efi ; ls /boot/efi/ubuntu ; ls /boot/efi/boot ; ls /boot/efi/kali Check out all the files to verify that the /dev/sda1 partition is mounted to mounting point directory /boot You can probably make a different mounting point directory $sudo mkdir /tmp ; $ sudo mount /dev/sda2 /tmp ; ls /tmp $sudo mount This command will display which devices and partitions are "mounted" to which "mount point directories" $sudo mkdir /tmp/data ; sudo mount /dev/sda4 /tmp/data This is an example ls /tmp/data 3.) Find the EFI boot loader you want in /boot 4.) # grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot # check exact character strings. I not able to tell if this is correct. 5.) efibootmgr -c -d /dev/sda -p 1 -L "LinuxMint" -l /efi/ubuntu/grubx64.efi 6.) Whatever is the .efi file in the /boot/efi/boot/bootx64.efi directory will be the default bootx64 loader Note: This assumes the sudo mount /dev/sda1 /boot command completed properly to mount the disk device partition /dev/sda1 on to the mount point directory /boot
One thing I don't understand. Some Linux versions put their name in the EFI boot menu while others don't ? I wish it were easy to easily edit that listing - rather than have to remember what OS was on which SSD.
I've installed kali on an external ssd, and successfully got it to boot, but for some reason I have to power cycle my pc to get it to boot. If I just try booting it drops into an initramfs shell.. if I reboot it after that it boots. This happens with every boot :/ I've also tried with ParrotOs and have the same problem. I'm using a vaio pro, any idea what would cause this?
I have a vaio pro and I was having alot of issues with it booting into kali from an external ssd. I eventually figured out moving boot/efi/EFI/kali/grubx64.efi to boot/efi/EFI/BOOT/bootx64.efi actually got the system to boot to grub and to kali. But sometimes when booting it gets stuck and drops into initramfs.. any reason this might be happening?
i setup manjaro to dual boot with windows. but when i start pc, it goes straight to windows normally. but if i hit the f12 key at boot and go to boot menu i can load manjaro through legacy boot, but not efi...no listing under efi. how do i get it to give me a choice of what to boot?
Change the BIOS options to boot priority to where / how your manjaro boots. You can set legacy / EFI and disk options in most BIOS settings, though there are a few which you cannot.
I'm so confused is this helping with an already install system or helping the same problem when booting off of usb? I get the failed to open /efi/boot/mmx64.efi
I am typing this in from memory, without properly testing from the EFI shell. 1.) Make sure you have installed the efibootmgr and grub-uefi tools 2.) Mount the disk drive to the mount point $sudo mount /dev/sda1 /boot ls / ; ls /boot ; ls /boot/efi ; ls /boot/efi/ubuntu ; ls /boot/efi/boot ; ls /boot/efi/kali Check out all the files to verify that the /dev/sda1 partition is mounted to mounting point directory /boot You can probably make a different mounting point directory $sudo mkdir /tmp ; $ sudo mount /dev/sda2 /tmp ; ls /tmp $sudo mount This command will display which devices and partitions are "mounted" to which "mount point directories" $sudo mkdir /tmp/data ; sudo mount /dev/sda4 /tmp/data This is an example ls /tmp/data 3.) Find the EFI boot loader you want in /boot 4.) # grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot 5.) efibootmgr -c -d /dev/sda -p 1 -L "LinuxMint" -l /efi/ubuntu/grubx64.efi 6.) Whatever is the .efi file in the /boot/efi/boot/bootx64.efi directory will be the default bootx64 loader Note: This assumes the sudo mount /dev/sda1 /boot command completed properly to mount the disk device partition /dev/sda1 on to the mount point directory /boot The UEFI firmware searches through /efi directories and subdirectories to find efi boot loader firmware files /efi/boot directory is the last default directory to boot from if the other boot loaders failed to complete.
Hi! Is my comment showing up! I seem to have a problems leaving comments on TH-cam, if I leave any link to a TH-cam channel or internet address, it will not show up to other people. I can see it but if I go as a different user it's not there!? how can I sort this problem out what's causing it?? I'll try an experiment if you can see it just tell me somebody and then I'll leave a link afterwards and see if it shows up!
The only addition I have to this awesome guide is to double check the `BootOrder` when calling `sudo efibootmgr -v`. Make sure this newly created entry is prioritized. If it's not change it by `sudo efibootmgr -o 0014,0010`. 0014 followed by 0010 was the preferred order for my system, change that with yours.
"BIOS" or "UEFI" ?? Which boot settings do you mean to use? BIOS and CSM use Master Boor Record (MBR) old style partition of 4 primary partitions. UEFI GPT ESP EFI uses GPT style partition of 128 entries. " efibootmgr -v " command should list the boot order setup for your system from the /dev/sda1 partition drive
Did you change the UEFI BIOS settings, to enable UEFI, disable CSM, disable BIOS? Did the command #3 "sudo mount /dev/sda1 /boot" complete? "sudo mount" Shows what is presently mounted. ls /boot should show the files on the mounted directory. cd or pwd should show the present working directory.
Switched to Linux Man! Hi you seem to have a handle on this efi business so can you please please please do a video on setting up a bootable USB with uefi boot loader for Kubuntu. So basically from a new USB stick to plug and play Kubuntu with uefi boot, it's for the (atomic pi), I think it would be useful to a lot of people. Yeah, so thanks for helping us all.
hello i follow you steps all the steps gives me didn't error but last step give me error. your linux name is linux mint but i have kali linux and i added this command efibootmgr -c -d /dev/sda -p 7 -L kali -l\EFI\kaligrubx64.efi he says "Could not prepare Boot variable: Function not implemented" plz help me what can i do.
efibootmgr -c -d /dev/sda -p 7 -L kali -l \EFI\kali\grubx64.efi You left out a "\" directory separator and maybe a space char " " after -l option. You should be able to use "ls" list directory command to ls /boot ls /boot/efi/ ls /boot/efi/kali to see the different files. I wonder if pwd print working directory command operates in the EFI Shell
My bios is even dumber than yours, it only boots windows boot manager and USB sticks and I checked the boot list and turns out I have a bunch of manjaros xubuntu Ubuntu and other distros I have tried. Changing order and removing entries doesn't work. After a reboot it ends up looking the same. Unchanged. Any tips? The only thing that has worked is changing the windows efi file for the Ubuntu one.
Hello STL! Obviously even if your channel is SWITCHED TO LINUX you are still obsessed with Windows: you use dir a few times which is typical in Windows while ls would have been expected in Linux. Don't forget that the Arch/Gentoo wiki is your best friend. The -l option means --loader and needs a path to an EFI image to boot and that path must use backslashes (so this is the best proof which OS it was intended for). Best regards.
@@SwitchedtoLinux The only place in the BIOS that even mentions EFI is a launch shell from the filesystem device. When I select it it says "Warning not found". I don't know if it matters but I'm using windows 8.1.
For all the good things I can say about Linux.... I sure wish / HOPE / Really Really HOPE - that some developer would write a program to make this process slightly more user friendly. Why can't JUNK - be chopped out from inside the BIOS menu ?
I dual booted my PC.It has both windows and linux. Now windows in showing bootmgfw.efi not found and hence it is unable to boot Will this method also work in the given case.. pls reply
Yes, you should be able to find /efi/microsoft/bootmgfw.efi using the ls /boot ls /boot/efi ls /boot/efi/microsoft commands and then issue the efibootmgr -c -d /dev/sda -p 1 -L MS_BOOT -l /efi/microsoft/bootmgfw.efi efibootmgr -v efibootmgr -o 0000,0008,0002,00003 or what ever order you need for your situation sudo mkdir /tmp1 sudo mount /dev/sda4 /tmp1 ; ls /tmp1 ls /tmp1/efi ls /tmp1/efi/boot ; ls /tmp1/efi/microsoft Should help you find bootmgfw.efi file if it is on a different partition like number 4 /dev/sda4
I found out that Linux Mint in a Virtual Machine will bypass the hosts file on the Host Machine. I realize that is not Windows. But I think it answers the question. Windows will do it's thing anyways!
Sir, also if you use Winreducer. you can help destroy most of the telem, right on a fresh install. Although it's not all of it, still a bit. Even after removing cortana, edge, and IE. iis, WER, powershell, and ext you will still be vunrable.
hi please help me i delete efi boot partition on my os linux mint and now my pc don't start and i want to delete linux for installing win10 but boot usb don't work help me
need help. hope you could answer I bought an addon LAN card with bootrom and intended to put it in my asrock mobo but it won't boot from addon LAN. though I tried putting it on msi mobo and it works like a charm. what should I do?
Some UEFI firmware is written better than other UEFI firmware. In your case asrock mobo is not working ( sucks ) as you intend it to. On the otherhand msi mobo works like a charm. I wonder if a developer could write or create a .efi firmware file to enable executing the LAN card's bootrom to enable booting from that external addon LAN card
I have a dual boot laptop (win 7 and Linux mint 18.3). Initially, I installed LM 19.1. But was unable to restart or shutdown (system hangs with LM icon). I loaded LM 18.3 and still have the same issue. Any idea what the problem is? Thanks
I added a second internal ssd to my computer, I've added Linux Mint 19 (/dev/sdb) to it and it fails to load, Should the boot loader for Mint be on /dev/sda1 or on /dev/sdb1
I have found when installing linux on dual booting systems to disconnect your windows drive when installing linux on the other hard drive that way it doesn't mess up your efi booting on the windows one when you have to fix something.
@@cootason That's a very good point, I have done just that, which makes the issues with dual booting non-existent. Not long after I posted my comment you just replied to I switched to using Arch Linux and started using the systemd-boot, previously called gummiboot which is a simple UEFI boot manager which executes configured EFI images.
I'm going to guess you researched this. Could you direct me to the documentation containing the information? (so that I can print it and have access to it if I don't have access to a working computer or internet) --thanks
Unfortunately I have not found any one source. I created this video for my reference because every time I needed to fix a computer EFI partition I had to spend a long time searching for tons of different document sources.
If I remember correctly you need to use the forward slashes...fortunately I have not had to redo my efi table lately so I will need to look at this more closely nexttime I do.
It is in the repos as a basic tool. No, you do not need to pay for it. On any Debian based (or Ubuntu), run this in the terminal: sudo apt install efibootmgr
Mate always appreciated yr vids.... I am using linux mint 19...mostly no probs... Until yesterday... Wont get past boot stage.... Have tried going into recovery mode etc cleaning space... Have tried nomodeset etc... One message that appears is BIOS contains wdgs but no wrds. Any tips or help would be great.. Thanks man
I can only say thanks. It didn't work on the office computer; One of your so called 'stupid' 'bios' But I learned a lot and my computer at home forgot the same so I will try it again. HP X all in one PC = junk. In this case it is a 19. I never really had a problem with them moving up to EFI although I was just fine with BIOS. Things change. Still, it just bums me the trash that you have to put up with.
Hi, Today I installed ubuntu and then when I restarted my laptop I saw this error: malformed security header failed to read header: invalid parameter failed to load images: invalid parameter start_image() returned invalid parameter Can you tell me how to solve this problem?
it’s 2023 and this tutorial just helped me boot into my Windows after 30 days of suffering when EFI was only booting into Ubuntu.
Thanks so much. Guess i would now have to fix my grub menu
grub-update should do it
Having a lot more fun now that I am not waiting 5 minutes in emergency mode on every boot, thanks for the help!
I've been struggling for months with my grub2 boot entry disappearing. I kept needing grub2disk in order to get into my system. Your fix 100% worked for me. Thank you so much!
Doesn't work :( 7:00 When i execute the command i just get the error Could not prepare Boot variable: Invalid argument
Very clear. Seeing the actual corrupt EFI data brings home the point. Thanks so much. Subscribed.
Oh my god I wanna give you a hug. The partition table entries were out of order so I had to fix that first, but the process of mounting the drive to /boot and running that efibootmgr command was what I needed. Ill be sure to buy a tshirt or something when the money comes in. Not all hero's wear capes.
Thanks!!! Just dont let my router know...it runs BSD :)
Thank you! Dziękuję! You by far the most comprehensive fix for grub issues I was close to reinstalling. As i'm new to linux don't have a whole lot of data. But I have a encrypted home and root partition and It was not booting, The final step fixed it for me!! you are aGrub demigod.
Re-purposed an Acer as a simple backup server and this video had me booting normally in probably less than 10 minutes. Liked & Subbed!
Thanks! And welcome aboard.
THANK YOU! I won't say that I understand it all, but, you made a lot of (to this point in time) obscure stuff understandable. Also, I appreciate your humor!
at 6:51 , if your correction is to use forward slashes instead of backslashes as literally typed by you , how come the terminal did not spit out an error and instead worked perfectly fine ?
Windows anachronism to use BackSlashes instead of Unix or Linux ForwardSlashes. Back in MSDOS 1.0 days Microsoft picked character forward slash "/" to use for signalling the next character is the start of an "Option" to the commnad. So to create a pathname using Drive: directory names Like C:\System\stuff.bat or dir /c So this EFI shell script command can use both Forward Slashes "/" and Backward Slashes "\" interchangably to have compatibility with Windows users.
I can't believe it worked. You're awesome. Thank you. Linux is growing on me.
Awesome video. My tablet didn't boot right away in to linux, but I at least got the grub shell. From there I booted into the system and could repair grub-efi.
You fixed a problem I had with my steam deck, I only had to type the sudo update-grub, thanks.
Could not prepare boot variable no space left on device???????????
How to identify the specific drive from the information displayed in efibootmgr ? Its tough to figure out which number corrosponds to which actual drive ?
This video is amazing!! Great work !!
And
Thank you !!!
Looks different on Fedora 35 with an SSD. My boot has /boot/efi/EFI rather than EFI. efibootmgr -v shows 3 clean looking entries for the same drive UUID
I installed mint on a dell notebook and ran into the uefi grub issue. I finally disabled firmware TPM in my bios settings and it allowed the grub install when I reinstalled mint.
Thank you so much. I updated my BIOS and it forgot the damn entry for my system.
Your video just saved my ass and all its files.
Glad to help!
LOG:
Installing for x86_64-efi Plattform.
Could not prepare Boot variable: No space lebt on device
grub-install: error: efibootmgr failed to register the booot entry: Input/Output error.
Btw theres a lot of space.
Efibootmgr can't operate properly.. even when deleting all entry's, same error. Any clue someone?
Never happened, very strange. And very unclear instructions out there to 'fix' it.
I am typing this in from memory, without properly testing from the EFI shell. Check that the 1st partition on sda disk is mounted "$ sudo mount "
1.) Make sure you have installed the efibootmgr and grub-uefi tools
2.) Mount the disk drive to the mount point $sudo mount /dev/sda1 /boot
ls / ; ls /boot ; ls /boot/efi ; ls /boot/efi/ubuntu ; ls /boot/efi/boot ; ls /boot/efi/kali Check out all the files to verify that the /dev/sda1 partition is mounted to mounting point directory /boot You can probably make a different mounting point directory $sudo mkdir /tmp ; $ sudo mount /dev/sda2 /tmp ; ls /tmp
$sudo mount This command will display which devices and partitions are "mounted" to which "mount point directories" $sudo mkdir /tmp/data ; sudo mount /dev/sda4 /tmp/data This is an example ls /tmp/data
3.) Find the EFI boot loader you want in /boot
4.) # grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot # check exact character strings. I not able to tell if this is correct.
5.) efibootmgr -c -d /dev/sda -p 1 -L "LinuxMint" -l /efi/ubuntu/grubx64.efi
6.) Whatever is the .efi file in the /boot/efi/boot/bootx64.efi directory will be the default bootx64 loader Note: This assumes the sudo mount /dev/sda1 /boot command completed properly to mount the disk device partition /dev/sda1 on to the mount point directory /boot
Thanks só much!
One thing I don't understand. Some Linux versions put their name in the EFI boot menu while others don't ? I wish it were easy to easily edit that listing - rather than have to remember what OS was on which SSD.
I've installed kali on an external ssd, and successfully got it to boot, but for some reason I have to power cycle my pc to get it to boot. If I just try booting it drops into an initramfs shell.. if I reboot it after that it boots. This happens with every boot :/ I've also tried with ParrotOs and have the same problem. I'm using a vaio pro, any idea what would cause this?
A very very very BIG THANKS !!!! After few days to try to install Linux Mint 20 on a Mac pro 5.1 you give me the solution :-) Thanks a lot
I have a vaio pro and I was having alot of issues with it booting into kali from an external ssd. I eventually figured out moving boot/efi/EFI/kali/grubx64.efi to boot/efi/EFI/BOOT/bootx64.efi actually got the system to boot to grub and to kali. But sometimes when booting it gets stuck and drops into initramfs.. any reason this might be happening?
my stupid bios did this when I booted of USB
Secure Boot Signature isn't valid...
so I used some bits from this video and it really helped me!
Excellent! Glad it helped!
This video is a life saver - thanks! Had some trouble with the acer issue «no bootable device»
I can't enter bios (uefi) after installing linux manjaro
There is a BIOS entry key. ESC, ctrl-alt-esc, F10, F12 whatever your motherboard documentation says is the key to enter the UEFI BIOS settings.
Thank you man please can you zoom the screen when you use the terminal in your future videos.
Yes...I thought of that during the post-production...I should have re-recorded it being that it was only a short video.
i setup manjaro to dual boot with windows. but when i start pc, it goes straight to windows normally. but if i hit the f12 key at boot and go to boot menu i can load manjaro through legacy boot, but not efi...no listing under efi. how do i get it to give me a choice of what to boot?
Change the BIOS options to boot priority to where / how your manjaro boots. You can set legacy / EFI and disk options in most BIOS settings, though there are a few which you cannot.
i got a dell optiplex 990
I'm so confused is this helping with an already install system or helping the same problem when booting off of usb? I get the failed to open /efi/boot/mmx64.efi
An already installed system on a motherboard that does not easily support fixing the boot sectors any other way.
@@SwitchedtoLinux I somehow fixed it by installing ubuntu. I was trying to install Debian. I finally did and everything works fine now
Bonjour les commandes fonctionnent sous Mac OS Catalina ? J'ai un problème de démarrage Shell EFI depuis son Installation !! Help meee :(
I am typing this in from memory, without properly testing from the EFI shell.
1.) Make sure you have installed the efibootmgr and grub-uefi tools
2.) Mount the disk drive to the mount point $sudo mount /dev/sda1 /boot
ls / ; ls /boot ; ls /boot/efi ; ls /boot/efi/ubuntu ; ls /boot/efi/boot ; ls /boot/efi/kali Check out all the files to verify that the /dev/sda1 partition is mounted to mounting point directory /boot You can probably make a different mounting point directory $sudo mkdir /tmp ; $ sudo mount /dev/sda2 /tmp ; ls /tmp
$sudo mount This command will display which devices and partitions are "mounted" to which "mount point directories" $sudo mkdir /tmp/data ; sudo mount /dev/sda4 /tmp/data This is an example ls /tmp/data
3.) Find the EFI boot loader you want in /boot
4.) # grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot
5.) efibootmgr -c -d /dev/sda -p 1 -L "LinuxMint" -l /efi/ubuntu/grubx64.efi
6.) Whatever is the .efi file in the /boot/efi/boot/bootx64.efi directory will be the default bootx64 loader Note: This assumes the sudo mount /dev/sda1 /boot command completed properly to mount the disk device partition /dev/sda1 on to the mount point directory /boot The UEFI firmware searches through /efi directories and subdirectories to find efi boot loader firmware files /efi/boot directory is the last default directory to boot from if the other boot loaders failed to complete.
Do you have another video doing this on a Windows OS?
Interruptor system call error please help
Thanks! Saved my time.. I thought I have to reinstall windows again😥
aaand I guess this is where most of the linux user career ends. Thanks for the help btw :)
Since I can boot in, how do I access this terminal in the first place, a live USB? A special os? Answers pls
efibootmgr and efivars command are probably available to the "root" or "administrator" user on your operating system. Check your documentation.
Thanks man page for efibootmgr really sucks and I wanted to get over this as quick as possible, so seeing this example really helped.
How do I fix this problem on a imac 17 so I can load up Linux?
my computer says "something has gone seriously wrong : import_mok_ state failed"
Mine only boots to windows 😭😭
I don't have instal cos my bios shauting windows uploader.
Hi! Is my comment showing up! I seem to have a problems leaving comments on TH-cam, if I leave any link to a TH-cam channel or internet address, it will not show up to other people. I can see it but if I go as a different user it's not there!? how can I sort this problem out what's causing it??
I'll try an experiment if you can see it just tell me somebody and then I'll leave a link afterwards and see if it shows up!
I got this one...but maybe you have been shadowbanned!!
Switched to Linux what is shadowbanded mean! Why would I be shadowbanned ??
Switched to Linux can you see this link? th-cam.com/video/mpbeOCKZFfQ/w-d-xo.html
Switched to Linux I left you a link to a TH-cam channel does it show up!?
Shadowbanning is what Twitter was accused of doing...followers can see your posts, but no one else can.
The only addition I have to this awesome guide is to double check the `BootOrder` when calling `sudo efibootmgr -v`. Make sure this newly created entry is prioritized. If it's not change it by `sudo efibootmgr -o 0014,0010`. 0014 followed by 0010 was the preferred order for my system, change that with yours.
Getting error when running "grub-install"
Error: /boot doesn't look like a EFI partition
Help
I believe that would mean there is not a EFI partition on your disk. Check how to create one if you need it.
@@SwitchedtoLinux my EFI partition was at /dev/sda1 , I just mounted that and then the error went away
@@yashaskirito use command $ sudo mount /dev/sda1 /boot ; ls /boot ; sudo mount ; That should check this.
Wondering does that fix issue were i cannot save my boot settings in bios
"BIOS" or "UEFI" ?? Which boot settings do you mean to use? BIOS and CSM use Master Boor Record (MBR) old style partition of 4 primary partitions. UEFI GPT ESP EFI uses GPT style partition of 128 entries. " efibootmgr -v " command should list the boot order setup for your system from the /dev/sda1 partition drive
hi,tried fail to work
Did you change the UEFI BIOS settings, to enable UEFI, disable CSM, disable BIOS? Did the command #3 "sudo mount /dev/sda1 /boot" complete? "sudo mount" Shows what is presently mounted. ls /boot should show the files on the mounted directory. cd or pwd should show the present working directory.
Why not just boot straight into the kernel and skip grub?
You always have to have a bootloader
@@SwitchedtoLinux no you don't. I don't. It's called the efi stub loader and its built into the kernel.
@@marcusk7855 how did you do that
Switched to Linux Man! Hi you seem to have a handle on this efi business so can you please please please do a video on setting up a bootable USB with uefi boot loader for Kubuntu.
So basically from a new USB stick to plug and play Kubuntu with uefi boot, it's for the (atomic pi), I think it would be useful to a lot of people. Yeah, so thanks for helping us all.
Thank you so much for this video/guide
I have one stupid machine, witches allows one UEFI/EFI boot
Can you help me, i will fix video for live screen and you can see what is going on?
hello
i follow you steps all the steps gives me didn't error but last step give me error.
your linux name is linux mint but i have kali linux and i added this command
efibootmgr -c -d /dev/sda -p 7 -L kali -l\EFI\kaligrubx64.efi
he says "Could not prepare Boot variable: Function not implemented"
plz help me what can i do.
efibootmgr -c -d /dev/sda -p 7 -L kali -l \EFI\kali\grubx64.efi You left out a "\" directory separator and maybe a space char " " after -l option. You should be able to use "ls" list directory command to ls /boot ls /boot/efi/ ls /boot/efi/kali to see the different files. I wonder if pwd print working directory command operates in the EFI Shell
I'm going to try this with Solus. After I installed Win10 on my system, it won't boot up. Solus's is \EFI\systemd\systemd-bootx64.efi
same problem here, any progress on that Russell?? thanks
worked Thanks, had an issue with MokListRT starts up without this message.
My bios is even dumber than yours, it only boots windows boot manager and USB sticks and I checked the boot list and turns out I have a bunch of manjaros xubuntu Ubuntu and other distros I have tried. Changing order and removing entries doesn't work. After a reboot it ends up looking the same. Unchanged. Any tips? The only thing that has worked is changing the windows efi file for the Ubuntu one.
Make sure SecureBoot is disabled.
@@SwitchedtoLinux is not that. My bios is a mod of for one laptop that shouldn't have uefi. I will revert back to the regular bios and do dual boot.
Hello STL! Obviously even if your channel is SWITCHED TO LINUX you are still obsessed with Windows: you use dir a few times which is typical in Windows while ls would have been expected in Linux. Don't forget that the Arch/Gentoo wiki is your best friend.
The -l option means --loader and needs a path to an EFI image to boot and that path must use backslashes (so this is the best proof which OS it was intended for).
Best regards.
What do you do if your computer says it can't find the EFI boot manager
Check BIOS to make sure it is available and enabled.
@@SwitchedtoLinux The only place in the BIOS that even mentions EFI is a launch shell from the filesystem device. When I select it it says "Warning not found". I don't know if it matters but I'm using windows 8.1.
Does it work in kali
For all the good things I can say about Linux.... I sure wish / HOPE / Really Really HOPE - that some developer would write a program to make this process slightly more user friendly. Why can't JUNK - be chopped out from inside the BIOS menu ?
Some distros have tools that can do this in the GUI. I think MX Linux or Linux Lite have such tools.
I dual booted my PC.It has both windows and linux. Now windows in showing bootmgfw.efi not found and hence it is unable to boot
Will this method also work in the given case..
pls reply
Yes, you should be able to find /efi/microsoft/bootmgfw.efi using the ls /boot ls /boot/efi ls /boot/efi/microsoft commands and then issue
the efibootmgr -c -d /dev/sda -p 1 -L MS_BOOT -l /efi/microsoft/bootmgfw.efi
efibootmgr -v
efibootmgr -o 0000,0008,0002,00003 or what ever order you need for your situation
sudo mkdir /tmp1
sudo mount /dev/sda4 /tmp1 ; ls /tmp1 ls /tmp1/efi ls /tmp1/efi/boot ; ls /tmp1/efi/microsoft Should help you find bootmgfw.efi file if it is on a different partition like number 4 /dev/sda4
Tom, with Windows Telemetry is it safe to run Windows 10 in Virtualbox?
If you block the Windows telemetry on the host system it should block it but I am not totally sure about that...worth a test.
I found out that Linux Mint in a Virtual Machine will bypass the hosts file on the Host Machine. I realize that is not Windows. But I think it answers the question. Windows will do it's thing anyways!
Sir, also if you use Winreducer. you can help destroy most of the telem, right on a fresh install. Although it's not all of it, still a bit. Even after removing cortana, edge, and IE. iis, WER, powershell, and ext you will still be vunrable.
hi please help me i delete efi boot partition on my os linux mint and now my pc don't start and i want to delete linux for installing win10 but boot usb don't work help me
grab the latest Linux mint iso image (19.2, I think it is still in beta). It have a boot repair tool. Use that and see if it solves the problem.
need help. hope you could answer
I bought an addon LAN card with bootrom and intended to put it in my asrock mobo but it won't boot from addon LAN. though I tried putting it on msi mobo and it works like a charm. what should I do?
Some UEFI firmware is written better than other UEFI firmware. In your case asrock mobo is not working ( sucks ) as you intend it to. On the otherhand msi mobo works like a charm. I wonder if a developer could write or create a .efi firmware file to enable executing the LAN card's bootrom to enable booting from that external addon LAN card
I have a dual boot laptop (win 7 and Linux mint
18.3). Initially, I installed LM 19.1. But was unable to restart or
shutdown (system hangs with LM icon). I loaded LM 18.3 and still have
the same issue. Any idea what the problem is? Thanks
Check your Boot Order with efibootmgr command. Example: " efibootmgr -v" or change boot order " efibootmgr -o 0000,0004,0003,0002,0001 "
When I try the efibootmgr commande I had this error :
EFI variables are not supported on this system. there are a solution ? thnx
See if EFI is enabled in BIOS
I added a second internal ssd to my computer, I've added Linux Mint 19 (/dev/sdb) to it and it fails to load, Should the boot loader for Mint be on /dev/sda1 or on /dev/sdb1
I have found when installing linux on dual booting systems to disconnect your windows drive when installing linux on the other hard drive that way it doesn't mess up your efi booting on the windows one when you have to fix something.
@@cootason
That's a very good point, I have done just that, which makes the issues with dual booting non-existent. Not long after I posted my comment you just replied to I switched to using Arch Linux and started using the systemd-boot, previously called gummiboot which is a simple UEFI boot manager which executes configured EFI images.
major life saver dude you rock. was this by any chance an Acer mobo or laptop?
Nope. This is the new MSI motherboard....very hostile to Linux bootloaders.
I had the Acer booting properly in 20 minutes after watching this video
I'm going to guess you researched this. Could you direct me to the documentation containing the information? (so that I can print it and have access to it if I don't have access to a working computer or internet) --thanks
Unfortunately I have not found any one source. I created this video for my reference because every time I needed to fix a computer EFI partition I had to spend a long time searching for tons of different document sources.
Thank you very much dud..
It's work..😍😍😍😍
In step 5 in your description, there are forward slashes, not back slashes.
If I remember correctly you need to use the forward slashes...fortunately I have not had to redo my efi table lately so I will need to look at this more closely nexttime I do.
@@SwitchedtoLinux : I just noticed you used the opposite in the tutorial. I'm not sure which is correct. I'm guessing the tutorial.
where do you download efibootmgr? Do you have to pay for it
It is in the repos as a basic tool. No, you do not need to pay for it. On any Debian based (or Ubuntu), run this in the terminal:
sudo apt install efibootmgr
Mate always appreciated yr vids.... I am using linux mint 19...mostly no probs... Until yesterday... Wont get past boot stage.... Have tried going into recovery mode etc cleaning space... Have tried nomodeset etc... One message that appears is BIOS contains wdgs but no wrds. Any tips or help would be great.. Thanks man
Thanks a lot 🎉
I can only say thanks. It didn't work on the office computer; One of your so called 'stupid' 'bios' But I learned a lot and my computer at home forgot the same so I will try it again. HP X all in one PC = junk. In this case it is a 19. I never really had a problem with them moving up to EFI although I was just fine with BIOS. Things change. Still, it just bums me the trash that you have to put up with.
omg thanks you man finally
Thank you bro;)
Thank you! 🇧🇷
I edit my coment, because i realized what did i do wrong, but i still having the problem
EFIBootMgr and you can just sidestep Grub entirely xD ty
Hi pls add subtitles.I don't understand ur voice(speedy)
GoD
ubuntu is a piece of crap
Hi, Today I installed ubuntu and then when I restarted my laptop I saw this error:
malformed security header failed to read header: invalid parameter failed to load images: invalid parameter start_image() returned invalid parameter
Can you tell me how to solve this problem?