LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oops! Can't boot, I think it's a partition problem? (https://www.linuxquestions.org/questions/linux-newbie-8/oops-cant-boot-i-think-its-a-partition-problem-4175500999/)

prb123 04-08-2014 12:25 PM

Oops! Can't boot, I think it's a partition problem?
 
2 Attachment(s)
Hello everybody

Yesterday I was adjusting my partitions (using gparted under Linux Mint) and I think I screwed things up. This morning, when I pressed the power button, I saw the familiar screen where it asks me to enter my hard drive password at the bottom, as you can see below:

Attachment 15191

So, I entered my password, expecting to go to the grub screen where I choose from one of three Linux distributions. But I saw the following message instead:

Attachment 15192

I've heard about grub, but I don't know the first thing about it. I do understand that it has something to do with choosing the operating system when I'm first booting up.

What should I say to enter grub rescue, and then what should i do once I am in there?

Or, do I have to re install Linux Mint, or do I need to reinstall all three of the Linux distributions? Or, heaven forbid, do I have to reformat and start everything all over again? Fortunately, all of my important data is stored in the cloud.

Please help, and have a great day!

yancek 04-08-2014 04:24 PM

Quote:

Yesterday I was adjusting my partitions (using gparted under Linux Mint) and I think I screwed things up.
I think you're right and the message you got would seem to confirm that. What adjustments were you making? If you've changed, moved or deleted partitions that would explain the problem. What are the three operating systems you are using? and which one has the bootloader in the mbr, Mint? or one of the others?

Probably the best thing to do to get information is to google 'bootinfoscript' and go to its page, read the instructions then download and run it from a Linux system (Live CD will do) then post the output, a results.txt file here with the information.

selfprogrammed 04-08-2014 05:57 PM

Anytime partitions are moved (adjusted) you have to run the boot loader install program (LILO, GRUB) so it can save the appropriate disk locations in its boot sector.

From Ubuntu: https://help.ubuntu.com/community/Grub2/Troubleshooting
A common reason for the grub rescue> prompt is an incorrect path to the grub folder. Reasons for the prompt also include a failure to update GRUB 2 after certain system or partition operations, improper designation of the grub folder location, missing linux or initrd.img symlinks in /, or a failed installation.

GRUB has the ability to recover from most mistakes using the GRUB rescue commands.
Print these out and save them somewhere.
It can list and search the partitions.

TroN-0074 04-08-2014 06:19 PM

It will be helpful to know what OS is controlling the bootloader. Often is the one that was installed last. Once you know that you can boot a live session (CD or DVD) of that OS, chroot that partition and re install GRUB.

If you have LinuxMint controlling the bootloader or Ubuntu you can boot the live session, install the grub repair tool on the live session and run the tool then reboot the computer.

Here is the link that explain how to https://help.ubuntu.com/community/Boot-Repair

Once it is fixed leave your partitions alone.


All times are GMT -5. The time now is 07:56 PM.