Uh oh! Can't boot. normal.mod not found

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Uh oh! Can't boot. normal.mod not found

Post by SteveD » Wed Feb 07, 2018 7:24 pm

I have Linux Mint 18.3 Cinnamon on my other machine. All was going well but then today I installed some level 4 update from Update Manager. I forget what it was.
I restarted my computer and now it won't boot!
It get this:
error: file 'grub/i386-pc/normal.mod' not found
Entering rescue mode...
grub rescue>
Any ideas how I heal my Linux Mint from here?

Thanks in advance.

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Wed Feb 07, 2018 8:13 pm

I found the following on a different thread, but it didn't work for me:

Code: Select all

grub rescue> set prefix=(hd0,msdos1)/boot/grub
grub rescue> set root=(hd0,msdos1)
grub rescue> insmod normal
grub rescue> normal
grub rescue> insmod linux
grub rescue> linux /vmlinuz root=/dev/sda1
grub rescue> initrd /initrd.img
grub rescue> boot
After I type insmod normal it throws up a message saying normal.mod not found.

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Wed Feb 07, 2018 9:01 pm

Hello SteveD Image

Welcome to Linux Mint and the Linux Mint forum :)

It's not easy dong anything from the grub rescue prompt so boot the installation media and mount the linux partition to /mnt so we can have a look at the /boot folder.

If you don't know how to do that then paste back sudo blkid from the live session to locate your linux partition.
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Wed Feb 07, 2018 9:16 pm

Thanks Wharf Rat!

OK, I booted the install media and mounted the partition.

I can see the grub folder. Curiously, I can see the normal.mod file exactly where it is supposed to be in \grub\i386-pc\

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Wed Feb 07, 2018 9:26 pm

Then it's a mystery as to why it's not being seen.

Do you know if you're running an EFI system or legacy BIOS :?:

If you're not sure [ -d /sys/firmware/efi ] && echo "Currently in EFI mode" || echo "Currently in Legacy mode" in the terminal.

Also you shouldn't have a /mnt/boot/efi folder.
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 8:28 am

I should rewind a step because I may have been inadvertently misleading in my previous post.
My drive was divided up into different partitions when Linux was installed:
/dev/sda1 which is a partition of 511mb in size. It is a Linux bootable partition containing EXT2
/dev/sda5 which is a LUKS partition of 120GB
/dev/sda2 which is an extended partition of 120GB

In sda1 there is no folder called Boot or Mnt. The only folder in there is called Grub. Within the Grub folder there are three other folders called i386-pc, fonts and locale. Within the i386-pc folder is where the normal.mod file is.

In the root of sda5 I have a Boot folder and an Mnt folder (plus lots of others) but they are both empty. Presumably that is normal because I have a separate boot partition?

To answer your question about EFI, my BIOS is UEFI capable, but I have legacy mode enabled. When I ran the command you gave, it responded with "Currently in Legacy mode"

There are no EFI folders in the sda1 boot partition that I can see, nor in sda5.
In dev/sda1/grub/i386-pc/ there are a couple of files called efiemu.mod and also efiemu32.mo. Don't know if that is relevant to your question.

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 10:05 am

From what you described you have a normal encrypted setup.

Try reinstalling grub from a chroot

Boot the mint live media, then open the terminal and carefully enter the following:

Code: Select all

sudo -i
/sbin/cryptsetup luksOpen /dev/sda5 crypt
mount /dev/mapper/mint--vg-root /mnt
mount /dev/sda1 /mnt/boot
mount -t proc none /mnt/proc
mount --rbind /sys /mnt/sys
mount --rbind /dev /mnt/dev
/usr/sbin/chroot /mnt /bin/bash
source /etc/profile
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](system) #\[\e[0m\] "
/usr/sbin/grub-install /dev/sda
/usr/sbin/update-grub
exit
reboot
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 1:00 pm

Thanks for the information.

The terminal commands go okay until I get to /usr/sbin/grub-install /dev/sda then I get the following error:

Code: Select all

chroot to ->(system) # /usr/sbin/grub-install /dev/sda
Installing for i386-pc platform.
grub-install.real: error: cannot open `/boot/grub/i386-pc/ahci.mod': Unknown error 4094.

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 1:33 pm

From within the chroot paste back ls -lhd /{boot,boot/grub,/boot/grub/i386-pc}
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 1:37 pm

Code: Select all

chroot to ->(system) # ls -lhd /{boot,boot/grub,/boot/grub/i386-pc}
drwxr-xr-x 4 root root 3.0K Feb  7 14:12 /boot
drwxr-xr-x 5 root root 1.0K Feb  8 16:21 /boot/grub
drwxr-xr-x 2 root root 9.0K Feb  8 16:20 //boot/grub/i386-pc

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 1:44 pm

What about ls -lh /boot/grub/i386-pc
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 1:47 pm

Code: Select all

chroot to ->(system) # ls -lh /boot/grub/i386-pc
total 0

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 1:53 pm

Are you sure /boot is mounted :?:

Are you sure you're in the chroot :?:

What does mount|grep ^/dev return

Open another terminal and ls /mnt/boot/grub/i386-pc

I'll be back in about a half hour...
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 2:19 pm

Are you sure /boot is mounted :?:
According to disk manager it is mounted.
Device /dev/sda1/
Parition type Linux (Bootable)
Contents Ext2 (version 1.0) — Mounted at /mnt/boot

Are you sure you're in the chroot
I believe so. In the terminal I have yellow and red text saying chroot to ->(system) #

Code: Select all

chroot to ->(system) # mount|grep ^/dev
/dev/mapper/mint--vg-root on / type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /boot type ext2 (rw,relatime,block_validity,barrier,user_xattr,acl)
When I type in ls /mnt/boot/grub/i386-pc into the other terminal window and hit enter it doesn't give me any feedback. Or should I be in chroot for the new terminal window as well?

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 2:40 pm

Do you have any files in ls -lh /usr/lib/grub/i386-pc/|wc -l

Is this package installed apt show grub-pc-bin|grep State
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 2:48 pm

Do you have any files in ls -lh /usr/lib/grub/i386-pc/|wc -l
286
Is this package installed apt show grub-pc-bin|grep State
It says WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 3:01 pm

That warning doesn't help us here :?

What does dpkg -l|grep grub return :?:
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 3:09 pm

That warning doesn't help us here :?
Oh dear!

Code: Select all

mint@mint ~ $ dpkg -l|grep grub
ii  grub-common                           2.02~beta2-36ubuntu3.14+linuxmint1           amd64        GRand Unified Bootloader (common files)
ii  grub-gfxpayload-lists                 0.7                                          amd64        GRUB gfxpayload blacklist
ii  grub-pc                               2.02~beta2-36ubuntu3.14+linuxmint1           amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin                           2.02~beta2-36ubuntu3.14+linuxmint1           amd64        GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii  grub2-common                          2.02~beta2-36ubuntu3.14+linuxmint1           amd64        GRand Unified Bootloader (common files for version 2)
ii  grub2-theme-mint                      1.1.0                                        all          Grub2 theme for Linux Mint
mint@mint ~ $ 

User avatar
WharfRat
Level 20
Level 20
Posts: 11692
Joined: Thu Apr 07, 2011 8:15 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by WharfRat » Thu Feb 08, 2018 3:18 pm

Alright, it comes down to the Hail Mary approach.

Enter these

Code: Select all

cd /boot/grub/i386-pc
cp -a /usr/lib/grub/i386-pc/* .
exit
reboot
After copying the files it will reboot so let it reboot normally - cross your fingers...
ImageImage

SteveD
Level 1
Level 1
Posts: 19
Joined: Wed Feb 07, 2018 7:11 pm

Re: Uh oh! Can't boot. normal.mod not found

Post by SteveD » Thu Feb 08, 2018 3:30 pm

OK, I'll try it now.
If it doesn't work I'm calling in a priest with some holy water...

Post Reply

Return to “Newbie Questions”