4

I had a problem with my grub, it didn't recognize my OS, I have installed windows, ubuntu and kali. But then I tried to use Boot repair in a ubuntu live cd, and then I got to type.

sudo chroot "/mnt/boot-sav/sda10" apt-get purge -y --force-yes grub*-common grub-common:i386

but when I typed that , a trouble appear that said.

E: Unable to locate package grub-common:i386

then I click forward button , but boor repair didn't let me to go to the next steps.

can u help me to fix this problem ?

thank you so much.

Note: I have a UEFI.

http://paste.ubuntu.com/16121828/

2 Answers2

3

if you're using Ubuntu 64bit. Using the following command (Change i386 library to amd64):

sudo chroot "/mnt/boot-sav/sda10" apt-get purge -y --force-yes grub*-common grub-common:amd64

It will work.

thangdc94
  • 950
0

To expand on oldfred's comment, it does look like you've got EFI-mode installs of both Ubuntu and Windows; however, the Boot Repair message you quote implies that it was running in BIOS mode. Mixing boot modes (BIOS/CSM/legacy vs. EFI/UEFI) is seldom a good idea. In your case, it's best to enter your firmware setup utility and disable the Compatibility Support Module (CSM), which is what gives EFI firmware the ability to run old BIOS-mode boot loaders. Doing this should reduce the odds of accidentally doing what you seem to have done. An EFI-mode run of Boot Repair should complete correctly and get things working. For more on the CSM and how it can cause problems, see my Web page on the subject.

Rod Smith
  • 45,120
  • 7
  • 66
  • 108