error: file `/boot/grub/i386-pc/normal.mod` not found.

I installed manjaro-kde-18.0.4-stable-x86_64.iso and restarted but got an error:

GRUB loading.
Welcome to GRUB!

error: file `/boot/grub/i386-pc/normal.mod` not found.
Entering rescue mode...
grub rescue> 

I tried to update grub in the liveCD but got the error:

/usr/bin/grub-probe: error: failed to get canonical path of overlay

Going through https://askubuntu.com/questions/266429/error-file-grub-i386-pc-normal-mod-not-found. I'll try to boot into the liveCD and run sudo grub-install /dev/sda1. Got

Installing for x86_64_efi platform.
grub-install: error: cannot find EFI directory.

Will try https://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows#88432.

This is for Ubuntu, so trying is risky without really knowing what I'm doing. However, I have already done so, and managed to update the grub file, but it only found a manjaro theme file and ubuntu, and still has the same error on booting.

Moved from Broadcom BCM43224 - Wifi not working.

I'll try going through https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader.

check under

inxi -Fxxx

bios or legacy or EFI

if EFI , check also

sudo ls -la /boot/efi
sudo cat /etc/fstab

It supports legacy BIOS and UEFI. I assume these instructions are while chrooted into the Manjaro system partition in the liveCD.

I ran sudo pacman-mirrors -f0 && sudo pacman -Syyu while booted into the live DVD, in order to install and run mhwd-chroot, 4 hours later the screen is off, laptop is not responding to any input, and the DVD is clicking away.

I doubt that leaving it running for longer will help, it should be done by now.

Going through Using livecd v17.0.1 as grub to boot OS with broken bootloader. No output for

grub> search.file /etc/manjaro-release root

There was some error about something like not being able to write to 0xc0 after

grub> configfile /boot/grub/grub.cfg

but it booted.
Got a bunch of GUID partition table header signature is wrong errors for sudo grub-install /dev/sda:

There are multiple manjaros:

On restarting I now see two manjaros in the UEFI BIOS

Ran

grub> linux /boot/vmlinuz-4.19-x86_64 root=UUID=$abc rw grub> initrd /boot/initramfs-4.19-x86_64.img grub> boot

I think I need to fix up the partition table:


then

I still got the same error as in the title, so I started again:


Steps 7 to 9 are fine.
I think I need to fix the partition table:

Will come back to this tomorrow, might just try installing afresh, moving the data partition or the data to a separate hard drive and installing over all existing partitions.

Some updates:

Output booted into OS and transferred to phone via mtp:

