How to Install GRUB on Pop OS

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 113

  • @aneeshthunga3116
    @aneeshthunga3116 4 роки тому +61

    I think you have missed out a couple of steps.
    "sudo apt install grub-efi"

    • @Herbertech
      @Herbertech  4 роки тому +6

      I did record that step, but it got lost in the edit for some reason. I will pin your comment so people will see. :)

    • @rohankshetrimayum1049
      @rohankshetrimayum1049 4 роки тому +3

      When is the correct timing to use the command... Please also mention that

    • @Herbertech
      @Herbertech  4 роки тому +7

      @@rohankshetrimayum1049 Before entering any other command, so this is the first command you enter.

    • @tjeulink
      @tjeulink 4 роки тому +11

      @@Herbertech bruh maybe put a card or something in front of the video to say that :P kinda vital.

    • @vikaskumarsharma2322
      @vikaskumarsharma2322 4 роки тому

      You just solved my problem. Cheers!!!

  • @Volneilo
    @Volneilo 4 роки тому +32

    HI everyone! Some info that could help: after installing GRUB and GRUB-Customizer I found out that my Windows entry was missing, it is, GRUB could not find it. When opening the default profile inside GRUB-Customizer only POP Os was shown. So I went to install "os-prober" via terminal (sudo apt install os-prober), run it, (sudo os-prober) and it showed up Windows entry. Next step was "sudo update-grub" (and the output to this command already confirms that Windows entry was found) and, that's it! Rebooted to GRUB showing both POP OS and Windows!
    And, just for the record, I have an older BIOS machine, not EFI.

    • @dv7045
      @dv7045 4 роки тому +3

      Thanks. You are really helped me!

    • @kacmamlazim356
      @kacmamlazim356 4 роки тому +1

      thx you saved my windows 10

    • @itsclearly
      @itsclearly 4 роки тому +1

      @@kacmamlazim356 same bruv

    • @jesusmoreno255
      @jesusmoreno255 4 роки тому +1

      Oh man, thanks a lot!!!!

    • @sricharan4960
      @sricharan4960 3 роки тому +1

      Thanks man..you saved my day

  • @Your_Degenerate
    @Your_Degenerate 4 роки тому +9

    This is exactly what I was looking for. It's odd that Pop OS's intended dual boot method is to go into bios each time. That has to be turning away some newcomers since it just feels so impractical. I did first try rEFInd but the appearance was a bit off-putting to me. The Grub-Customizer lets me add a wallpaper so now I have Morpheus offering me the red and blue pill each time I go to switch OS.

    • @tjeulink
      @tjeulink 4 роки тому

      just mash some f-whatevernumber key and fail 6 times is not a very user friendly default lol

  • @jfadklfnmmal
    @jfadklfnmmal 4 роки тому +16

    I did everything in the video, but my GRUB still starts in commandline. I don't have an ubuntu folder but rather a pop folder, although the contents are the same so I put my grub.cfg file in there.

    • @HashimHS
      @HashimHS 4 роки тому

      I have the same problem right now
      I can only boot to the menu using set prefix=
      Insmod normal
      Normal
      Everytime

    • @okamilinux
      @okamilinux 4 роки тому

      @@HashimHS Same here, someone find some fix ?

    • @TylerTR95
      @TylerTR95 4 роки тому

      @@okamilinux same here, anyluck for anyone?

    • @NootNooot
      @NootNooot 4 роки тому

      @@TylerTR95 same here, set prefix=/efi/pop, normal, then it boots. wont save when doing update-grub and install-grub

  • @demerit5
    @demerit5 4 роки тому +3

    Awesome video. I managed to get my system all jacked up (i wiped out /boot/efi when I installed Pop OS) to the point where only Pop OS would boot and no Windows 10. This definitely saved my bacon. Thank you for the upload. I have just subscribed.

  • @SuperOnlyP
    @SuperOnlyP 4 роки тому +2

    My EFI folder was redflag and I cant open it. at 2:13
    -------------
    sudo nautilus /mnt
    ->to get access to EFI Folder. this runs nautilis as file manager . It solves the problem.

  • @ravynmagi
    @ravynmagi 4 роки тому +6

    Just installed Pop OS 20.04 along side Windows 10. Followed this video hoping to get Grub working. When it came to copying the grub.cfg file, I didn't have an /ubuntu folder, instead there was a /pop folder under /EFI. So I copied my file there. Unfortunately after rebooting I get stuck at the grub> prompt. Fortunately I figured out how to boot Pop OS from the prompt. However still can't get Grub working and may just blow away this OS install and start over.

  • @0xgunm
    @0xgunm 4 роки тому +3

    Can you make a video on pop is 20.04 pls.

    • @sovanbaral7113
      @sovanbaral7113 4 роки тому +2

      I am trying this on pop os 20.04 noted the ubuntu folder is changed as pop folder but at the end not successful because stuck at grub input screen on boot

    • @josephseife3006
      @josephseife3006 4 роки тому +1

      @@sovanbaral7113 same problem here

    • @viniciustorres3963
      @viniciustorres3963 4 роки тому +2

      Same here
      Plz help us

    • @tiagoriserio
      @tiagoriserio 4 роки тому +4

      Ar Shaikh got the answer ina few comments above:
      "If you are struggling to install grub than install rEFInd which is easy to install by just two pieces of code in terminal
      first type "sudo apt install refind" than a pop up will come between installation click yes.
      Than after type " sudo refind-install" and hit enter."
      After that I entered my PC Bios and chose Refind as the primary boot option. Worked perfectly!

    • @alexalez2909
      @alexalez2909 4 роки тому

      @@tiagoriserio OMG, I'm 4 hours in POP OS tried to be simply able to choose os every boot. Thank you very much!!!!

  • @d2spthree
    @d2spthree 3 роки тому

    In the Grub Customizer, for you the heading appears under Ubuntu but for me (PoP_OS 20.04 LTS) it was under GNU/Linux. So I renamed it to PoPOS GNULinux and then created a folder in the /boot/efi/EFI with the same name! My guess is your menu name and the name of the folder in which the .cfg file would be copied to should be the same. Also the .cfg file used the same name(PoPOS GNULinux.cfg ) and saved it after clicking on save in the Grub Customizer!

  • @javabeantv
    @javabeantv 4 роки тому +2

    When I select 'ubuntu' it tells me that there's 'no such device' and that I need to 'load the kernel first'. Now I can't boot into Pop!_OS at all so I need to reinstall. Any way to fix this? Followed the steps by the letter, including the apt install grub-efi.
    EDIT: It seems it might've been borked because I used disk encryption. To fix it, install rEFInd instead (The IT Guy has a tutorial) and use that.

  • @nitingaikwad30
    @nitingaikwad30 4 роки тому

    @The IT Guy could you please clarify following:
    1) On which version of Pop Os your grub was installed?
    2) As mentioned by you in earlier videos on Pop Os (dual boot, on EFI & BIOS) and comments thereof, you assured to try grub and make video. However, there were two scenarios where you installed pop os using same EFI partition of win 10 and in another separate EFI partitions for pop os and win 10. So, this grub was loaded in which scenario, first or second?
    I'm pretty new for Linux & thus my query is whether grub only works where EFI partition is same for both os or it can pool in boot data from two different EFI partitions as well?
    Thanks in advance.

    • @Herbertech
      @Herbertech  4 роки тому +1

      Hey, this was installed on 18.04, a guide for 20.04 is on the way. It should work for both, but I would suggest you use version 2 (definitive edition), as it is just better practice. GRUB will be installed on the EFI partition for POP OS, so you'll need to select the right one in the BIOS, though this should happen automatically after you install GRUB. Hope this helps. Also, if you're new to Linux this is good practice to learn. Be prepared to do something wrong and try again, that's the best way to learn imo. ;)

    • @nitingaikwad30
      @nitingaikwad30 4 роки тому

      @@Herbertech Thanks for the quick reply. It came handy, I just installed the PoP Os 20.04. Look forward to learn by doing and by watching videos here on UA-cam. Appreciate your detailed information and quick replies to all the queries put forward by the viewers. Keep it up.

  • @sidtrip_
    @sidtrip_ 4 роки тому +2

    Before I start to follow this video, just wanna mention that I don’t have an efi folder inside /boot. Is this gonna be a problem?

    • @Herbertech
      @Herbertech  4 роки тому +1

      How old is your PC? If it's still on old BIOS you won't have the EFI folder.

    • @samuelliew4029
      @samuelliew4029 4 роки тому

      @@Herbertech What should I do if i don't have an efi folder?

    • @abeeralmusic
      @abeeralmusic 4 роки тому

      @@Herbertech I also don't have the efi folder what should i do??

    • @rohitchalak6379
      @rohitchalak6379 3 роки тому

      @@abeeralmusic check pinned comment

  • @rahulchakrabarty2858
    @rahulchakrabarty2858 4 роки тому +12

    sudo grub-install
    grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

    • @joaogomes850
      @joaogomes850 4 роки тому +3

      For those who got this error and have EFI computers, you just have to do what the fixed comment says.
      Just run the command:
      "sudo apt install grub-efi"
      and then run "sudo grub-install" again

  • @FredyDorado
    @FredyDorado 4 роки тому +4

    Thanks @The IT Guy and @Jim Texter (who added a comment in this video). This video was very useful for me, this works fine in pop os 19.10. However, I needed to do some additional tasks in order to solve the dual boot issue on pop os 20.04 (I have 2 ssd disks, one for Pop os and the other one for Windows 10). The following were all task that I did .
    >sudo apt update
    >sudo apt install os-prober
    >sudo os-prober
    >sudo apt install grub-efi
    >sudo update-grub
    >sudo grub-install
    If you want to customize some settings, please install (check this video for more details)
    sudo apt install grub-customizer
    Grub-customizer allows you edit /boot/grub/grub.cfg file
    After the above, please copy and paste all files from /boot/grub (only files) to /boot/efi/EFI/ubuntu (if there is not a ubuntu folder, please create it)
    Finally restart your system. It worked for me :D . I hope it will be useful for someone (I wasted a lot of time solving this problem !-_- )
    Again, thanks

    • @Herbertech
      @Herbertech  4 роки тому +1

      I uploaded a video explaining this yesterday, but thanks for sharing. :)

    • @Ovie2008
      @Ovie2008 4 роки тому +1

      It works for me. Many thanks. You are great..

  • @wranglerbaby182
    @wranglerbaby182 4 роки тому +1

    thanks bro i have been waiting for video like this

  • @estevaopimentel8710
    @estevaopimentel8710 3 роки тому

    I only got to a "grub minimal bash" screen, how can i solve it?

  • @abhinilbose24
    @abhinilbose24 4 роки тому +1

    Not working in Pop OS 20.04. Grub prompt appears instead of grub menu. Any workaround?

    • @Herbertech
      @Herbertech  4 роки тому +1

      I'm looking into it, will do an update when I get to play around with 20.04 a little bit. :)

    • @jimtexter3657
      @jimtexter3657 4 роки тому +4

      @@Herbertech I was able to get it to work with Pop-OS 20.04 by creating a ubuntu directory under /boot/efi/EFI/ubuntu. Copied the contents of /boot/efi/EFI/pop to /boot/efi/EFI/ubuntu. I also had to put a delay in grub-customizer so I had time to see the boot menu. Reboot. Now grub menu appears. I can select Pop OS or Windows.
      Whether I select Pop OS or Windows I receive an error "error: file /EFI/ubuntu/grubenv' not found. Press any key to continue...."
      press a key and Pop OS comes up with the login prompt. Possibly System76 didn't complete moving the grub changes under pop within the OS? This works for me. I also found if I don't press a key it will also timeout and proceed on into the OS selected. I hope it helps others.

    • @Herbertech
      @Herbertech  4 роки тому

      @@jimtexter3657 Thanks for the update, looking into making a video about it after I completed my Udemy courses. :)

    • @FredyDorado
      @FredyDorado 4 роки тому +3

      @@jimtexter3657 Thanks my friend. It was very useful for me, but I had to do some changes, please check me comment that I added in this video. In resume, first that all, I executed the following commands:
      >sudo apt update
      >sudo apt install os-prober
      >sudo os-prober
      >sudo apt install grub-efi
      >sudo update-grub
      >sudo grub-install
      After that I customized the grub config file using grub-customizer(check this video) and finally I did the same that you did but additionally, I copied and pasted all files from /boot/grub (only files) to /boot/efi/EFI/ubuntu , maybe this could solve your problem with "error: file /EFI/ubuntu/grubenv'
      Again, thank you

    • @sumnanazadi
      @sumnanazadi 2 роки тому

      @@FredyDorado "I copied and pasted all files from /boot/grub (only files) to /boot/efi/EFI/ubuntu" This solved the problem for me. Thanks.

  • @mauritsjacobse3179
    @mauritsjacobse3179 3 роки тому

    hey, i seem to be unable to use grub, im on pop os 21.04 and this method gets me into a command line for grub and not into the boot selecting page. any advice on how to fix it??

  • @EricSouzarys
    @EricSouzarys 4 роки тому

    Does it work on BIOS machine?

  • @jonsax6
    @jonsax6 4 роки тому

    How do you fix the "Minimal BASH Like Line Editing is Supported..." error. I do NOT get a menu, I get that text entry error, and have to boot back into bios to select the original pop os bootloader, thus complete failure of this method. Any suggestions?

    • @roshi61704
      @roshi61704 3 роки тому

      Same problem here except I have no default PopOS bootloader, thus I am unable to boot into PopOS lol

  • @Cedrikbr
    @Cedrikbr 2 роки тому

    Mine says install device isn't specified while doing sudo grub-install

  • @clutchSA
    @clutchSA 4 роки тому

    Hi guys
    When I run install grub efi. It runs but does not create an efi folder as in the video. I am running pop is 64 bit. My other distro is mint and also does not have an efi folder in boot. It was not dual booting but now it is after I was able to install the boot customizer and ran it without your tweaks b/c I did not have an efi folder. Thanks for the video. Somehow it solved my problem.

  • @arshaikh6488
    @arshaikh6488 4 роки тому +4

    If you are struggling to install grub than install rEFInd which is easy to install by just two pieces of code in terminal
    first type "sudo apt install refind" than a pop up will come between installation click yes.
    Than after type " sudo refind-install" and hit enter.

    • @tiagoriserio
      @tiagoriserio 4 роки тому

      Thanks, man! It worked perfectly.

    •  4 роки тому

      Thanks man, you saved me. :)

  • @bactanite
    @bactanite 4 роки тому +1

    sudo grub-install leads to grub-install: error: install device is not specified. Pop OS is AWFUL - not even grub works. I installed it because I bought an Nvidia card, but I'm thinking that maybe I should send it back and take my chance with AMD drivers!

    • @Herbertech
      @Herbertech  4 роки тому +1

      Maybe try to install sudo apt install grub-efi and try again first. And yes, Nvidia is a mess to get working in Linux in general so pop OS is a popular choice for that reason. :)

    • @fleetfoot9034
      @fleetfoot9034 4 роки тому +1

      I'm having the same issue. Ran 'sudo apt install grub-efi'. Tried this command and it seemed to work for now
      sudo grub-install --target=i386-pc --recheck /dev/sda

    • @bactanite
      @bactanite 4 роки тому

      I later tried both Ubuntu and Fedora, and the Nvidia card works great with both. The 2060 Super is much more powerful than the RX 580. However, my opinion of Pop OS is unchanged - it truly is AWFUL!!!!

    • @Volneilo
      @Volneilo 4 роки тому

      @@fleetfoot9034 , thank you! That worked for me on BIOS PC.

  • @kon.kartik
    @kon.kartik 3 роки тому

    i did everything but when booting it is showing a grub command line instead of grub bootloader 😢

  • @gaetanolampugnani8250
    @gaetanolampugnani8250 3 роки тому

    Terminal responds that sudo: grub: command not found after the command sudo grub-install

  • @The_Linux_User
    @The_Linux_User 4 роки тому

    My windows boot manager won't show up in grub customizer. It is on another hard drive though

  • @franciscotorresbta
    @franciscotorresbta 4 роки тому

    Hey, I followed your dual boot tutorial and It all was ok, the problem is that the partition is not displayed once I get into the boot menu, there is only the main partition that contians Windows, so I cant run pop os eve when its installed already, is this a common problem? Or did I do something wrong, and finally what could I do instead of just delet the partition from windows, I wanna get pop os to be ready to go. Thank you bro.

    • @Herbertech
      @Herbertech  4 роки тому

      So there is no POP OS boot entry in the boot menu either?

    • @franciscotorresbta
      @franciscotorresbta 4 роки тому

      No there is just this "KINGSTON [...] HDD/SSD" option, it works with UEFI by the way.

    • @Herbertech
      @Herbertech  4 роки тому

      I don't know if you ran my first or my last tutorial, but my latest has been updated to be easier and has more success.

    • @franciscotorresbta
      @franciscotorresbta 4 роки тому

      @@Herbertech The updated, I guess I'll try again, thank you.

  • @yoseph6456
    @yoseph6456 Рік тому

    Doesn't work. I only get the grub terminal.

  • @chanduaade392
    @chanduaade392 4 роки тому

    This not worked for me please help me if anyone has another methods

  • @KnowingWithShrish
    @KnowingWithShrish 4 роки тому

    Bro you're a life saver

  • @utkanklc6730
    @utkanklc6730 4 роки тому

    Thanks man really helpful

  • @servillanogerobin3306
    @servillanogerobin3306 4 роки тому

    dont why why there is a "!" for the /boot/grub/grub.cfg on the grub customizer. And there is no grub.cfg.. how can i fix this?

    • @Levelord92
      @Levelord92 4 роки тому

      same here. did you fix it?

  • @qqimage
    @qqimage 4 роки тому

    when i use sudo grub-install i get an error
    grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.

    • @Herbertech
      @Herbertech  4 роки тому

      Maybe the install is broken. Try googling for "sudo apt broken packages" and follow instructions.

    • @pett22v20
      @pett22v20 4 роки тому

      aneesh thunga's advise helped me i needed to sudo apt install grub-efi

    • @cerebralpalsynerd3331
      @cerebralpalsynerd3331 4 роки тому

      Before you type in sudo grub-install you need to type in sudo apt install grub-efi and run that command first.

  • @joseenrique1343
    @joseenrique1343 4 роки тому

    I have a problem I don't have the Ubuntu binder

    • @Herbertech
      @Herbertech  4 роки тому +1

      If you have POP OS 20.04, there is another guide coming for that.

    • @joseenrique1343
      @joseenrique1343 4 роки тому

      @@Herbertech i just read a post in reddit, when the system is booting you have to hold de spacebar, but windows doesn't appear but in the post is the solution

    • @joseenrique1343
      @joseenrique1343 4 роки тому

      @@Herbertech www.reddit.com/r/pop_os/comments/gjsr6r/psa_how_to_dual_boot_pop_os_with_windows_with_a/?

    • @Herbertech
      @Herbertech  4 роки тому +1

      I made a guide for 20.04, it's coming up this monday. :)

  • @ShlomiDavidson
    @ShlomiDavidson 5 років тому

    Great Video, Thanks.

  • @jhip6269
    @jhip6269 4 роки тому

    i get errors every time. you must not be showing the complete process or something

    • @Herbertech
      @Herbertech  4 роки тому

      I pinned a comment saying I accidentally cut out the install grub-efi command during the edit, it should work if you use that command too.

  • @ColeCraftAlpha
    @ColeCraftAlpha 4 роки тому +2

    When I enter Sudo grub-install it tells me install device not specified

    • @notexactlynikhil
      @notexactlynikhil 4 роки тому

      Yea the same thing happens with me

    • @SuperOnlyP
      @SuperOnlyP 4 роки тому

      run it first: sudo apt install grub-efi

  • @mikhaelmartin
    @mikhaelmartin 4 роки тому +2

    Doesn't work on pop os 20.04 for now.. For anyone dual booting and trying to install grub because you want to boot to windows. Actually you don't have to. Pop os installed with systemd-boot. It's similar with grub but it's hidden. You just need to press spacebar at boot then systemd-boot's menu will appear. You can choose which os to boot from there.

  • @alanGaMeRhorror
    @alanGaMeRhorror 4 роки тому

    Thanks

  • @Mohitkumar-fl7cy
    @Mohitkumar-fl7cy 4 роки тому +1

    Nasha karke video banate hoo ka, thank you bhai

  • @fabiandreamtheater
    @fabiandreamtheater 4 роки тому

    funciona ejecutando este comando sudo cp /boot/grub/x86_64-efi/grub.efi /boot/efi/EFI/pop/grubx64.efi

  • @martingrahan1437
    @martingrahan1437 2 роки тому

    Linux desktop is a PoS, all this time wasted just to boot lol... and with high chances to break everything, I mean if you are just playing with a VM is OK but if you use it to work sucks

  • @Niko-cb5xc
    @Niko-cb5xc 11 місяців тому

    Pop os is trash

  • @devilichus
    @devilichus 2 роки тому +1

    sudo add-apt-repository ppa:danielrichter2007/grub-customizer this part was missing and I had a bad day because of it.