error: file '/grub/i386-pc/normal.mod' not found.
grub rescue>
What can I do? I just sit and stare at it.
I found my old netbook (Dell Inspiron 1010) which I have not used for about four years. I replaced Windows XP with Ubuntu 12.10. I used my bootable USB drive. I installed and rebooted. I got the message that normal.mod is not found.
What should I do? Type exit, reboot, or quit? Should I re-install?
Best Answer
Grub has a small core image that is loaded at boot time. The core image dynamically loads modules which provide further functionality.
i386-pc/normal.mod not foundindicates that grub can not load normal.mod, which is a grub module that provides the normal command. To load normal.mod you need to tell grub where it is. To do this you can use the grub command-line (aka Rescue Console). Grub will start the command-line if there is a problem booting, or you can start it manually by holding the shift key as grub starts (to force show the grub menu), and then pressing the 'c' key.Using grub you can explore the drives, partitions, and filesystems. You need to:
Example
The following is just an example. You will need to adapt it to your local drive and partition setup.
where is normal.mod? look in some likely locations
If you get
"Unknown command 'search.file'"this means that the search.file command is not available. This is probably because you are at thegrub rescue>prompt and notgrub>prompt. In this case you can still carry on and use thelscommand and your knowledge of your partition layout to findnormal.mod.found it at (hd0,msdos1)
why did grub not find it?
check $prefix - absolute location of the grub directory
(this is set when grub is installed by grub-install)
check $root - default device for paths that do not include a device
grub initially sets this to the device from $prefix
root and prefix are pointing to the wrong partition (hd0,msdos2)
set $root and $prefix to the partition where we found normal.mod (hd0,msdos1)
load and run normal module
Some other commands that may be helpful
ls list all devices and partitions
ls partition
ls filesystem (note / at end)
look inside /boot/grub
presence of i386-pc directory means this is a BIOS install
presence of x86_64-efi directory would indicate an EFI install
searchorsearch.filecommands are not recognised set$prefixcorrectly and then doinsmod search, forlsdoinsmod lsetc. Runfind /boot/grub -name *.modon a working Linux install to see all of the dynamically loaded Grub modules.