3

I installed ubuntu over a W8 installation (my objective was that only ubuntu remains), the installation completed well and ask to reboot, after that, it only gives me a black screen and

grub rescue>

appeared on the screen. I tried to follow the guide from here: Fixing GRUB error: “error: unknown filesystem” I was capable of finding the .mod files, but a series of issues emerges.

*If found the files in (hd0,gpt5), is the "gpt" a concern??? * after setting

set prefix=(hd0,gpt5)/boot/grub

and trying to load the module

insmod normal

computer says:

error: file '/boot/grub/x86_64-efi/normal.mod' not found

I dont know why it adds the extra 'x86_64-efi' in the directory. Given that the solution doesnt work, I tried loading the module with the complete directory:

insmod (hd0,gpt5)/boot/grub/normal.mod

But this time computer says "invalid arch-dependent ELF magic". I havent been myself capable of advance more than this on my own, please help.

UPDATE

I was capable of run "try ubuntu" from the live usb, I can see all my partitions, the partition with the ubuntu files, the partition with all my data, I would only like to know how to make that ubuntu starts on reboot, nothing else, please help.

2 Answers2

2

UPDATE:

The solution finally came by using boot repair as suggested by other threads. The recommended changes work well for me, now I have another smaller issues, but I going to start another question, because it seems to me that it is an unrelated problem. Thanks everyone for your help.

1

Before the install choice by Ubuntu installer is the UEFI menu on booting installer. It should have two choices, UEFI and BIOS, but descriptions are not always clear on which is BIOS or UEFI. If you install on gpt partitioned drive then you have to have an efi partition to boot in UEFI mode or a bios_grub partition to boot in BIOS mode.

Some can manually boot, change example of gpt8 to the partition with your install.

/boot/grub/i386-pc/normal.mod not found Not booting in UEFI mode Manual boot works

set root=(hd0,gpt8)
set prefix=(hd0,gpt8)/boot/grub
insmod linux
linux /vmlinuz root=/dev/sda8 ro
initrd /initrd.img
boot

Or:

configfile (hd0,gpt8)/boot/grub/grub.cfg

found that putting grub.cfg into /EFI/ubuntu works, even when grubx64.efi is in /EFI/Boot

IF that does not work post BootInfo. Post the link to the Create BootInfo report. Is part of Boot-Repair:

https://help.ubuntu.com/community/Boot-Info

Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:

https://help.ubuntu.com/community/Boot-Repair

You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration and diagnose advanced problems.

oldfred
  • 12,583