I watched a bunch of RUclips videos on this topic. This is the only one so far that got it exactly right particularly when it came to fixing the EFI entries and EFI partitions.
I am just amazed that in this day and age you have to go through all this hoops to get these working. Thank you for all the work you've put into this. Much appreciated and thumbs-up of course.
When I followed the step and restarted the computer it worked fine. But when formatted the Ubuntu usb drive for reinstalling the installation process is very slow.
I'm oldschool baby! One extra tidbit is that some older PCs (unless the two I have with nearly identical Geforce61xx/nForce4 chipsets are just special cases) will not register additional USB devices when booting into a live environment via USB. So, in my case, I need to boot into linux live using a live CD in order to utilize any USB devices.
Thanks for the tutorial. Everything works. What was the purpose of the last step, changing what the boot partition automount? It seemed to work fine without changing it.
Hey, thanks a lot for the video! I just don't really understand what the purpose of the last step is (i.e. Switch EFI partitions). Indeed, I didn't do it, and my usb drive seems to work perfectly with ubuntu installed on it.
That's a good suggestion and I also was thinking that, but many of us use laptops and we don't really have a way to disconnect the internal storage without taking it apart unlike PCs, which is why showing this step is really helpful.
you are a star no one clearly said to create efi first then other partition I actually bought a new bigger samsung USB thinking maybe its the usb but u are the best but I couldnt follow after 3:24 because I am installing Mint THANK YOU well explained anything to do on linux from 3:24 ? if you can tell me ill be nice if not still thank you
Thanks for this video, it's very helpful. But the Ubuntu USB drive created is not booting in other laptops. It says Authentication failed. This means the config files copied from laptop's windows partition EFI/ubuntu folder belongs to that particular laptop? 2 years ago I created similar standalone USB drive from the same laptop and the EFI was fully copied automatically to the USB EFI partition. Nothing is touched on my Windows HDD. And that USB Ubuntu drive boots on every laptop. Why they changed this and made it complicated?
Is the USB drive going to be fast enough to run the OS (e.g. Ubuntu) and be responsive ? also would running OS from usb going to damage the USB over time > since the USB drives are not meant to be read/written over and over ?
What should I do if I get the error message "There was an error creating the folder "EFI". Error creating directory (filepath): Cannot allocate memory" when I try to copy EFI file from live usb to full install usb? This can't actually be due to a lack of error as folders can be made in other directories and I've tried this on two machines which each have sufficient memory.
I followed the instructions (but instead of Windows I have Ubuntu 22.04 installed on my computer) and, while the Ubuntu on the USB drive now works fine, without the USB drive the computer now just boots to grub and I can't boot to Ubuntu anymore! Any ideas how to fix this? Thanks!
Your method for the most part worked for me, however: Is it likely that it added a partition to my windows drive which was using the guid format? Can the guid be on the same partition as Windows 10/11? I see grub files on the windows partition... isn't that for linux?
Can you do a tutorial for this with Lubuntu 18.04? Since I don't think 18.04 sets partitions automatically. But it is one of the lightest ubuntu distros on system resources which is still supported and is compatible with many applications. Which may in turn help with performance via USB v2.0 (for those like me stuck with it lol)
I found out the best way to do this is by using mkusb in a linux environment. I think I used Ubuntu or Lubuntu 20.04 installed to my hdd, as using a live enviro I was worried about ram usage, installing mkusb to the system. I have had critical errors due to crashes while using live linux for various activities. The last issue I had was transferring files from an Ubuntu USB to an external hdd using Ubuntu live via bootable DVD. Not sure what happened, but it crashed while I was transferring files and I ended up with corrupted data and bad sectors on my external hdd. So... user beware!
You can do this later. I would suggest that you don't do any system updates in the meantime like installing new kernel versions or sudo apt-get upgrade. Because as far as I know every kernel update also updates grub.
Great question, I've been looking for this as I want to install Ubuntu only on my USB, I still want to be able to log in into my Windows with all my data and use Ubuntu from the USB Stick. Great video also, straight to the point, content matters. Thank you both
Hi again. I made everything almost till the end. But I could not enter in the EFI final folder to check if all the needed files were there. After I typed my passoword, I received the following message : "Oops! Something went wrong. Unhandled error message : GDBus.Error:org.Freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set". Do you know what that could be or what it means, please? regards
I assume this is the final step after you have booted into the installed ubuntu and after you have set the mounting point of the new EFI partition on the USB to /boob/efi. I got similar errors when I forgot to mount the EFI partition. Make sure the EFI partition is mounted to /boot/efi, and maybe restart. If this doesn't help then open the terminal, switch the user to root with "sudo su" and try to access the folder from the terminal as root.
My internal drive is about to fail to soon. So I tried your method. And I created the / and /home while partioning . But When It got restarted I didn't any option to load the OS FROM external hard drive where i installed Ubuntu.
I didn't tried it with cinnamon. Try to install cinnamon again but this time don't manually change the boot partition after the install. Hopefully this will fix the problem
@@agiledevart Jesus, this thing has an average of 12mb write speed, and it goes down to like 8 after a while, maybe it's too hot, oh well, at least the read is decent at about 110 constant.
@@agiledevart Yea, for the time being I'll somehow make a live usb with persistent storage, that way I can levagere my RAM power and still have a "installed" OS
I watched a bunch of RUclips videos on this topic. This is the only one so far that got it exactly right particularly when it came to fixing the EFI entries and EFI partitions.
finally, someone who also shows how to remove grub bootloader, thanks man! Nice Video
I am just amazed that in this day and age you have to go through all this hoops to get these working. Thank you for all the work you've put into this. Much appreciated and thumbs-up of course.
Thank you so much. I watched so many videos about this, but none of them seemed to work. You rock! :D
THANK YOU SO MUCH!
I made the same thing for Debian and it worked perfectly. Amazing!
Nice to know! Thank you too!
This video still works on 22.04 LTS thanks!
Very precise and straighforward tutorial. I installed Zorin OS and it worked flawlessly, so I believe any Ubuntu based distro will work too.
Damn this tutorial is on fire! It totally did things the way I needed them to be!
Was looking for this for a while, great guide and thanks!
Great, man... This was what I was looking for. Thank you.
this video was exactly what I was looking for. thank you!!
thank you bro,this was exactly what i was looking for
Thanks a lot. Exactly following you helped me make an os from external drive
This is exactly what I needed. Thank you!
Helped me out enourmosly, thank you very much
Amazing tutorial, straight to the point!
Thanks for the tutorial
Thank you so much. I just subscribed.
When I followed the step and restarted the computer it worked fine. But when formatted the Ubuntu usb drive for reinstalling the installation process is very slow.
I'm oldschool baby! One extra tidbit is that some older PCs (unless the two I have with nearly identical Geforce61xx/nForce4 chipsets are just special cases) will not register additional USB devices when booting into a live environment via USB. So, in my case, I need to boot into linux live using a live CD in order to utilize any USB devices.
Awesome video, worked for mac.
Amazing tutoriel thank you
Perfect setup guide, fast paced - slightly too fast at times :d
Thanks for the tutorial. Everything works.
What was the purpose of the last step, changing what the boot partition automount?
It seemed to work fine without changing it.
Dude he's really amazing
bro you are amazing !
Hey, thanks a lot for the video! I just don't really understand what the purpose of the last step is (i.e. Switch EFI partitions). Indeed, I didn't do it, and my usb drive seems to work perfectly with ubuntu installed on it.
It's just there to keep things tidy. It is not needed.
I have one suggestion; if you can remove your main storage device when installing the additional os, you don't have to copy and paste all those files
That's a good suggestion and I also was thinking that, but many of us use laptops and we don't really have a way to disconnect the internal storage without taking it apart unlike PCs, which is why showing this step is really helpful.
@@farhanrejwan I am using laptop as well. I especially prefer upgradable laptops, they can be dismembered.
I said bro he has at least 100k subs
that is very useful
you are a star no one clearly said to create efi first then other partition I actually bought a new bigger samsung USB thinking maybe its the usb but u are the best but I couldnt follow after 3:24 because I am installing Mint THANK YOU well explained anything to do on linux from 3:24 ? if you can tell me ill be nice if not still thank you
Try this (Linux Mint)
ruclips.net/video/thC3NSLEm1g/видео.html
Thank you for this video, but how to enable full disk encryption with this method?
Ugh. At very end my EFI folder was empty. I was devastated. I’ll retry later.
Try this
ruclips.net/video/j2RYqahtkNc/видео.html
Tyvm ❤️
So this is happening on a computer with a main Windows installation? That is taken for granted?
Excellent
Thanks for this video, it's very helpful.
But the Ubuntu USB drive created is not booting in other laptops. It says Authentication failed. This means the config files copied from laptop's windows partition EFI/ubuntu folder belongs to that particular laptop?
2 years ago I created similar standalone USB drive from the same laptop and the EFI was fully copied automatically to the USB EFI partition. Nothing is touched on my Windows HDD. And that USB Ubuntu drive boots on every laptop.
Why they changed this and made it complicated?
at 3:53 I cannot see the EFI Folder. It has folders Boot, Recovery, System Volume Information
Probably you've mounted the wrong partition. Try the other small partitions. Your description sounds like you have mounted the recovery partition.
nice, but you dit not create space for "home" folder and just allocated rest of the free space for "/" (root)
Are you using two usb's one for os and one for installation
Is the USB drive going to be fast enough to run the OS (e.g. Ubuntu) and be responsive ? also would running OS from usb going to damage the USB over time > since the USB drives are not meant to be read/written over and over ?
I dont understand why the EFI ubuntu entry was installed on the Windows partition. Was this a mistake that he had to fix?
Yes, this was a bug
4:28 do better video. should not touch windows partion at all. this is my usb intall it. how hard it is?
Maybe if you can unmount your hhd phisically. Or maybe block access in the bios.
What should I do if I get the error message "There was an error creating the folder "EFI". Error creating directory (filepath): Cannot allocate memory" when I try to copy EFI file from live usb to full install usb? This can't actually be due to a lack of error as folders can be made in other directories and I've tried this on two machines which each have sufficient memory.
Efi system partition option is not there bro for creating 100 mb
I followed the instructions (but instead of Windows I have Ubuntu 22.04 installed on my computer) and, while the Ubuntu on the USB drive now works fine, without the USB drive the computer now just boots to grub and I can't boot to Ubuntu anymore! Any ideas how to fix this? Thanks!
After the reboot after the installation, I'm only getting the grub command line screen, how to I get rid of this?
Your method for the most part worked for me, however:
Is it likely that it added a partition to my windows drive which was using the guid format? Can the guid be on the same partition as Windows 10/11? I see grub files on the windows partition... isn't that for linux?
I’m wondering the exact same
why 2 usb ?
which usb will have live ubuntu
which will be live
There is no /dev/sda on my pc. I mean I can't see the USB drive. Help
Can you do a tutorial for this with Lubuntu 18.04? Since I don't think 18.04 sets partitions automatically. But it is one of the lightest ubuntu distros on system resources which is still supported and is compatible with many applications. Which may in turn help with performance via USB v2.0 (for those like me stuck with it lol)
I found out the best way to do this is by using mkusb in a linux environment. I think I used Ubuntu or Lubuntu 20.04 installed to my hdd, as using a live enviro I was worried about ram usage, installing mkusb to the system. I have had critical errors due to crashes while using live linux for various activities.
The last issue I had was transferring files from an Ubuntu USB to an external hdd using Ubuntu live via bootable DVD. Not sure what happened, but it crashed while I was transferring files and I ended up with corrupted data and bad sectors on my external hdd. So... user beware!
So when i remove the usb drive and boot again will windows just boot normally?
Yes
Can I upgrade to ubuntu 22.04 with the update option as a complete installation? or will be a problem?
It should work
my computer doesn't boot the usb
Yes after shutting down the Ubuntu.
Did you fixed it?? I'm currently facing that problem
Does it corrupt my installation of ubuntu on the HDD ???
hello. can you help me ? when i install LINUX, i do not see the efi option
which kind of usb should i preffer
i mean how much min size usb i shoud for minimal installation
A minimum size of 36GB are recommend.
how to know "sda" is our usb partition? I'm afraid if I'm wrong and accidentally delete my brother's data
You can check, that the size is right. At me it is sdb.
Thanks! Can I skip the last step if I only use it on my computer?
If you don't intend to change the grub settings, you can skip the last part (e.g. update-grub may not work)
@@agiledevart Thanks for your reply. Is it something I can do later if I choose to? Newbie here. Appreciate the video! Very well done.
You can do this later. I would suggest that you don't do any system updates in the meantime like installing new kernel versions or sudo apt-get upgrade. Because as far as I know every kernel update also updates grub.
@@agiledevart 👍 Thank you very much! Looking for to watching you mining video!
Will I still be able to boot into my main computer after this? Or will this overwrite the files on my main hard drive?
Only your USB drive will be overwritten. You will still be able to boot into your main computer with all your data.
Great question, I've been looking for this as I want to install Ubuntu only on my USB, I still want to be able to log in into my Windows with all my data and use Ubuntu from the USB Stick. Great video also, straight to the point, content matters. Thank you both
Hi again. I made everything almost till the end. But I could not enter in the EFI final folder to check if all the needed files were there. After I typed my passoword, I received the following message : "Oops! Something went wrong. Unhandled error message : GDBus.Error:org.Freedesktop.PolicyKit1.Error.Failed: Unix process subject does not have uid set". Do you know what that could be or what it means, please? regards
I assume this is the final step after you have booted into the installed ubuntu and after you have set the mounting point of the new EFI partition on the USB to /boob/efi. I got similar errors when I forgot to mount the EFI partition. Make sure the EFI partition is mounted to /boot/efi, and maybe restart. If this doesn't help then open the terminal, switch the user to root with "sudo su" and try to access the folder from the terminal as root.
@@agiledevart Thank you. I'll check on that later. But it is working fine anyways. So, I suppose everything turned out right.
I have the same problem how did you solve it
@@huseyinbabacan157 I couldn't check that out because I removed it. But, it was working anyways.
@@RubCalBat thank you. I will now delete the 21.10 version and install 21.04 maybe it wil work.
My internal drive is about to fail to soon. So I tried your method. And I created the / and /home while partioning . But When It got restarted I didn't any option to load the OS FROM external hard drive where i installed Ubuntu.
Same.
Now I am unable to boot from the OS from my main internal ssd without the portable drive :(
You have to change the boot order in the bios back to Windows first
brother, can you show us how to do this with POP OS or Quark OS ? specially Quark OS ...
I haven’t heard of neither of these, but if they’re Debian-based, the process should be almost the same
@@onestok i tried ubuntu even like this video but everytime it Fails... It take 4 hours from 0% to 12% then i fails...
@@fahim18xiii unfortunately, I don’t know how to help you with that, it worked for me
can you make a new video for ubuntu 22.04 lts
This tutorial works for 22.04 lts. It's identical at the time of writing
@@agiledevart okay thanks a lot.
Are the steps same for Kali Linux and parrot sec os?
I don't think the steps are same, but maybe similar
Parrot OS:
ruclips.net/video/zzIVKP5Gs1o/видео.html
I did everything right but with mint cinnamon and now i wont get into my normal system anymore.
Some problem with grub i think . ps: im a beginner
I didn't tried it with cinnamon. Try to install cinnamon again but this time don't manually change the boot partition after the install. Hopefully this will fix the problem
This is painfully slow in a USB 3.0 on a 3.0 port, any ideas ? (my machine is a ryzen 7 3800x, and 32gb of ram, so it's not that)
Check the read/write speed of your USB stick. I'm pretty sure the stick itself is slow
@@agiledevart Hmm, I have a Kingston Data traveler 64GB, I assumed it was decent because it's kingston, I'll check it's speeds, thanks!
@@agiledevart Jesus, this thing has an average of 12mb write speed, and it goes down to like 8 after a while, maybe it's too hot, oh well, at least the read is decent at about 110 constant.
@@kendarr 110 read is also a bit low. You will need to get a faster one. It's expensive, I know...
@@agiledevart Yea, for the time being I'll somehow make a live usb with persistent storage, that way I can levagere my RAM power and still have a "installed" OS
Anyone know where I can access a copy of the shimx64.efi file?
If you deleted trying to fix boot loop, you should delete complete EFI/boot folder content and recover all in windows with bcdedit.
Can I use a external ssd
Yes, should work
Will this usb be bootable in an older computer with no efi support
I have not tested it, but I'm pretty sure EFI is mandatory
@@agiledevart thank you for replying...your way of presentation is very good...all the best...
One more thing should the usb be gpt formatted
Yes, the ubuntu installation process will do this for you when you create the partitions
Can u do the same in a external hard drive?
Yes, I also tested it on a external hard drive, it worked for me
@@agiledevartHey, will doing a full install in pendrive delete the windows in the hdd?
Can I install Ubuntu 20.04 on a Version 2.0 pendrive or 3.1 is mandatory?
You can install on Version 2.0 but it will be very slow
@@agiledevart Than which version should I buy? 3.0 or 3.1?
Definitely 3.1 if your machine supports it