View Full Version : [SOLVED] error: no such partition. grub rescue> message displayed after removing partition

February 4th, 2014, 06:15 PM

I had Ubuntu and a trail version of Windows 8 installed on my laptop. The laptop would dual boot giving option to boot with either operating system. Via Windows 8 admin options I deleted the partition containing Ubuntu and extended the Windows 8 partition into the freed up partition space. Now when the laptop powers up the following message displays: error: no such partition. grub rescue>

Could somebody please advise how to rectify this situation?

I was aiming to have a machine with just Windows 7 reinstalled (I intend to reinstall Ubuntu at a later date )

I feel I must mention I have no Ubuntu or Windows recovery / repair / or installation discs.

Any help would be most appreciated

Many thanks

P.s I'm not technically savy

February 4th, 2014, 07:11 PM
When you deleted the Ubuntu partition, it contained the grub files (under /boot/grub), so the grub bootloader no longer runs. If you can borrow some Windows install media, you could reinstall the Windows bootloader. Or, you may be able to reinstall grub, with its files put onto a Windows partition. Best location for the grub files is a FAT (not NTFS) format recovery or tools partition which many machines have. Make a directory named boot. From the live media, mount the FAT partition
sudo mount -tvfat /dev/sda1 /mnt
(or whatever partition you put the boot directory onto).
and install grub.
sudo grub-installer --boot-directory=/mnt/boot /dev/sda
This should allow grub to run, booting Windows.

February 4th, 2014, 11:05 PM
Hi ,

Thanks for responding. What kind of Windows media are you referring too , would you mind specifying ? Sorry but I'm not to familiar with this stuff and don't want to make matters worse. All data on either OS was backed up before I deleted partition so no worries if solution means overwriting

February 5th, 2014, 06:14 AM
I was referring to the install media for Windows. I never had any myself, only the vendor supplied "restore media" which really never offered the capability to repair a boot block. I have used the grub installed to a FAT partition for years with no problems. The FAT partitions are typically pretty small, but the grub files are small, and probably will easily fit if you have any spare space at all on the paritition. No partitions need to be deleted, just add a boot directory to one that's there.

February 5th, 2014, 05:14 PM
Always best to have current version repair tools for every system installed or Ubuntu live installer and Windows repairCD or flash drive.

You can create a Windows repair flash drive from any other Windows system that can restore a MBR with fixMBR command. Any friend, school or work computer with Windows can create a repair disk. Only need to be same 64bit or 32 bit and any version.
Or use Boot-Repair, but need a system to download it and create CD or flash drive.

How to restore the Ubuntu/XP/Vista/7 bootloader

Make your own Windows repairCD (not vendor recovery):

Windows 7 repair USB, Also Vista if service pack installed

February 5th, 2014, 08:35 PM
Thanks Oldfred,

I'm now at the end of my tether with this, I've done the following:

Burned the following discs (using another machine obviously):

The Ubuntu Boot Repair disc
Ubuntu Live CD Desktop 64 bit
Repair Disc Windows 7 64 bit

I've set boot priority on the 'broken' laptop so that it boots from the CD/DVD player first.

If I try and boot from either of the above discs i get the following message:

error: no such partition.
grub rescue>

Could you pleeeeeease explain what I should do next? I'm a complete novice when it comes to administration of Linux or Windoze OS's, all I want is to be able to boot up my laptop and resolve this issue. Data was backed up so I don't mind 'splatting' or whatever the term is.

Any further help would be most appreciated.

February 6th, 2014, 01:18 AM
Did you correctly create DVDs? You do not copy ISO to DVD but install it so it extracts all the files from the ISO and makes it a bootable disk. If one large file on DVD that is not correct.

Or you have not selected DVD as boot device, It still is defaulting to hard drive with Broken grub. I used to burn a few coasters, but now use flash drives as they are reuseable.

Also instructions for DVD or USB flash drive
Write image or burn image not copy ISO as one large file to flash or DVD.

How to create a bootable Ubuntu USB Flash Drive - unetbootin

Usb installer from Windows

February 6th, 2014, 07:30 PM
Hi oldfred,

I managed to launch Boot Repair Disc from a usb drive.

After running the repair processes the following url was issed:


Now when I reboot the laptop (from hard drive) the following message is displayed:

BOOTMGR is missing
Press Ctrl+Alt+Del to restart

Could you please advise what I should do next?

Many thanks

February 6th, 2014, 09:26 PM
Raised previous install to the ground and installed Ubuntu from USB drive.

Used the handy exe from this dude http://rufus.akeo.ie/

Sent from Ubuntu 13.10 :)

February 6th, 2014, 09:37 PM
Now sure where you are at now.

But error was from Windows. Its boot loader in MBR goes to partition with boot flag or active partition and looks for bootmgr. Boot flag was on sda3, your main install, but bootmgr was in sda2, but that also is missing BCD which is also needed to boot. But can be recreated with Windows repair tools.

February 7th, 2014, 03:30 PM
Did a clean install of Ubuntu, all working fine (except some issues with cpu, thiink relates to flash, will refer to forum for related posts).