LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grub rescue> (https://www.linuxquestions.org/questions/linux-newbie-8/grub-rescue-926163/)

UserName111 01-28-2012 09:03 AM

grub rescue>
 
Hello Alltogether,

I've a problem with my computer(dual boot win7 and ubuntu11).

I resized the windows-system-partition and a NTFS-data-partition, with the windows-standard tool. After the next reboot the grub loader started with:

error: no such partition.
grub rescue>

After a bit of research I tried to find the right partition with the grub directory:
grub rescue>ls
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
grub rescue>ls (hd0,msdos1)
error: unknown filesystem

for all partitions that are listed with 'ls' the same respond.
something like "error: no such file" should be the correct
respond for an accessible partition.

The prefix and root is set to:
grub rescue>set
prefix=(hd0,msdos6)/boot/grub
root=hd0,msdos6

I tried to set it to any other partition but after a reboot the prefix and root is still on hd0,msdos6; but this don't exist.

Recognized grub commands are: ls/set/unset/insmod , and the prefered answer is:
error: unknown filesystem

I also tried to boot from CD. But this don't work neither with the win7 or the ubuntu CD.

So it looks like I crashed the machine.
Please help me.

LinuxNoobX 01-28-2012 09:56 AM

If you don't care about losing data u can use UNetbootin and Parted Magic to completely format your drive in NTFS and install win 7 again and then do the dual boot again.

I had the grub rescue error before when I accidentally deleted a Linux partition with the disk manager in win7. Z/Z

Larry Webb 01-28-2012 10:10 AM

When you resized your windows partition you may have corrupted your ubuntu / partition or changed the mapping. The easiest repair would be to reinstall ubuntu and make sure to select the right partitions to install. Also backup any data you want to save on the ubuntu now on your h/d.

UserName111 01-28-2012 10:38 AM

Hey,

thanks for help.
@LinuxNoobX: I'm reading about the UNetBootIn, I never needed to boot via usb-drive.

@Larry: The main problem is that no CD/DVD is recognized for booting.

All important data was saved on another drive. So it's just the annoying reinstallation.
The win7 system runs for 2 years, the system partition was full. I needed to uptdate a programm, thats why i tried to resize the partitions. win7 is a hd-space-greedy-thing, you give 30GB and it needs 31GB, you try it with 40GB and after to weeks it needs 41GB.

I'm going to boot via usb and hope it will work.

thanks

LinuxNoobX 01-28-2012 10:55 AM

You notice if you look in the windows folder for win 7 after about a year of using it that there are alot of .sxs files that account for why windows 7 bloats up so much. These files also help the OS run more smoothly as well... so it's a good trade off. I am glad we were able to help :) Z/Z

UserName111 01-28-2012 03:15 PM

the installation of a new ubuntu system via usb-key worked fine.

thanks

mesamoo 04-15-2012 06:37 PM

That is not solved, that's ignored.
To be considered solved you must find a solution. All you did was put off learning.

I had a similar problem and had great hopes when, in my search, I found your "SOLVED" thread.
All you did was completely trash your install, (basically used the windows XP/macOS method of boot repair)

BTW to solve this issue, I suggest trying
Rescatux or Super Grub2 Disk
http://www.supergrubdisk.org/
It takes some reading (less time than I spent on the actual search), but worked for me.
I created a rescatux bootable usb, then used the process as described on their website.

I did not have to re-install any of the 3 operating systems affected by my error.

SOLVED

Larry Webb 04-16-2012 05:24 AM

Quote:

Originally Posted by mesamoo (Post 4653566)
That is not solved, that's ignored.
To be considered solved you must find a solution. All you did was put off learning.

It would appear to me he solved his problem.

Quote:

I had a similar problem and had great hopes when, in my search, I found your "SOLVED" thread.
All you did was completely trash your install, (basically used the windows XP/macOS method of boot repair)

BTW to solve this issue, I suggest trying
Rescatux or Super Grub2 Disk
http://www.supergrubdisk.org/
I might consider those methods a crutch, there are great tutorials if you wish to undo what went wrong.
Quote:

I did not have to re-install any of the 3 operating systems affected by my error.
A lot of times it is easier for one person to replace while another wants to adjust or repair.

nikzzee 10-11-2012 11:46 PM

hey thank you,
@LQ Newbie i read your thread and it was very helpful to me..but i have a doubt can i copy ubuntu from cdrom to pendrive and then install it?wil it work??
and because of this will my data in win & will b deleted?

receivet 02-01-2013 11:23 AM

Alternative method needs 5 min and windows repair disk or hiren's boot cd.

Hello everyone

HOw i solved Grub Rescue Error,,

I had got this error many times ,, . like you said that windows or ubuntu cd didn;t work..

here you will need a hiren boot cd and 5 min of your time.

Step 1
use the windows repair disk or hiren's boot cd to enter into the repair mode of your computer

Step 2

use the command prompt and enter the following command bootrec /fixmbr and hit enter.

Step 3
Restart your computer and the problem is gone.

Source Reference

For detail step by step instruction you may refer
<moderated>


All times are GMT -5. The time now is 10:37 PM.