Work commands in the rescue of maggots

Maggot rescue call, repair maggots

I recently repartitioned my hard drive and damaged GRUB on my system. When I boot up, I get the GRUB rescue prompt and I have to do the following to boot normally:

(These steps were found in another post here!).

I am very tired of repeating this on every boat. How do I fix GRUB permanently?


To fix maggot rescue, do the following:

  • First of all, we don't have to start our operating system until we can repair grub.

    When you see such an error, the first thing we need to do is check that "Filesystem" is ext2. '

These are our drives. Now we need to check which is ext2.

Look for another drive until you get "Filesystem is ext2".

Now set the path

  • Now just fix grub by following the command on an Ubuntu

Make sure you need to update grub after logging into the operating system

I would try to run to / rebuild.

You can try, but I don't think this will help.

If you want to learn more, first check which version you have (GRUB 1 or 2) by running:

If you have GRUB 2, you can use the following tutorial:

Of course, be careful with GRUB as it is the boot process, which is a sensitive mechanism.

It seems to me that the reassembles, but you also need to run (again) (right?) To update the MBR / Boot sectors with the basic information - on which partition to find the file and apparently these modules.

If you receive a GRUB rescue request, it means that the GRUB boot loader cannot find its modules in the partition that contains them. This is because the code that fits into the drive's MBR record is tiny. Hence, its main purpose is to locate and load the rest of the bootloader code. Once the modules are loaded, the GRUB menu can be displayed and the rest of the startup process can be performed. If the modules are not found, a very limited rescue prompt is displayed.

So what you see is perfectly normal if you have repartitioned, which breaks the reference that the boot loader had to the partition with the boot modules.

Since you can boot manually, the simplest solution is to manually boot and reinstall the boot loader in the MBR so that it has the correct reference to your partition. The way to do this is:

This assumes that you are booting from (in most cases, if not, replace it with the correct drive).

This solution is a lot simpler than using the, but if you're not sure, this might be a better option.

The easiest way would be:


Solve the Ultimate Case of a Grub Rescue Failure: Problems: 1. i386-pc not found **** normal mode does not work, cp works Not . Search.file does not work . All can be solved with the following commands, works with Ubuntu 18.04 too. Step 1: Find the root folder with the directory.

For example, if the root folder is in (hd0, gpt4), enter the following

You will see some files or folders:

If you're lucky, here's what to do:

If you are lucky, it will solve your problem. Sometimes people have problems like 1386-pc cannot find folder. In this case, you need to look where your grub folder is located. If you have a problem like:

In this case you need to find the grub2 folder. If you have grub2 and you are in this folder, you could have your i386-pc folder. Then you have to enter

it will work. If you don't have grub2 and couldn't find the i386-pc folder, do the following:

After you run this command, your grub rescue mode will switch to the Pit Menu. Now you can run the Linux command.

Linux command

You will enter the recovery mode. From there, you can choose from the various recovery options available. If it doesn't help, you'll need to download an Ubuntu operating system, such as Ubuntu 18.04. You can download it from the following link: Ubuntu Link

Create a bootable drive and open your computer with this Live CD. It won't harm any of your documents. Watch a video about it. Now you need to find your i386-pc folder. It will be in

Now copy the i386-pc into the directory boot / grub /. You may have a permissions problem to overcome this type. To do this, run the following command:

Now right click on this directory and change the owner to Ubuntu Live Session users

Follow the video: Change of permissions

Now after pasting it into the boot / grub folder, restart it and remove the USB drive. This time use the first Instruction set, it will work. When the command cp works, you can also do this from the grub menu.

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By continuing, you consent to our use of cookies and other tracking technologies and affirm you're at least 16 years old or have consent from a parent or guardian.

You can read details in our Cookie policy and Privacy policy.