Grub error 22


Recommended Posts

I recently installed Linux onto a partition i set aside. I agreed to installed GRUB as it would make things easier to boot into windows. The problem arrised when i decided to uninstall linux. I thought i could just format the partition so i did. This then mean that when i booted my computer i got the message..

GRUB Loading stage 1.5

GRUB loading, please wait...

Error 15

It then sits there and i am unable to do a thing. I am unable to get to windows XP or far enough to start into recovery mode. So i though i would install Linux again and see if there was a different way of uninstalling it. I did and GRUB loaded fine so i was able to boot to windows. I then decided that a format and the deletion of the partition would erase everything. I did this and restarted only to have the same thing happen but now i get..

GRUB Loading stage 1.5

GRUB loading, please wait...

Error 22

Now because i have deleted the partition i cant install Linux to get back in to windows plus there is no Linux.

Thanks in advance.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/
Share on other sites

try fixboot as well. Whats happening here is grub, the boot loader, is looking for your linux partition to load some files it needs, but its unable to find said files. Or something like that anyways.

You need to get your windows bootloader installed again -- i used fixmbr and fixboot to do it (not sure of the order though)

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-586885347
Share on other sites

  • 4 weeks later...

BlackIceRose,

I am having the same problem as you right now. First I thought inserting the Windows XP CD and repairing Windows would do the trick. But after setup copies the setup files and reboots, I would get the GRUB error again. So then I tried the Recovery Console (after searching Google for help). Of course, I had problems loading the Recovery Console as it wouldnt take my password. Then I read somewhere that the password is sometimes blank. Sure enough, it was, so now I was logged into the Recovery Console.

I tried "fixboot" first, same problem with GRUB. Then I tried "fixmbr" and then "fixboot" and it seems to be working! :) Of course, since I started the repair process for Windows, right now my PC is running setup again.

I sure hope after this everything works. Of course, I'll have to reinstall all the Windows Updates again, oh joy. *goes and searches for SP2 CD* :p

Hope this helps.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-587010427
Share on other sites

  • 11 months later...

Hey all,

I have sort of the same problem: I used to have a Windows XP/Linux install, on partitions made with gparted. I resized the Linux partition once without any issues. Smart person that I am I today decided to re-partition again and give all the disk space back to Windows XP. Of course you end up with the same situation as the original poster: no Linux partition, and a thouroughly confused Grub. Problem is: nothing can find my hard disk. Gparted can't, Slackware can't, Windows XP Install disk can't, etc. The only thing that was able to touch my hard disk was the diagnostic hard disk checker from within the BIOS menu (I'm sorry if that last bit is a bit unclear).

So, my problem boils down to: how to repair a MBR if no program that could do so can find your hard disk?

Any and all suggestions are welcome!

Thanks a million in advance...

:)

-zsejk

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588122225
Share on other sites

zsejk,

Boot your XP CD, go to its "recovery console" and do a fixmbr.

This will put the Microsoft MBP back in place. Right now, it is the MBR for GRUB, and it is looking for the partition that was just there, and that is what that error 22 is.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588122624
Share on other sites

zsejk,

Boot your XP CD, go to its "recovery console" and do a fixmbr.

This will put the Microsoft MBP back in place. Right now, it is the MBR for GRUB, and it is looking for the partition that was just there, and that is what that error 22 is.

Heya,

Thanks for the reply! I tried that, but then it says it can't find any disks. The only thing right now that seems to be able to pick up on my hd and the Windows XP partition thereon is SystemRescueCD.

:huh:

-zsejk

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588124617
Share on other sites

  • 5 months later...

Just for future reference: SystemRescueCD did the trick. I used the GParted that comes with it, and simply re-did the old partition scheme (the one I had been trying to delete before). Then I installed Linux again, and Grub was back to normal.

Of course I still don't have what I desired (which was a Windows only machine), but I guess I have Ubuntu to blame for that as it insists on installing Grub to an annoying place where Windows can't get to afterwards.

Anyway.

:)

-zsejk

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588569828
Share on other sites

Just for future reference: SystemRescueCD did the trick. I used the GParted that comes with it, and simply re-did the old partition scheme (the one I had been trying to delete before). Then I installed Linux again, and Grub was back to normal.

