How to fix the boot sequence and/or restore a deleted partiotion

1

I have a computer with a 250GB HD on which there were installed a few operating systems. When the computer boots, I got the GRUB menu with all these Ubuntu installations (about 10 versions - I don't know exactly why) and one Windows Vista, which was installed on a 20GB partition.

This Vista partition got almost full, and since the current user does not need all the Linux installations, I thought I can delete the other partitions and increase the Vista one.

So, I went to Vista's Disk Management utility and saw 4 or 5 partitions, of which one was C: and was ~20GB in size. One of the other partitions was about 170GB so I removed it to free the space. It did not allow me to increase the Vista partition size, though.

However, once the computer was restarted, I no longer get the GRUB menu. Instead, I see a GRUB Error 22 and the boot process gets stuck.

  1. Can I make the computer boot from the Vista partition automatically? How?

  2. If not, can I restore the deleted partition and the GRUB functionality?

ysap

Posted 2012-04-19T18:33:50.480

Reputation: 2 116

Answers

0

While waiting for the answers, I found this question and followed this answer to the Ubuntu Grub2 Reference page, and from there to the boot-repair utility page. While starting the computer from a Kubuntu LiveCD, this utility was able to fix the problematic startup sequence, and now the machine starts with Windows Vista directly.

Thanks for the other suggestions.

ysap

Posted 2012-04-19T18:33:50.480

Reputation: 2 116

1

boot into a live cd or usb in linux, and use gparted or parted to restore the lost partition.

if not successful, try knoppix which has gpart http://en.wikipedia.org/wiki/Gpart that specializes in partition recovery

johnshen64

Posted 2012-04-19T18:33:50.480

Reputation: 4 399

If this does not work and you really only care about the Windows partition you can follow this guide - http://support.microsoft.com/kb/927392 - once you have done that you could try gparted as suggested above to delete/re-size/ the other partitions. Backup your data before using gparted.

– BJ292 – 2012-04-19T18:49:55.080

1

It sounds like you just want the Windows bootloader replaced

See Fixing windows MBR without Vista Recovery CD
and Fastest way to restore Windows 7's original MBR?

RedGrittyBrick

Posted 2012-04-19T18:33:50.480

Reputation: 70 632