Linux Tips - Install Full Ubuntu Desktop on a USB Drive (2021)

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 127

  • @reginaldsimmons6613
    @reginaldsimmons6613 2 года назад +42

    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.

  • @Shub10234S
    @Shub10234S 2 года назад +10

    finally, someone who also shows how to remove grub bootloader, thanks man! Nice Video

  • @georgesmith9178
    @georgesmith9178 7 месяцев назад

    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.

  • @Onlytheroadandi
    @Onlytheroadandi Год назад +3

    Thank you so much. I watched so many videos about this, but none of them seemed to work. You rock! :D

  • @AndreFauth
    @AndreFauth 2 года назад +5

    THANK YOU SO MUCH!
    I made the same thing for Debian and it worked perfectly. Amazing!

    • @farhanrejwan
      @farhanrejwan 2 года назад +1

      Nice to know! Thank you too!

  • @thaitanic2487
    @thaitanic2487 6 месяцев назад +2

    This video still works on 22.04 LTS thanks!

  • @lucian-alves-dev
    @lucian-alves-dev Год назад +2

    Very precise and straighforward tutorial. I installed Zorin OS and it worked flawlessly, so I believe any Ubuntu based distro will work too.

  • @farhanrejwan
    @farhanrejwan 2 года назад +3

    Damn this tutorial is on fire! It totally did things the way I needed them to be!

  • @THEmurk1nGURK1N
    @THEmurk1nGURK1N 2 года назад +2

    Was looking for this for a while, great guide and thanks!

  • @RubCalBat
    @RubCalBat 3 года назад +3

    Great, man... This was what I was looking for. Thank you.

  • @nichobrooks
    @nichobrooks 2 года назад +2

    this video was exactly what I was looking for. thank you!!

  • @toshk.k958
    @toshk.k958 Год назад +1

    thank you bro,this was exactly what i was looking for

  • @_jasneetsingh_
    @_jasneetsingh_ Год назад +1

    Thanks a lot. Exactly following you helped me make an os from external drive

  • @spiegan77
    @spiegan77 2 года назад +1

    This is exactly what I needed. Thank you!

  • @lihao2843
    @lihao2843 2 года назад +1

    Helped me out enourmosly, thank you very much

  • @sioh3
    @sioh3 2 года назад +3

    Amazing tutorial, straight to the point!

  • @budiansyahrahmat
    @budiansyahrahmat Год назад +1

    Thanks for the tutorial

  • @rhymekidstv
    @rhymekidstv 2 года назад +1

    Thank you so much. I just subscribed.

  • @mymovies9948
    @mymovies9948 Год назад +2

    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.

  • @terrapinflyer273
    @terrapinflyer273 Год назад

    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.

  • @amansorout.6779
    @amansorout.6779 2 года назад +1

    Awesome video, worked for mac.

  • @shoeblood7734
    @shoeblood7734 2 года назад +1

    Amazing tutoriel thank you

  • @rfwngr
    @rfwngr 2 года назад +1

    Perfect setup guide, fast paced - slightly too fast at times :d

  • @AndrewGray1987
    @AndrewGray1987 Год назад

    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.

  • @arfanwicaksono8590
    @arfanwicaksono8590 2 года назад +1

    Dude he's really amazing

  • @Blackhard7
    @Blackhard7 2 года назад

    bro you are amazing !

  • @loicverbeke216
    @loicverbeke216 2 года назад +3

    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.

    • @Pr77Pr77
      @Pr77Pr77 Год назад +1

      It's just there to keep things tidy. It is not needed.

  • @ramalh
    @ramalh 2 года назад +1

    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

    • @farhanrejwan
      @farhanrejwan 2 года назад +1

      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.

    • @ramalh
      @ramalh 2 года назад

      @@farhanrejwan I am using laptop as well. I especially prefer upgradable laptops, they can be dismembered.

  • @hamodyhmactivities6843
    @hamodyhmactivities6843 Год назад +2

    I said bro he has at least 100k subs

  • @eng.zaherelshaar5868
    @eng.zaherelshaar5868 Год назад +1

    that is very useful

  • @ama7376
    @ama7376 Год назад

    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

    • @agiledevart
      @agiledevart  Год назад

      Try this (Linux Mint)
      ruclips.net/video/thC3NSLEm1g/видео.html

  • @guss606
    @guss606 2 года назад

    Thank you for this video, but how to enable full disk encryption with this method?

  • @miles267
    @miles267 9 месяцев назад

    Ugh. At very end my EFI folder was empty. I was devastated. I’ll retry later.

    • @agiledevart
      @agiledevart  9 месяцев назад

      Try this
      ruclips.net/video/j2RYqahtkNc/видео.html

  • @hassanelashiry
    @hassanelashiry 2 года назад

    Tyvm ❤️

  • @Cipricus
    @Cipricus Год назад

    So this is happening on a computer with a main Windows installation? That is taken for granted?

  • @thebullshittersvonmatterho8512
    @thebullshittersvonmatterho8512 2 года назад

    Excellent

  • @RaveendranNilavalagan
    @RaveendranNilavalagan Год назад

    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?

  • @rahulpandharkar4565
    @rahulpandharkar4565 2 года назад +1

    at 3:53 I cannot see the EFI Folder. It has folders Boot, Recovery, System Volume Information

    • @Pr77Pr77
      @Pr77Pr77 Год назад

      Probably you've mounted the wrong partition. Try the other small partitions. Your description sounds like you have mounted the recovery partition.

  • @narpat007
    @narpat007 Год назад

    nice, but you dit not create space for "home" folder and just allocated rest of the free space for "/" (root)

  • @tailwindcraftmanship
    @tailwindcraftmanship 2 года назад

    Are you using two usb's one for os and one for installation

  • @HolographicKode
    @HolographicKode Год назад

    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 ?

  • @sadf1416
    @sadf1416 11 месяцев назад

    I dont understand why the EFI ubuntu entry was installed on the Windows partition. Was this a mistake that he had to fix?

  • @JarppaGuru
    @JarppaGuru 2 года назад +1

    4:28 do better video. should not touch windows partion at all. this is my usb intall it. how hard it is?

    • @Tofu3435
      @Tofu3435 Год назад

      Maybe if you can unmount your hhd phisically. Or maybe block access in the bios.

  • @balincarmichael7688
    @balincarmichael7688 10 месяцев назад

    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.

  • @dhanushv128
    @dhanushv128 Год назад

    Efi system partition option is not there bro for creating 100 mb

  • @petrihirvonen
    @petrihirvonen 8 месяцев назад

    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!

  • @MPHxthexLegend
    @MPHxthexLegend Год назад

    After the reboot after the installation, I'm only getting the grub command line screen, how to I get rid of this?

  • @JohnFT3414
    @JohnFT3414 2 года назад +1

    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?

    • @KyngDade1
      @KyngDade1 Год назад

      I’m wondering the exact same

  • @deveshsuthar6177
    @deveshsuthar6177 Год назад

    why 2 usb ?
    which usb will have live ubuntu
    which will be live

  • @yugandharvasudev
    @yugandharvasudev 2 года назад

    There is no /dev/sda on my pc. I mean I can't see the USB drive. Help

  • @terrapinflyer273
    @terrapinflyer273 Год назад

    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)

    • @terrapinflyer273
      @terrapinflyer273 Год назад

      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!

  • @Paplo911
    @Paplo911 Год назад +1

    So when i remove the usb drive and boot again will windows just boot normally?

  • @davidvaldezpampanaupa8793
    @davidvaldezpampanaupa8793 Месяц назад

    Can I upgrade to ubuntu 22.04 with the update option as a complete installation? or will be a problem?

  • @tms..4561
    @tms..4561 Год назад +2

    my computer doesn't boot the usb

    • @mymovies9948
      @mymovies9948 Год назад

      Yes after shutting down the Ubuntu.

    • @DnDmnStudio
      @DnDmnStudio 11 месяцев назад

      Did you fixed it?? I'm currently facing that problem

  • @ahmed-osama2022
    @ahmed-osama2022 2 года назад

    Does it corrupt my installation of ubuntu on the HDD ???

  • @sirajpek5220
    @sirajpek5220 2 года назад

    hello. can you help me ? when i install LINUX, i do not see the efi option

  • @deveshsuthar6177
    @deveshsuthar6177 Год назад

    which kind of usb should i preffer
    i mean how much min size usb i shoud for minimal installation

    • @Pr77Pr77
      @Pr77Pr77 Год назад

      A minimum size of 36GB are recommend.

  • @sasmitadn
    @sasmitadn 2 года назад

    how to know "sda" is our usb partition? I'm afraid if I'm wrong and accidentally delete my brother's data

    • @Pr77Pr77
      @Pr77Pr77 Год назад

      You can check, that the size is right. At me it is sdb.

  • @TheGarageboyz
    @TheGarageboyz 2 года назад

    Thanks! Can I skip the last step if I only use it on my computer?

    • @agiledevart
      @agiledevart  2 года назад +1

      If you don't intend to change the grub settings, you can skip the last part (e.g. update-grub may not work)

    • @TheGarageboyz
      @TheGarageboyz 2 года назад

      @@agiledevart Thanks for your reply. Is it something I can do later if I choose to? Newbie here. Appreciate the video! Very well done.

    • @agiledevart
      @agiledevart  2 года назад +1

      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.

    • @TheGarageboyz
      @TheGarageboyz 2 года назад +1

      @@agiledevart 👍 Thank you very much! Looking for to watching you mining video!

  • @goblinsighting
    @goblinsighting 2 года назад +1

    Will I still be able to boot into my main computer after this? Or will this overwrite the files on my main hard drive?

    • @agiledevart
      @agiledevart  2 года назад +1

      Only your USB drive will be overwritten. You will still be able to boot into your main computer with all your data.

    • @Andrei-lq6ru
      @Andrei-lq6ru Год назад

      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

  • @RubCalBat
    @RubCalBat 2 года назад +1

    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

    • @agiledevart
      @agiledevart  2 года назад +2

      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.

    • @RubCalBat
      @RubCalBat 2 года назад +1

      @@agiledevart Thank you. I'll check on that later. But it is working fine anyways. So, I suppose everything turned out right.

    • @huseyinbabacan157
      @huseyinbabacan157 2 года назад

      I have the same problem how did you solve it

    • @RubCalBat
      @RubCalBat 2 года назад

      @@huseyinbabacan157 I couldn't check that out because I removed it. But, it was working anyways.

    • @huseyinbabacan157
      @huseyinbabacan157 2 года назад

      @@RubCalBat thank you. I will now delete the 21.10 version and install 21.04 maybe it wil work.

  • @chander1542
    @chander1542 2 года назад

    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.

  • @zareef5583
    @zareef5583 2 года назад

    Now I am unable to boot from the OS from my main internal ssd without the portable drive :(

    • @10ToesDownWithBass
      @10ToesDownWithBass 2 года назад

      You have to change the boot order in the bios back to Windows first

  • @fahim18xiii
    @fahim18xiii Год назад

    brother, can you show us how to do this with POP OS or Quark OS ? specially Quark OS ...

    • @onestok
      @onestok Год назад

      I haven’t heard of neither of these, but if they’re Debian-based, the process should be almost the same

    • @fahim18xiii
      @fahim18xiii Год назад

      @@onestok i tried ubuntu even like this video but everytime it Fails... It take 4 hours from 0% to 12% then i fails...

    • @onestok
      @onestok Год назад

      @@fahim18xiii unfortunately, I don’t know how to help you with that, it worked for me

  • @huseyinbabacan157
    @huseyinbabacan157 2 года назад +1

    can you make a new video for ubuntu 22.04 lts

    • @agiledevart
      @agiledevart  2 года назад +1

      This tutorial works for 22.04 lts. It's identical at the time of writing

    • @huseyinbabacan157
      @huseyinbabacan157 2 года назад

      @@agiledevart okay thanks a lot.

  • @singeraryandongare6951
    @singeraryandongare6951 2 года назад

    Are the steps same for Kali Linux and parrot sec os?

    • @agiledevart
      @agiledevart  2 года назад +1

      I don't think the steps are same, but maybe similar

    • @agiledevart
      @agiledevart  Год назад

      Parrot OS:
      ruclips.net/video/zzIVKP5Gs1o/видео.html

  • @20Crawlingkingsnake
    @20Crawlingkingsnake 2 года назад

    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

    • @agiledevart
      @agiledevart  2 года назад +1

      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

  • @kendarr
    @kendarr 2 года назад

    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)

    • @agiledevart
      @agiledevart  2 года назад

      Check the read/write speed of your USB stick. I'm pretty sure the stick itself is slow

    • @kendarr
      @kendarr 2 года назад

      @@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!

    • @kendarr
      @kendarr 2 года назад

      @@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
      @agiledevart  2 года назад

      @@kendarr 110 read is also a bit low. You will need to get a faster one. It's expensive, I know...

    • @kendarr
      @kendarr 2 года назад

      @@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

  • @cedarverse
    @cedarverse Год назад

    Anyone know where I can access a copy of the shimx64.efi file?

    • @VictorSerranoVASH
      @VictorSerranoVASH 10 месяцев назад

      If you deleted trying to fix boot loop, you should delete complete EFI/boot folder content and recover all in windows with bcdedit.

  • @lugnut082999
    @lugnut082999 2 года назад

    Can I use a external ssd

  • @harigovind2003
    @harigovind2003 3 года назад

    Will this usb be bootable in an older computer with no efi support

    • @agiledevart
      @agiledevart  3 года назад

      I have not tested it, but I'm pretty sure EFI is mandatory

    • @harigovind2003
      @harigovind2003 3 года назад

      @@agiledevart thank you for replying...your way of presentation is very good...all the best...

    • @harigovind2003
      @harigovind2003 3 года назад +1

      One more thing should the usb be gpt formatted

    • @agiledevart
      @agiledevart  3 года назад +1

      Yes, the ubuntu installation process will do this for you when you create the partitions

  • @GMaskman
    @GMaskman 2 года назад

    Can u do the same in a external hard drive?

    • @agiledevart
      @agiledevart  2 года назад

      Yes, I also tested it on a external hard drive, it worked for me

    • @johnchristian7788
      @johnchristian7788 2 месяца назад

      ​@@agiledevartHey, will doing a full install in pendrive delete the windows in the hdd?

  • @harshrathoreji
    @harshrathoreji 2 года назад

    Can I install Ubuntu 20.04 on a Version 2.0 pendrive or 3.1 is mandatory?

    • @agiledevart
      @agiledevart  2 года назад

      You can install on Version 2.0 but it will be very slow

    • @harshrathoreji
      @harshrathoreji 2 года назад

      @@agiledevart Than which version should I buy? 3.0 or 3.1?

    • @agiledevart
      @agiledevart  2 года назад

      Definitely 3.1 if your machine supports it