grub rescue no such partition

Asked by Demar Bryan

My toshiba laptop will boot up to grub rescue. ubuntu was installed on the side of vista, but i can't boot into F2 or F12. the computer would just freeze. i was able to type ls and i get (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

please help me i do not have a vista cd nor ubuntu cd. all i have is a flash drive.. thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Larry Jordan (larryjor) said :
#1

      So I'm assuming you have a command prompt something like this:
grub>

      in which case you can use commands like 'ls', but have no windows to work from. Can you type 'find /boot/grub/stage1' and get a response that looks good? The result should show the location that grub was installed to, something like (hd0,0). If it does, you can set this as the root device using 'root (hd0,0)'. Having done this successfully, you should be able to write a bootable grub to the Master Boot Record using 'setup (hd0). If you want to write it to a partition instead, you would include the ',0' part (for first partition), but it won't boot that way.

Revision history for this message
Demar Bryan (dbryan223) said :
#2

i tried the "find /boot/grub/stage1" and it came back as unknown command

Revision history for this message
Demar Bryan (dbryan223) said :
#3

i tried the "find /boot/grub/stage1" and it came back as unknown command

Revision history for this message
Demar Bryan (dbryan223) said :
#4

i tried the "find /boot/grub/stage1" and it came back as unknown command

Revision history for this message
Demar Bryan (dbryan223) said :
#5

i tried the "find /boot/grub/stage1" and it came back as unknown command

Revision history for this message
Demar Bryan (dbryan223) said :
#6

i tried the "find /boot/grub/stage1" and it came back as unknown command

Revision history for this message
Larry Jordan (larryjor) said :
#7

     Really, I suppose I was hoping you were working with grub and likely you are working with grub2. Try these directions:

grub>find /boot/grub/core.img
grub>root (hdx,y) (previous command will output the x,y)
grub>kernel /boot/grub/core.img
grub>boot

     If that works, type sudo grub-install /dev/sda and it should install. If it does, recommend you make a text file showing how to do it and save it someplace you can find it - you can always read those using the 'more' command if it happens again. Would also recommend you get some kind of live CD as it is supposed to simplify this process.

Revision history for this message
delance (olivier-delance) said :
#8

Try reinstalling Grub2 with the following link:
      https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD
It fixes easily lot of issues.

Can you help with this problem?

Provide an answer of your own, or ask Demar Bryan for more information if necessary.

To post a message you must log in.