Grub error "/boot/grub/i386-pc/normal.mod not found" in Kvm
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Grub error "/boot/grub/i386-pc/normal.mod not found" in Kvm
Hi,
I just installed Kvm (through Docker) in a machine running Deepin.
When Kvm boots it goes to grub-rescue with the following error message: "error: file /boot/grub/i386-pc/normal.mod not found".
I googled the problem and all answers center on checking if root is correct (it is,since there is only one partition), setting prefix correctly (which is now "(hd0,msdos1)/boot/grub) and typing "insmod normal" - "normal".
The problem is, even after checking, when I type "insmod normal", the error message appears again.
I did "ls /boot" to see what was in there, and /boot is empty.
I read in another forum that this could be solved by: "cp -r /usr/lib/grub/i386-pc /boot/grub", but I have no idea how to do that in a vm, or if its even possible.
Device Boot Start End Blocks Id System
/dev/sda1 1 1 8001 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda2 * 1 17 128520 83 Linux
Warning: Partition 2 does not end on cylinder boundary.
/dev/sda3 17 82 522112 83 Linux
Warning: Partition 3 does not end on cylinder boundary.
/dev/sda4 82 60802 487733400 83 Linux
Warning: Partition 4 does not end on cylinder boundary.
AwesomeMachine - I already read it but it didn't help. I looked for "/i386-pc/normal.mod" as suggested, but couldn't find it, but as the vm created only one partition (the output of "ls" in grub rescue was "(hd0), (hd0, msdos1))", I think there is no other possibility but to be on hd0,1. I set the prefix to (hd0,1)/boot/grub and root to (hd0,1), but, as there is nothing inside boot, it didn't help.
That refers to the host. When I answered Keruskerfuerst, I took the information from the host, since I had already explained that in the vm I was in grub-rescue mode and unable to collect the asked information.
The fstab and fdisk output from the host machine won't be helpful. When you see the grub prompt when trying to boot in the virtual machine and run the following do you see the grub directory? If you add grub to the command, do you see any files?
The normal answer would be to boot from a live iso, chroot into the system, install grub with package manager if not installed and then install grub to drive. However, because your running kvm from docker, I suspect you will have to pass parameters to the container when starting, but I don't know what they would be. Some one smarter than me will have to chime in on this one.
Last edited by colorpurple21859; 05-22-2018 at 08:01 AM.
I recently had this problem after installing Linux Mint onto a HDD on a Dell laptop (not shared with any other OS). After the installation had completed (with no errors) it would not boot into the new OS, just came up with the “/boot/grub/i386-pc/normal.mod" not found GRUB error message.
I entered the Bios setup (F2 at powerup) and changed the SATA mode from AHCI to IDE mode, ignoring the warning about maybe making the HDD unreadable, and after saving & exiting the setup menu it booted into Linux Mint with no further actions needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.