[jr@dl ~]$ sudo rm /boot/grub/grubenv
[sudo] password for jr: 
[jr@dl ~]$ sudo grub-editenv /boot/grub/grubenv
Unknown command `/boot/grub/grubenv'.
Usage: grub-editenv [OPTION...] FILENAME COMMAND
Try 'grub-editenv --help' or 'grub-editenv --usage' for more information.
[jr@dl ~]$ sudo grub-editenv /boot/grub/grubenv create
[jr@dl ~]$ sudo grub-editenv - set boot_success=0
[jr@dl ~]$ sudo grub-install /dev/sda
Installing for x86_64-efi platform.
GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
GUID Partition Table Header signature is wrong: 139e8811bbe5652 != 5452415020494645
GUID Partition Table Header signature is wrong: 0 != 5452415020494645
Installation finished. No error reported.
[jr@dl ~]$ sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
Found Ubuntu 18.04.2 LTS (18.04) on /dev/sda6
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[jr@dl ~]$ inxi -Fxz
System:    Host: dl Kernel: 4.19.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: KDE Plasma 5.15.2 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: Dell product: Latitude E6410 v: 0001 serial: <filter> 
           Mobo: Dell model: 0HNGW4 serial: <filter> UEFI: Dell v: A16 date: 12/05/2013 
Battery:   ID-1: BAT0 charge: 34.4 Wh condition: 34.4/48.8 Wh (70%) model: Samsung SDI DELL PT43699 status: Full 
CPU:       Topology: Dual Core model: Intel Core i5 M 560 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 21290 
           Speed: 1384 MHz min/max: 1199/2667 MHz Core speeds (MHz): 1: 1463 2: 1463 3: 1463 4: 1463 
Graphics:  Device-1: Intel Core Processor Integrated Graphics vendor: Dell Latitude E6410 driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.4 driver: intel unloaded: modesetting resolution: 1440x900~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 18.3.4 direct render: Yes 
Audio:     Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: Dell Latitude E6410 driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.19.28-1-MANJARO 
Network:   Device-1: Intel 82577LM Gigabit Network vendor: Dell Latitude E6410 driver: e1000e v: 3.2.6-k port: 7040 
           bus ID: 00:19.0 
           IF: eno1 state: down mac: <filter> 
           Device-2: Broadcom and subsidiaries BCM43224 802.11a/b/g/n vendor: Dell Wireless 1520 Half-size Mini PCIe Card 
           driver: wl v: kernel port: 7000 bus ID: 02:00.0 
           IF: wlp2s0 state: dormant mac: <filter> 
Drives:    Local Storage: total: 298.09 GiB used: 5.91 GiB (2.0%) 
           ID-1: /dev/sda vendor: Seagate model: ST9320423AS size: 298.09 GiB 
Partition: ID-1: / size: 133.11 GiB used: 5.90 GiB (4.4%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 8.19 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 52.0 C mobo: N/A sodimm: 46.0 C 
           Fan Speeds (RPM): cpu: 3265 
Info:      Processes: 186 Uptime: 3m Memory: 3.72 GiB used: 462.7 MiB (12.2%) Init: systemd Compilers: gcc: 8.2.1 Shell: bash 
           v: 5.0.0 inxi: 3.0.32 
[jr@dl ~]$ efi bootmgr -v
bash: efi: command not found
[jr@dl ~]$ efibootmgr -v
BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0005,0006,0001,0002,0000,0003,0004,0007
Boot0000  Diskette Drive        BBS(Floppy,,0x0)
Boot0001* Internal HDD  BBS(HD,,0x0)P0: ST9320423AS               .
Boot0002* USB Storage Device    BBS(USB,,0x0)
Boot0003* CD/DVD/CD-RW Drive    BBS(CDROM,,0x0)P1: TSSTcorp DVD+/-RW TS-U633J.
Boot0004  Onboard NIC   BBS(Network,,0x0)IBA GE Slot 00C8 v1381.
Boot0005* manjaro       HD(5,MBR,0x1d12e7a3,0x0,0x0)/File(\EFI\manjaro\grubx64.efi)
Boot0006* ubuntu        HD(5,MBR,0x1d12e7a3,0x0,0x0)/File(\EFI\ubuntu\shimx64.efi)
Boot0007  UEFI: TSSTcorp DVD+/-RW TS-U633J      PciRoot(0x0)/Pci(0x1f,0x2)/Sata(1,65535,0)/CDROM(1,0xf9e28,0x2000)
[jr@dl ~]$ sudo parted -l
Model: ATA ST9320423AS (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size    Type      File system     Flags
 1      1049kB  146GB  146GB   primary   ext4
 3      146GB   272GB  125GB   primary   ext4
 4      272GB   311GB  39.7GB  extended
 5      272GB   272GB  538MB   logical   fat32           boot, esp
 6      272GB   311GB  39.1GB  logical   ext4
 2      311GB   320GB  8790MB  primary   linux-swap(v1)


Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: Can't have a partition outside the disk!
Ignore/Cancel? Ignore                                                     
Model: TSSTcorp DVD+-RW TS-U633J (scsi)
Disk /dev/sr0: 2100MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      8385MB  8402MB  16.8MB  primary               esp


[jr@dl ~]$ sudo blkid
/dev/sda1: UUID="f551c71f-17a6-45c1-bf28-c0bd234b73c6" TYPE="ext4" PARTUUID="1d12e7a3-01"
/dev/sda2: UUID="f9fc9791-d4be-45b5-8434-f3718b3652fd" TYPE="swap" PARTUUID="1d12e7a3-02"
/dev/sda3: UUID="89ae1041-c29a-4a18-81ff-e3e757b20de0" TYPE="ext4" PARTUUID="1d12e7a3-03"
/dev/sda5: UUID="1E01-8DB7" TYPE="vfat" PARTUUID="1d12e7a3-05"
/dev/sda6: UUID="32f7f667-8a78-4dd2-ab7c-3badcc069612" TYPE="ext4" PARTUUID="1d12e7a3-06"
/dev/sr0: UUID="2019-03-12-09-50-33-00" LABEL="M1804" TYPE="iso9660" PTTYPE="dos"
[jr@dl ~]$ findmnt -s
TARGET    SOURCE                                    FSTYPE OPTIONS
/         UUID=f551c71f-17a6-45c1-bf28-c0bd234b73c6 ext4   defaults,noatime
/boot/efi UUID=1E01-8DB7                            vfat   defaults,noatime
swap      UUID=f9fc9791-d4be-45b5-8434-f3718b3652fd swap   defaults,noatime
[jr@dl ~]$ findmt /boot/efi
bash: findmt: command not found
[jr@dl ~]$ findmnt /boot/efi
TARGET    SOURCE    FSTYPE OPTIONS
/boot/efi /dev/sda5 vfat   rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro
[jr@dl ~]$ 

Again:

Will come back to this tomorrow, might just try installing afresh, moving the data partition or the data to a separate hard drive and installing over all existing partitions.

Nice blogging..
Do you need any help with writing?...

I suggest you stop doing random things, since you have troubles and wait for some help.

Tip:

You cannot have UEFI installation on MSDOS/MBR disk partitioning.

Alright, I'll try installing via the Live DVD in the legacy boot. After pressing enter for this option the optical drive whirs for a while with a flashing underscore in a tty for a couple of seconds and then I just get a blank screen. I then used a live USB via legacy boot and that went into the boot script, and then login. I'll try installing. I clicked the "Launch installer" button and nothing happened.

Some discussions go on here:

Okay. I guess I'll just use Ubuntu for the mean time as suggested by tbg above.

I installed Ubuntu after moving my data to an external hard drive, erasing the disk, then installed Manjaro KDE with encryption and LVM, and was able to boot into it with WiFi working, but had to select Manjaro in the boot options under UEFI. I had to enter the password to decrypt. On rebooting to check if I had to enter it each time, I just got a flashing underscore prompt when leaving to boot by default. So I changed the boot options to choose UEFI and now it boots to Manjaro by default, but I need to enter the password to decrypt each time.

I'll leave that as is but then choose to log in automatically.

Successfully installed with Manjaro KDE Stable 18.0.4.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.