Grub error 22 after deleting partition

Asked By 0 points N/A Posted on -



I get this error every time I start my PC:


Grub Loading stage 1.5

Grub loading, please wait…

Error 22


I had dual boot Ubuntu-XUbuntu and right after I deleted the partition of XUbuntu from the live CD I started getting this error message every time I boot. What does that mean? How can I make my PC start again?

Thanks for your help.

Answered By 0 points N/A #103622

Grub error 22 after deleting partition

You can do this from Ubuntu LiveCD (You will not have any issues if you do these commands before Ubuntu deletion):
  • Restore basic windows boot loader- Universe enabled
  • Sudo apt-get install Lilo
  • Sudo lilo =M /dev/sda mbr
Sometimes error messages may show about missing Lilo files. Just ignore it as we want only the MBR.
From Windows:
In Windows Recovery Environment, you will have to use the Bootrec.exe tool to be able to troubleshoot and repair startup issues:
Please refer to the link above for more details.
There is a need for you to boot your Windows Vista/7 installation disk or repair disk. Press enter on the Language selection prompt and press R to be able to go to the repair section. You have an option to automatically select boot repair tool but sometimes it will not help much. Go to the command prompt and type the following commands below:
BootRec.exe/fixmbr#updates MBR master boot record; do not run if you still want grub
chkdsk C:/r /f (may have to run /r or/f as separate entries) rerun until no errors.

Login/Register to Answer

Related Questions