Of course I still don't have what I desired (which was a Windows only machine), but I guess I have Ubuntu to blame for that as it insists on installing Grub to an annoying place where Windows can't get to afterwards.

Anyway.

:)

-zsejk

Yeah... GRUB is evil, and explicitly hides itself from Windows.

Dude, it is a hard drive, and the MBR of it. This is read way before Windows or any other OS even is loaded for execution on your PC. It isn't hidden from Windows at all!

I am sorry that your XP CD would not work properly and said "it can't find any disks", but that wasn't Ubuntu that did that. When you boot your XP CD, you have Microsoft's mini-OS environment and your hardware. Ubuntu is just a bit pattern on the hard drive. It isn't screwing you over.

Anyway, glad you got it going again.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588569856
Share on other sites

Borrow an XP CD from a friend. Boot it and do the fixmbr.

Or download a Windows boot disk (Win98 is ok, and any other should be fine, too), and use the command fdisk /mbr (which is the old way of doing the "fixmbr", before XP).

Either of those will restore the default Microsoft MBR.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588584029
Share on other sites

Ok, so i wrote "fixmbr"

and then i got this long warning;

http://imagenerd.com/uploads/dsc00045BgAe.jpg

I'm not sure this is the right way, because Linux wasn't even installed on a new partition, it was installed on a new hdd itself.

So should i go ahead and create a new MBR?

Correct. That message pops up every time you do this....... :yes:

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588598774
Share on other sites

  • 1 month later...

Hello people

Im having the same problem as the guy above with a cd that came along with Acer laptop or PC.

So...

I'll try to borrow someones windows CD, but im not sure if ill find someone.

But where could i download 98 boot cd or smth like that?

will this help me? sounds like a boot thingy :s

http://www.microsoft.com/downloads/thankyo...;displayLang=en

Edited by niurzgius
Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588696614
Share on other sites

Not sure if that floppy boot set will include "fixboot" or "fdisk /mbr", but it can't hurt to try.

A borrowed CD would be best, but I am pretty sure that you can even use an old Win98 boot floppy to reset the MBR. Its not like Microsoft changes those 512 bytes very often.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588696937
Share on other sites

Hello people,

I would just like to say thanks to everyone! I had this problem and could not fix it (after deleting linux partition).

You guys saved me a lot of trouble, I had to register and thank you all.

Thanks agaan

Good for you! Ech.. I'm nae that lucky. All I have is some kind shiat ACER windows installer. And I'm not sure if I could find a proper one.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588697796
Share on other sites

  • 1 month later...

Hi to all,

I have the same problem.

I deleted the 2 partitions of Kubuntu, and when I wanted to restart my Windows, I got the error.

Now, I tried everything you all said, but it won't work. My CD-ROM won't boot.

I've pressed F12 and pressed ENTER when CD-ROM was white, but nothing works.

My laptop:

Toshiba Satellite A100-510

Please help me. I'm getting very desperate.

Grtz Yato Inda

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588784495
Share on other sites

^^^ You installed a boot loader that pointed to your Linux partitions. Then you removed those partitions, and left GRUB in there, pointing to what no longer exists. That is why you have your current error.

To fix it, you need to boot your Windows CD and use their option to re-install the Microsoft MBR. If your CD won't boot, then you have a bad drive, bad media, or some other BIOS/configuration issue.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588784541
Share on other sites

And..., how do I solve that ???

Lol, now I removed my hard drive, so it HAD to boot from the xp cd. Then I quickly put the drive back in. Now, I said repair it. Now it is examining the hard drive. But there is no bar that says, 72% or so, no it just says: examining 57363 MB disk 0 at id 0 on bus 0 on atapi...

Edited by yato inda
Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588784556
Share on other sites

  • 2 weeks later...

Hello. I have been experiencing the same GRUB error as many of you. However, my situation seems to be... unique. Instead of XP, my laptop has Vista. I do not have any backup CD's or installation CD's for Vista because the OS came with the laptop (Windows is retarded like that). I have tried to bootleg a live Vista CD, but it has not loaded properly upon use, and so I assume the bootleg was faulty. I know the codes to use to restore the Microsoft boot program (bootrec/fixboot and bootrec/fixmbr), but I do not have the CD I need to be allowed to use those codes. Short of going out and buying a Vista CD (an option I do not want to pursue at any cost), what are my options? The bootleg I downloaded seems popular (as several different sites had the download link posted), but it has failed to work thus far.

For clarification, this is the error that comes up when I attempt to use the bootleg. If there is a way to fix this, I am all ears. However, I doubt that the solution to my problem will be that easy.

"Client Mac ADDR: 00 1B 38 10 8E f0 GUID: F8967E5D-114E-11DC-96E5-001B38108EF0

PXE: No boot filename received

Exiting PXE"

The bootleg live CD attempts this twice, and then reverts to the GRUB attempt.

If anyone has any advice on this, please help.

Link to comment
https://www.neowin.net/forum/topic/405091-grub-error-22/#findComment-588806070
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • BrowserOS 0.46.0 by Razvan Serea BrowserOS is a free, open-source Chromium-based browser that runs AI agents natively, offering a smarter, more productive browsing experience. It supports Chrome extensions and integrates AI agents to automate tasks, fill forms, and streamline workflows. Your data stays on your computer: you can use your own API keys or run local models via Ollama, making it a privacy-first alternative to tools like Perplexity, Comet, or Dia. With built-in productivity tools and app integrations, BrowserOS boosts efficiency while keeping control firmly in your hands. Being Chromium-based, BrowserOS lets you effortlessly import your bookmarks, passwords, and Chrome extensions in just a few clicks. BrowserOS works with OpenAI GPT models, Anthropic Claude, Google Gemini, and local AI models via Ollama or LMStudio. You can use your own API keys and effortlessly switch between providers. BrowserOS Agent Your AI productivity assistant that organizes and manages your browsing effortlessly Quickly list, group, or close tabs Save and resume browsing sessions Search your history and organize bookmarks Switch instantly to the tab you need BrowserOS Navigator – Automate web tasks with ease Navigate websites and search automatically Interact with pages without manual effort Handle repetitive tasks in seconds What makes BrowserOS special Feels like home - same familiar interface as Google Chrome, works with all your extensions AI agents that run on YOUR browser, not in the cloud Privacy first - bring your own keys or use local models with Ollama. Your browsing history stays on your computer Open source and community driven - see exactly what's happening under the hood MCP store to one-click install popular MCPs and use them directly in the browser bar (coming soon) Built-in AI ad blocker that works across more scenarios! BrowserOS 0.46.0 changelog: Run Claude Code & Codex right in your browser — We've extended the agent harness to bring full coding agents into BrowserOS. Claude Code and Codex now come bundled and plug straight into the assistant, so you can drive your browser with the agent — and the subscription — you already use. A brand new experience — A redesigned new tab, a calmer composer, and a rebuilt command center for switching between agents. The whole assistant is cleaner, faster to reach, and easier to live in. New MCP tools — We rebuilt the browser tool surface from the ground up — a tighter, more reliable set of tools for agents to drive the browser. Plus one-click install of BrowserOS as an MCP server into the agents you already run, with automatic URL sync. Chromium 148 — Updated to the latest Chromium base with all recent upstream fixes and security patches. Streamlined — We've pulled back a few features that weren't getting much use — Skills, Soul, and Memory — so we can focus and ship better versions of them soon. Download: BrowserOS 0.46.0 | 181.0 MB (Open Source) Download: BrowserOS for macOS | 485.0 MB Links: BrowserOS Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Microsoft finally admits its default Windows 11 25H2, 24H2 action broke key legacy component by Sayan Sen Microsoft last week released Windows 11 KB5094126 and KB5093998 as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. So far the company has acknowledged two known issues that have popped up after the release which include bugged-out Office apps as well as the Recycle Bin; though there could be more at play too. Speaking of bugs and issues, Microsoft seems to have finally acknowledged a problem that probably has been around for close to a year. That's because back in July of 2025 the company made a default change to the latest Windows 11 versions, wherein it switched to JScript9Legacy on Windows 11 24H2 and later releases. Hence following the release of version 25H2 in October 2025, JScript9Legacy also remained default-enabled. As a result there has been a compatibility issue ever since then. For those wondering, by switching to JScript9Legacy Microsoft intended to improve the security of modern Windows PCs by reducing vulnerabilities tied to legacy scripting like cross-site scripting (XSS), among others. XSS exploits can allow cyber-attackers to attach malicious code onto legitimate websites and use them to execute the code when a potential victim loads such a website. Hence the new JScript9Legacy engine enforced stricter execution policies and improved object handling, which should help mitigate such attacks. Microsoft today has published a new support article detailing the problem. Neowin spotted it while browsing. The company says that JScript global definitions and execution context may fail to persist across scripts, potentially breaking older dependent apps and web-based components that relied on this legacy behavior. In the article Microsoft has confirmed that the issue stems from its move away from the older jscript9.dll engine in favor of jscript9legacy.dll. As mentioned above, while the newer engine was designed to address vulnerabilities and strengthen security it also changes how JScript handles execution context. As a result functions and definitions loaded by one script could no longer remain available to subsequent scripts once execution ended. The company notes that some applications worked correctly on earlier Windows versions because the older JScript engine automatically retained global definitions and execution state between scripts. Under the newer model though that behavior is disabled by default causing certain legacy workloads and polyfill-dependent scripts to fail. Microsoft says it addressed the problem via the KB5077241 update though the fix had not been enabled automatically in the following updates. As such admins must explicitly turn on persistent JScript execution context using a Registry setting that the tech giant shared today. The configuration can be applied to individual processes or system-wide through the FEATURE_ENABLE_PERSISTENCE registry key. The steps have been outlined below: Run the following command to create the feature control registry key: reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_ENABLE_PERSISTENCE" Under this key, create a new DWORD (32-bit) value. Configure the value as follows: To enable persistence for specific processes only: Set the value to 1 for each target process name. To enable persistence for all processes: Add * as the key name and set its value to 1. You can find the official support article here on Microsoft's website.
    • The possibility that milk gathers back into a glass implies that gravity can be 'reversed'.
    • VidCoder 12.20 by Razvan Serea  VidCoder is a DVD/Blu-ray ripping and video transcoding application for Windows. It uses HandBrake as its encoding engine. Calling directly into the HandBrake library gives it a more rich UI than the official HandBrake Windows GUI. VidCoder can rip DVDs but does not defeat the CSS encryption found in most commercial DVDs. You’ll need the NET 8 Desktop Runtime. If you don’t have it, VidCoder will prompt you to download and install it. The Portable version is self-contained and does not require any .NET Runtime to be installed. You do not need to install HandBrake for VidCoder to work. Feature list: Multi-threaded MP4, MKV containers Completely integrated encoding pipeline: everything is in one process and no huge intermediate temporary files H.264, H.265, MPEG-4, MPEG-2, VP8, Theora video Hardware-accelerated encoding with AMD VCE, Nvidia NVENC and Intel QuickSync AAC, MP3, Vorbis, AC3, FLAC audio encoding and AAC/AC3/MP3/DTS/DTS-HD passthrough Target bitrate, size or quality for video 2-pass encoding Decomb, detelecine, deinterlace, rotate, reflect, chroma smooth, colorspace filters Powerful batch encoding with simultaneous encodes Customizable Pickers to automatically pick audio and subtitle tracks, destination, titles and more Instant source previews Creates small encoded preview clips Pause, resume encoding VidCoder 12.20 changes: Updated HandBrake core to 1.11.2. Download: VidCoder 12.20 | 47.0 MB (Open Source) Download: Portable VidCoder 12.19 | 89.3 MB Link: VidCoder Home Page | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      Jordan Smith earned a badge
      Week One Done
    • Reacting Well
      BizSAR earned a badge
      Reacting Well
    • First Post
      AndreaB earned a badge
      First Post
    • Week One Done
      Huge Trailer earned a badge
      Week One Done
    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      590
    2. 2
      +Edouard
      185
    3. 3
      PsYcHoKiLLa
      76
    4. 4
      Michael Scrip
      73
    5. 5
      Steven P.
      66
  • Tell a friend

    Love Neowin? Tell a friend!