Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-17-2009, 06:06 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Deleted partition Error 22. Need Help getting rid of grub

Hi, I'd like to start of saying I was a complete idiot doing this xD

I deleted the ubuntu partition off of my HDD because I never use it. It was dual booted with Vista 64-bit. I have spent the last 2 hours searching through thread for people with my problem, but I could never fix it. I have the live CD and my copy of vista ready. I can boot into ubuntu with the live CD. Supergrubdisk did not work for me for some reason. I don't know anything at all about ubuntu because I never use it.
If someone could help me get rid of the grub menu and get me back into vista I will give you a virtual hug.

Edit: After deleting the partition I formed it with the my main partition so I would only have one, bad idea...

Last edited by Slapshotjam; 10-17-2009 at 08:12 PM.
Old 10-17-2009, 06:16 PM   #2
the trooper
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Stretch Amd64
Posts: 1,477

Rep: Reputation: Disabled
I think the following link might help with this:

Please note i haven't tried this myself,so i can't say if it will work for definite.
Old 10-17-2009, 08:11 PM   #3
LQ Newbie
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Warning the instructions below assume that the program bootsect.exe is present on the booted Vista recovery disk. It was included on earlier distributions of Vista, but was subsequently omitted. If your DVD contains a copy in the boot folder, the instructions can be followed as listed. If not (and our downloadable CD images do not) you will need to pick up a copy elsewhere before proceeding.

My boot CD does not have bootsect.exe on it and I couldn't figure out, if I did get a copy, where to put it. Also the startup repair found nothing wrong...Still getting error 22.

Someone PLEASE help. I can't last a full day without my computer
Old 10-17-2009, 09:45 PM   #4
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Got your vista recovery CD? can get one here Vista Recovery Disc — NeoSmart

and how to use it Bootrec.exe tool Vista (MS support)

Last edited by louieb; 10-17-2009 at 09:47 PM.
Old 10-18-2009, 04:22 AM   #5
LQ Newbie
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
You need to fix MBR

Boot up with the windows CD (if you have not got one you can download the vista recovery cd (available as a bit torrent) enter the repair section. then open the command prompt and enter

"bootrec /FixMbr"

That worked for me when I done the same
Old 10-18-2009, 10:23 AM   #6
LQ Newbie
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the link louieb I used the bootrec.exe /fixmbr command and it fixed it. Just a little late perry :P
This thread can be closed now.
Old 10-18-2009, 10:42 AM   #7
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Threads don't get closed just because they're solved but you can mark it as solved using the threads tools just above your first post.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Error 22, deleted partition kmorsch Linux - Newbie 29 07-09-2009 02:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration