Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-29-2010, 05:51 AM   #1
LQ Newbie
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Rep: Reputation: 0
Grub 1.5 Error 22 - Partition Deleted on Netbook.

Ok so I originally had Windows XP and Ubuntu NBR installed on my netbook. I decided I didn't want to go with Ubuntu NBR so I just set to default grub to windows so I could worry about removing Ubuntu later.

I then installed Jolicloud(a netbook optimized version of ubuntu) through a windows xp installer and quite liked it, so much so that I quickly fired up gparted and removed the ubuntu partition.

The issue now is I can't get the computer to boot, full stop.

I just run into the error:

"Grub 1.5

Error 22"

I know this is because I have removed the partition, is there any way I can restore the mbr for my windows partition?

I have a usb which I have tried running: Freedos, Windows 98 boot cd, super grub disk.

But have had no success in fixing my mbr.

Any ideas or help would be greatly appreciated asap for university.

Thanks in advance, lszanto
Old 04-30-2010, 02:44 AM   #2
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 956
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
you deleted GRUB's /boot/grub directory, there it keeps all its settings. Since you installed jolicloud, on its root (boot) partition should be all the necessary files. Just boot a linux liveCD, mount your jolicloud / partition, chroot into it (chroot /mnt/jolicloud /bin/bash) and run grub-install (you might need to reinstall grub via apt).

If you want to restore the windows default MBR, then boot a windows rescue disk, and run fixmbr.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Deleted partition Error 22. Need Help getting rid of grub Slapshotjam Linux - Newbie 6 10-18-2009 09:42 AM
Grub Error 22, deleted partition kmorsch Linux - Newbie 29 07-09-2009 01:20 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:30 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