Results 1 to 2 of 2

Thread: error: no such partition grub rescue>

  1. #1
    Join Date
    Jul 2012

    error: no such partition grub rescue>

    I had dual boot with linux and win7. I tried to format c drive to install win7 but I ended up in a black screen giving me:

    error: no such partition.
    Entering rescue mode...
    grub rescue>"

    I tried few commands and few steps but they didn't help me... I don't have DVD drive and USB is not working... Please get me out of this black screen...


    grub rescue> ls
    (hd0) (hd0,msdos5) (hd0,msdos2) (hd0.msdos1)

    Please help...

  2. #2
    Join Date
    Jun 2009
    SW Forida

    Re: error: no such partition grub rescue>

    Welcome to the forums.

    It would be best to have a LiveCD or USB to boot from.

    You may be able to manually boot.

    Grub Rescue Prompt Megathread - drs305

    Manual boot:
    See post #10 by drs305
    grub rescue:
    ls # Do you see (hd0), (hd0,1) ? If so, run the next command. If you see (hd0,5), use that instead of (hd0,1) in the next command. (hd0,msdos5) is the same as (hd0,5)
    configfile (hd0,1)/boot/grub/grub.cfg

    #If above does not work try this, again the hdX,Y and sdaY needs to be the drive & partition of your install:
    set prefix=(hd0,2)/boot/grub
    set root=(hd0,2)
    linux (hd0,2)/vmlinuz root=/dev/sda2 ro
    initrd (hd0,2)/initrd.img
    UEFI boot install & repair info - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts