Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Grub rescue

  • 11-03-2014 08:26PM
    #1
    Closed Accounts Posts: 2,113 ✭✭✭


    I've deleted a Ubuntu partition off my laptop harddrive but now I have to fix the boot manager. Problem is my CD drive doesn't work so I can't use a Windows disc to fix it as I've done before.

    I'm currently stuck at 'error: no such partition. Grub rescue>' and slamming my face off the desk. Any ideas?


Comments

  • Registered Users, Registered Users 2 Posts: 2,370 ✭✭✭Knasher


    You could try making a USB based installer for your windows disk and boot into windows recovery mode using that. There are a bunch of ways to make these installers, depending on if you have the disk to make an ISO from, or if you are trying to do this from within windows or linux, but here is one way from microsoft. http://www.microsoftstore.com/store/msusa/html/pbPage.Help_Win7_usbdvd_dwnTool


  • Registered Users, Registered Users 2 Posts: 2,370 ✭✭✭Knasher


    Might of thought of another way also. You could try typing the stanza to boot windows directly into the grub rescue prompt. Should be something along the lines of
    rootnoverify(hd0,0)
    makeactive
    chainloader +1            
    boot
    

    Then press f8 really quickly and you will hopefully be in windows recovery mode, I'm not 100% sure, but you might be able to get to a somewhere you can fix the boot order from there.


  • Closed Accounts Posts: 2,113 ✭✭✭SilverScreen


    Knasher wrote: »
    Might of thought of another way also. You could try typing the stanza to boot windows directly into the grub rescue prompt. Should be something along the lines of
    rootnoverify(hd0,0)
    makeactive
    chainloader +1            
    boot
    

    Then press f8 really quickly and you will hopefully be in windows recovery mode, I'm not 100% sure, but you might be able to get to a somewhere you can fix the boot order from there.
    I tried this earlier and it wouldn't work for me.

    Creating a USB installer seems like a good option and I have the Windows discs to that. I think I might have an old Mint usb installer somewhere as well.


  • Registered Users, Registered Users 2 Posts: 1,931 ✭✭✭PrzemoF


    Did you get any errors?
    Have you used correct disk/partition? That hd0,0 in rootnoverify(hd0,0) has to be set to your windows disk/partition.


  • Registered Users, Registered Users 2 Posts: 3,739 ✭✭✭Stuxnet


    This will work for you.

    Download this SuperGrubDisk (11mb) iso, put on USB with this

    Run it > Detect any operating systems > select windows

    When back into windows, download and run EasyBCD, select BCD Deployment > Write MBR

    Fixed

    Next time, re-write the windows mbr via the EasyBCD app FIRST before you delete Ubuntu partition, so you can get back into windows easily :)


  • Advertisement
  • Closed Accounts Posts: 2,113 ✭✭✭SilverScreen


    I managed to get it sorted by installing a version of Mint from a USB alongside Windows.

    I'll definitely keep EasyBCD in mind the next time. Thanks.


  • Registered Users, Registered Users 2 Posts: 3,739 ✭✭✭Stuxnet


    We all learned the hard way :)

    glad you got it sorted !!


Advertisement