LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2012, 09:03 AM   #1
UserName111
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 01-28-2012, 09:56 AM   #2
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Rep: Reputation: 2
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
 
Old 01-28-2012, 10:10 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
 
Old 01-28-2012, 10:38 AM   #4
UserName111
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 01-28-2012, 10:55 AM   #5
LinuxNoobX
Member
 
Registered: Jan 2012
Location: Evermore
Distribution: Linux Mint 12
Posts: 165

Rep: Reputation: 2
Wink

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
 
Old 01-28-2012, 03:15 PM   #6
UserName111
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
the installation of a new ubuntu system via usb-key worked fine.

thanks
 
Old 04-15-2012, 06:37 PM   #7
mesamoo
LQ Newbie
 
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
Exclamation

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
 
Old 04-16-2012, 05:24 AM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by mesamoo View Post
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.

Last edited by Larry Webb; 04-16-2012 at 05:25 AM.
 
Old 10-11-2012, 11:46 PM   #9
nikzzee
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Unhappy

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?
 
Old 02-01-2013, 11:23 AM   #10
receivet
LQ Newbie
 
Registered: Feb 2013
Location: india
Posts: 1

Rep: Reputation: Disabled
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>

Last edited by colucix; 02-12-2013 at 02:10 PM. Reason: Driving traffic to your own blog/site is not allowed at LQ.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
[SOLVED] Recurring Grub rescue mode after update-grub harris4got Linux - Software 6 04-23-2012 09:30 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 07:56 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration