Grub error 22


Recommended Posts

for those who are having this problem but have Vista instead of XP, you have to re-install Boot Loader only.

boot up from Vista Installation DVD and select Repair your Computer.(its below Install Icon).select Windows Vista and select Command Prompt.

execute this code:

bootrec.exe /fixmbr

bootrec.exe /fixboot

close command prompt window and restart.

Hey guys. I know this is probably too late, but I think I may have a solution. There's this wicked awesome thing called the SUPER GRUB DISK. Website here: http://supergrub.forjamari.linex.org/ It can be used to uninstall the Grub boot loader or to fix it if an error persists. It can also be used to boot any partition and even understands slices (as in FreeBSD and others). Read the site, download to cd, usb flash or floppy and try it out. Only 4 megabytes in size!!! Or, right. forgot that you can't even boot into your computer. Yeah, you're pretty much screwed then. Use a friend's machine. Hope this helps.

Sorry, forgot to mention last time. The disk also includes the Knoppix Linux distro and FreeDOS in addition to the grub thing. Thought I'd add that just to motivate people to use it.

  • 1 month later...
Hey guys. I know this is probably too late, but I think I may have a solution. There's this wicked awesome thing called the SUPER GRUB DISK. Website here: http://supergrub.forjamari.linex.org/ It can be used to uninstall the Grub boot loader or to fix it if an error persists. It can also be used to boot any partition and even understands slices (as in FreeBSD and others). Read the site, download to cd, usb flash or floppy and try it out. Only 4 megabytes in size!!! Or, right. forgot that you can't even boot into your computer. Yeah, you're pretty much screwed then. Use a friend's machine. Hope this helps.

Sorry, forgot to mention last time. The disk also includes the Knoppix Linux distro and FreeDOS in addition to the grub thing. Thought I'd add that just to motivate people to use it.

YESS!!

This fixed my problem straight away - Best.... fix... EVER

  • 7 months later...
  • 4 weeks later...
for those who are having this problem but have Vista instead of XP, you have to re-install Boot Loader only.

boot up from Vista Installation DVD and select Repair your Computer.(its below Install Icon).select Windows Vista and select Command Prompt.

execute this code:

bootrec.exe /fixmbr

bootrec.exe /fixboot

close command prompt window and restart.

This worked perfectly, instantly. Just registered to say thank you :)

  • 4 weeks later...

I'm not sure if this is still an active thread or not, but I was having a similar situation and thought i'd add my 2 cents. I use OSX and haven't had that much experience with linux, but I decided to try it out on a computer my mom wanted me to reformat. It was running Windows XP and I decided to install Mandriva. After installing Mandriva there was a windows partition that I did not want. On a mac when there is a windows partition you can just "delete" the partition and it does not effect the system what-so-ever. As I have come to know, this is not true on linux.

I deleted the partition and continued to get "error 22" on boot. After reading this thread, I was frustrated that so many people were telling how to restore windows without the linux, but not the other way around. I took advice (substituting Mandriva for XP) and tried to boot the Madriva live disk... Nothing... I booted with F12 and it loaded a bunch of stuff and now it says...

Undefined video mode number: 314, jump to 80x25

Uncompressing linux...

crc error

-- System halted

so, now I'm kind of like WTF... I do NOT want to load XP back on to this machine. I just want to reload the Mandriva with no partition, or windows what-so-ever.

thanks,

-Bailey

I rebooted again after this error "-- System halted" and it once again booted Mandriva live with a "Loading Linux Kernel" loading bar. After sitting at 100% for a long time I got another message...

Undefined video mode number: 314, jump to 80x25

Uncompressing Linux...

invalid compressed format (err=2)

-- System halted

I know the disk is good, because it's the one i installed mandriva with in the first place.

^^^ Huh?

If a partition is truly a Windows only partition, then it can safely be deleted. Grub will point to hd0,2 or wherever still, and be fine.

If, however, you alter partition information (change the order - and no, a delete does not change the partition assignment, see fdisk -l to get that info), or if you set up a wubi-like system where the install was existing as a file in the NTFS partition you removed, then it would obviously cause a problem.

For example:

/dev/sda1 NTFS (Windows C)

/dev/sda2 ext3 (Mandriva /)

/dev/sda4 Extended

/dev/sda5 NTFS (Windows D)

/dev/sda6 swap (for Mandriva)

/dev/sda4 ext3 (Mandriva /home/)

As long as you did a standard install where GRUB is written to the MBR, it will point to hd0,1 (sda2) for the kernel boot code.

You can safely delete your Windows D. And your Windows C. Linux will still boot.

Not sure what problem you have run into. If you can boot a Linux LiveCD (like Knoppix, Ubuntu or even DamnSmallLinux), and post the output of sudo fdisk -l (that is a lowercase letter "L", not the number one) it will list out exactly what partitions you have, and which specific sectors they start and end on.

Ok, 3rd time must be the charm... it booted correctly into mandriva live. After it was completely in the operating system I got a box pop up with "The process for the file protocol died unexpectedly" Hit "OK" nothing seemed terribly wrong. I'm not sure what you mean about the "sudo fdisk -l" I tried typing that into "run command" and got an error message. Most of what you said is not english to me. I can successfully boot linux live. I would like to know how to find out about the partition.

Sorry, forgot it is Mandriva. You probably use a separate root account, rather than using "sudo" to enable root-like powers on your user account.

Open a terminal. Any of them (aterm, rxvt, konsole, etc.)

Type su - and hit [ENTER]

Type in your password for root (you should have been forced to set this up when you installed Mandriva)

At the prompt (and now that you have root), type fdisk -l (again, lowercase letter "L")

This will have Linux spit out the partition information it sees on all your drives. Post that here, and we can look and see how you are set up.

The unreliable boot is actually starting to sound like a drive issue. Did you recall seeing that the system was doing a "fsck" (file system check) at all?

when i type "su" nothing happens... the "run command" exits like it wants to do something... then not. the system is running really slowly now, and it won't let me open my "home". Can i "live instal" or am I going to end up with 3 partitions? I wanted a clean format and install in the first place, because i'm sure the XP had a virus.

Has your disk been scratched? If this computer is being reformatted anyway, then just do another install. You should get something like "erase hard drive and install" in the Mandriva installer, which will reformat the entire hard drive and install Mandriva again. It should also reinstall GRUB. Since you partitions simply seem messed up, and from the sounds of it you don't have anything valuable on the disk anyway, it will be easier to reinstall than to mess around with configs, etc. and possibly bork the system even more.

Good luck! I'll be honest, I haven't used Mandriva in years (I left it back in the Mandrake days), but I remember there being an option to erase and install. And it still does sound to me like there's something wrong on the CDDVD. Maybe a problem with the disc reader? I've had problems with dust in a drive before, can't remember how I fixed it though, that was a long time ago.

when i go to "manage disk partitions" in my system control it shows 3... i think? two are red "ext3" and one in the middle is green "swap"? The details are as follows:

#1:

Device: hda1

Type: Journalised FS: ext3

Size: 7.8GB (20%)

#2:

Device: hda5

Type: Linux swap

Size: 3.9GB (10%)

#3:

Device: hda6

Type: Journalised FS: ext3

Size: 26GB (69%)

I think the small one (#2) is the active one... Mandriva Live, and one must be windows, and the other the Mandriva that's already there... How do i do a clean format so I have no partition, and only one OS (Mandriva)?????

Has your disk been scratched? If this computer is being reformatted anyway, then just do another install. You should get something like "erase hard drive and install" in the Mandriva installer, which will reformat the entire hard drive and install Mandriva again. It should also reinstall GRUB. Since you partitions simply seem messed up, and from the sounds of it you don't have anything valuable on the disk anyway, it will be easier to reinstall than to mess around with configs, etc. and possibly bork the system even more.

Good luck! I'll be honest, I haven't used Mandriva in years (I left it back in the Mandrake days), but I remember there being an option to erase and install. And it still does sound to me like there's something wrong on the CDDVD. Maybe a problem with the disc reader? I've had problems with dust in a drive before, can't remember how I fixed it though, that was a long time ago.

I selected the "erase and install" when i installed mandriva yesterday, and I got a partition. I think there was a partition before I even touched the computer. If I erase and install again, will it still be there? and if so, how do i properly delete it?

The three partitions you've shown ^ are typical of a Linux installation - there's no indication of Windows here.

Partitions 1 and 3 are likely your root (/) and home (/username) partitions. Partition 2 is your swap partition (Linux uses a separate partition for its swap file).

As Mark suggested, to really see what going on we need more information. You seem to be entering commands into the "Run" box... that's not right. The phrase "open a terminal" means (in Windows-speak) open a command prompt. There should be an entry for some kind of terminal in your programs menu. Once in there, enter the fdisk command Mark suggested. Copy and paste the output here.

  • 2 months later...
I have got the same error, when i installed ubuntu on my vista computer. only I haven't got any Vista-dvd, it came preinstalled on my laptop and i've lost my recovery disk... is there any chance i could use a xp-cd to bootfix? that would save my day...

I am not sure Vista and XP have the same boot sector. :(

Borrow a friend's CD, perhaps, for a boot sector recovery?

  • 3 weeks later...

i've got the same crc error, i.e. the one that says "crc error" and then on next line "system halted". i got this error when trying to boot into my recently installed ubuntu 8.10, which i installed on top of my Vista OS, using wubi-installer, which i downloaded from this link: http://www.wubi-installer.org

the OS worked fine for about a week, but a couple days ago, when i tried to boot into ubuntu again, i got that error! don't know what the problem is, and have asked about it at different places, but have got no solutions to my problem yet! i posted it on the ubuntu forums, but no one there knew what the hell was the problem...so i tried googling "crc error on wubi" and came up with this website!!! :(

i hope someone here can help with this problem, and fix my ubuntu, so that i can boot into it again soon!

Thanks in advance! :shiftyninja:

You choose the option of booting into Ubuntu from the Windows boot menu and it loads till the part of GRUB?

From the description it looks like the image where your Ubuntu installation is has some type of error.

yes! when i try booting into ubuntu in the Windows boot menu, it loads up till the part of Grub...just like u said! :blink:

and my ubuntu installation is on top of my Vista OS...like i mentioned before! i used wubi-installer (http://www.wubi-installer.org) which installs ubuntu 8.10 like a regular Windows application...mine went to the C:/ drive, and created a folder called 'ubuntu', in which the OS was installed!

Hope this info helps someone figure out what the problem is... :cool:

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

    • No registered users viewing this page.
  • Posts

    • If I ever get that issue I will let you know how I fix it
    • As I've been usually saying lately - we all can thank "AI" for this.
    • Friday Windows 11 preview builds are here. Insiders in the Experimental (formerly Dev) and Beta Channel can download builds 26300.8697 and 26220.8690. My Windows11 device on the Preview Channel just got 26220.8728. My guess is this build is a nightly update from 26220.8690.
    • Traffic has a surprisingly unexpected impact on your surroundings by Sayan Sen Image by Radik 2707 via Pexels A collaborative study by researchers from several Israeli institutions found that everyday pollution from traffic and industrial activity measurably changed the atmospheric electric field over the Tel Aviv metropolitan area, providing new evidence of how human activity can influence the lower atmosphere. The research was led by Dr. Roy Yaniv of the Hebrew University of Jerusalem and the Gertner Institute at Sheba Medical Center, Dr. Assaf Hochman of the Fredy & Nadine Herrmann Institute of Earth Sciences at the Hebrew University, and Prof. Yoav Yair of Reichman University. The study also involved Itay Froomer, a student from Hadera High School and the Israeli Museum of Medicine and Science (Technoda), who carried out the work as part of the Ministry of Education's 5-unit physics research track. The researchers focused on the atmospheric electric field under fair-weather conditions. Even in the absence of storms, a weak electric field naturally exists between Earth's surface and the atmosphere. One of the main ways scientists measure this field is through the Potential Gradient (PG), which is the inverse of the vertical component of the electric field. PG is a key part of the global electric circuit, a planet-wide system of electrical currents maintained by thunderstorms and electrified clouds around the world. Scientists have long known that the atmospheric electric field can be influenced by factors ranging from large-scale atmospheric processes to local weather conditions such as dust, fog and clouds. Human-made pollution is also known to play a role, but understanding exactly how urban emissions affect the electric field close to the ground has remained an area of ongoing research. To investigate this relationship, the team analyzed measurements from a newly installed electric field mill, an instrument used to continuously monitor the strength of the atmospheric electric field. The instrument was installed at the Center for Technological Education (Roter House) in Holon and became operational in August 2024. It was funded by Israel's Ministry of Education and the Holon municipality. The electric field mill forms part of a broader monitoring network that includes nearby meteorological stations and air-quality monitoring sites. This allowed researchers to compare electric field measurements with detailed weather data and pollution records to better understand what was driving changes in the Potential Gradient. The study focused on two major urban pollutants: fine particulate matter (PM2.5) and nitrogen oxides (NOx), both commonly produced by vehicle traffic and industrial activity. PM2.5 refers to microscopic airborne particles small enough to remain suspended in the atmosphere for extended periods, while NOx is a group of gases released during fuel combustion. Researchers examined daily, weekly and seasonal patterns in the atmospheric electric field and compared them with changes in pollutant concentrations. Their analysis revealed a clear relationship between NOx levels and changes in the Potential Gradient, particularly during morning and evening rush hours when traffic emissions were at their highest. “What we observe is a direct physical link between emission peaks and electrical variability,” explained Dr. Roy Yaniv. “NOx reduces atmospheric conductivity very quickly, so the electric field responds almost instantaneously during traffic rush hours.” Atmospheric conductivity describes how easily electrical charges move through the air. According to the researchers, nitrogen oxides rapidly alter this conductivity, causing a near-immediate response in the electric field. PM2.5, however, was associated with a delayed response. The researchers attributed this difference to the particles' longer atmospheric residence time, meaning they remain in the atmosphere for longer periods, as well as their different microphysical interactions with surrounding air and atmospheric components. The study also identified a pronounced "weekend effect." In Israel, traffic volumes and some industrial activity decline significantly on Fridays and Saturdays. During these periods, concentrations of both NOx and PM2.5 dropped, and corresponding changes were observed in the atmospheric electric field. “The weekend signal demonstrates just how sensitive the electric field is to changes in human activity,” the researchers noted. “When emissions decline, the electrical environment adjusts at once, providing a high-resolution indicator of urban atmospheric conditions.” The findings showed that pollution levels can influence not only the chemical composition of the atmosphere but also its electrical properties. Researchers said the results strengthened the case for using atmospheric electricity as an additional tool for environmental monitoring, particularly in densely populated urban areas where anthropogenic, or human-caused, influences are most pronounced. The study also pointed to potential public health applications. By combining air-quality measurements with observations of atmospheric electricity, researchers said they could gain a more complete picture of how urban atmospheric conditions change over time. “Integrating air-quality data with electric-field measurements gives us a clearer picture of how the lower atmosphere evolves moment by moment,” the researchers added. “It’s a framework that can support both scientific insight and practical environmental decision-making.” Beyond the scientific findings, the project highlighted a collaboration between universities, public institutions and secondary education. Researchers said the work demonstrated how students could take part in real-world environmental research while contributing to studies of air quality, atmospheric processes and their potential effects on society. Source: Hebrew University, ScienceDirect This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing
  • Recent Achievements

    • Week One Done
      AMV earned a badge
      Week One Done
    • One Month Later
      AMV earned a badge
      One Month Later
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      540
    2. 2
      +Edouard
      186
    3. 3
      PsYcHoKiLLa
      80
    4. 4
      Michael Scrip
      77
    5. 5
      Steven P.
      72
  • Tell a friend

    Love Neowin? Tell a friend!