POP OS! Grub

Ram08

New Member
Joined
May 31, 2022
Messages
1
Reaction score
0
Credits
11
I have been using PopOS! for more than 6 months. But this problem never came with me .Please help
16540085761709027695531302595791.jpg
 


Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,760
Reaction score
1,175
Credits
13,099
what you need to do is to reinstall grub.

Boot in to the live Linux USB.
You need to find out if your system uses EFI or BIOS. To do that, open the terminal and use the following command to list your partitions:
Code:
sudo fdisk -l
Mount the root partition first. I am using /dev/sda2 for root but you should change this with what you have on your system:
Code:
sudo mount /dev/sda2 /mnt
If you have EFI system, mount that partition as well:
Code:
sudo mount /dev/sda1 /mnt/boot/efi
Now, the next step is to finally install grub for UEFI system like this:
Code:
sudo grub-install --boot-directory=/mnt/boot --bootloader-id=ubuntu  --target=x86_64-efi --efi-directory=/mnt/boot/efi
Restart PopOS using this command:
Code:
shutdown -r now
_______________________________________________________________

Installing grub on non-EFI system is even easier.
Mount the root partition of Linux:
Code:
sudo mount /dev/sda1 /mnt
And then install grub:
Code:
sudo grub-install /dev/sda
Reboot and it should be fine.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top