1

I recently tried to resize my partition with Ubuntu 16.04 on it, and now cannot boot. I got the "boot repair disk" (https://sourceforge.net/p/boot-repair-cd/home/Home/) and tried the recommended settings.

It asked me to reinstall the Grub, and I did so, and now the Grub won't even show up! I have been dual booting with Windows 10 and was previously able to boot to that, but now the Grub does not even work! I'm not just trying to get Windows 10 to work, I'm trying to get Ubuntu to work. I have all my program files and other stuff, so if you know how to isolate them from the problem files, and reinstall Ubuntu, I'd be happy.

When I try recommended settings it gives me the followng error : Please enable a repository containing the [grub2] packages in the software sources of Ubuntu 16.04.1 LTS (sda5). Then try again.

Also here is my boot info summary from boot repair : paste.ubuntu.com/23546988/

Is there any other way to reinstall the Grub? Please help!

2 Answers2

0

Actually this problem is depend on laptop company also. But don`t worry, Just press 'Ctrl+Alt+Del' it will restart then while restarting continuously press F2 or F12 then you will enter into the doss then there is option to change the system configure....

Basically now days all laptops having UEFi and CSM option in the doss. for windows you can select UEFI in system configuration and for Ubuntu CSM. but UEFI is having secure boot ooption...

0

Fixed!

I used a series of root commands from live Ubuntu 16.04 LTS and completely replaced the etc directory in my normal folder with that of my live Ubuntu. I was then able to reinstall the Grub, (because it had the repository files again) and boot up.

My user was corrupted, so I made a new root user, from recovery mode, and moved my personal files there.