Skip to content

Ubuntu Grub – Error: No such partition, Grub rescue

I have got Windows 7 and Ubuntu 10.04 LTS Lucid Lynx as dual boot, yesterday much awaited Ubuntu 10.10 Maverick Meerkat was launched so called the perfect 10, I was so excited to try my hands on it, I tried to upgrade through Internet as they have recommended on the site but my net connection is so slow that it was taking ages and I was getting impatient, then I downloaded the ISO image file and burnt on CD and try to upgrade it but it didn’t work.

Later I made up my mind that I’ll format the partition by login through Windows and install fresh Ubuntu installation, everything went smooth but when I restarted after installation it showed black screen with “Grub – Error: No such partition, Grub rescue” Damn, It gave me tough time to fix it I tired to reinstall Ubuntu three times but it didn’t work, later I followed following steps –

1. Booting from Live CD
2. Clicked “Try Ubuntu”
3. Go to Terminal or Crtl+Alt+T
4. sudo fdisk -l

You’ll get something like following screen

5. See where your Ubuntu installed, In my case it is on sda8, so that is the one you want to mount.

6 . Now on terminal type following to mount your right drive

sudo mount /dev/sda8 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

7. Once you restart you’ll find your boot loader screen

8 Enjoy

  • vignesh

    Sir I dont have Windows Boot cd and Cd drive in my laptop. How can i overcome this problem. Please help me sir…

  • Artem

    tell pleas what means next row: /dev/sba3………….

  • erin

    ahhh so helpful yay

  • chris

    i do that.. and i take this : /usr/sbin/grub-probe: error: cannot find a device for /mnt/boot/grub (is /dev mounted?).

  • Kseniya

    Oh, Thank you very much!

  • Nox

    Well how about that situation: same error (11.04), can not boot from CD – something is dead there, can not boot from USB – no such option in BIOS (old laptop). The only possibility is to take out the hard disk and connect it via USB to another PC with XP onboard. Any ideas?

  • wmag

    thank you ! 🙂

  • http://www.rajeshrana.net Rajesh

    Try reintalling –

    Do not (never) try uninstalling linux OS just by formatting the partition…it will destroy the MBR and will show “Missing Operating System” error..oh befor that it will show you “unknown filesystem” and a grub rescue menu….sigh!!

    Then how to uninstall Ubuntu –

    uninstalling includes formatting the partition in which the ubuntu is loaded..but before that we need to change the boot priority of ubuntu..and have to make windows’s priority 1..this can be done by using *grub*

  • ninjawhite

    I got same problem today. First I do clean install Windows 7, then clean install Ultimate Edition 2.8 as dual boot. Restart, and well known screen for me. “No such partition Grub rescue”. I have problem with things like this many time before and I do something like you describe but this time Grub tells me that it all ready exist on that partition. It will rewrite this files again. Then notify me, all done. Restart, and same thing again. Usually it always work but this time I’m just stuck.
    Some help, anybody?
    Thank you.

  • http://www.rajeshrana.net Rajesh Rana

    Cool.. Cheers 🙂 am waiting for 28th April for 11.04 Natty 😉

  • David

    Thanks a ton Rajesh. This worked for me!
    I dual boot Win 7 & Ubuntu 10.10 on my laptop.
    I had accidentally deleted the Ubuntu Swap partition (using Disk Utility in System -> Administration -> Disk utility), and when rebooted, was left with the grub rescue screen with “error no such partition message”. I tried various commands on the grub rescue prompt and nothing seemed to work. All I could find googling around was to get the Win 7 disk (which I didnot possess) and do the MBR repair. I then downloaded, burnt & booted from the 10.10 ISO and followed your steps. Back on track now. Thanks mate!

  • http://www.rajeshrana.com Rajesh Rana

    Hi Ahad,

    You may be having only one partition with “Linux” name you need to mount that, or if you remember where you installed? In my case it was SD8, it may certainly differ in your case

  • ahad

    I tried above solution of yours for the grub rescue problem> But I am getting something mount: cannot mount /dev/sd8/mnt.

    Also there are 3 Linux indicated partitions and 1 linux swap partiion.

    Please help… I have project depending on it…

  • ubuntu addict

    Im just burning live CD to try that. That misstake appeared two times till now. Hope it will work for me. Thanks :))

  • http://www.rajeshrana.net Rajesh

    Thank you :))

  • mina

    perfect perfect working
    thank you

  • Bill Lumberg

    Awesome worked like a charm.