EDIT: You can look at your hard drive and see your partition numbers with Gnome Partition Editor, in the Live CD.
All the open programs in Ubuntu turned gray and crashed one after the other over the course of a few seconds. My girlfriend attempted to reboot and an error message that said something about Ubuntu being unable to safely Quit/shutdown.
She rebooted manually and grub hangs at stage 1.5 with the Error 22....
how can I fix it or do I need to reinstall Ubuntu again?
There's a fair chance you're having some kind of hardware problems by the sounds of things.
I agree with lgeek, (above), re-installing GRUB sometimes does fix GRUB Error 22, but not in every case, only when GRUB Error 22 has been caused by having your partition numbers accidentally changed, usually by hard disk partitioning software.
Another cause of GRUB Error 22 means:
22 : No such partition
This error is returned if a partition is requested in the device part of a device- or full file name which isn't on the selected disk.
I would suggest booting your Ubuntu Live CD and opening Gnome Partition Editor, (System--> Administration --> Partition Editor ), and take a look at your hard drive.
If it's healthy it will be a normal color and you can right-click on your Ubuntu partition and click 'check', 'apply', apply', and let GParted run a file system check on it for you. That might fix it.
Be sure to take a look at the report of what happened by clicking the arrow buttons for the drop-down pages. It may give us some clues to help identify the problem.
If your partition/partitions have a black box around then, that's a bad sign, but you can probably still fix them.
Another thing I think you should do, is open a terminal in your Live CD, and run a badblocks check to make sure your hard drive is okay.
Do something like:
Code:
sudo badblocks -sv /dev/sda1
Where: /dev/sda1 is the partition to be checked. Replace this number with your own partition number which you should know from reading the output from 'sudo fdisk -lu', or by looking with Gnome Partition Editor.
If your hard disk has bad blocks, you will be given lots of numbers. Your hard disk probably should be replaced very soon!!!
A 'bad block' is an area of your hard disk where the material is losing it's ability to retain a magnetic field and thus store data reliably. There are spare sectors in your hard disk when it is new, which the hard disc will swap out silently when badblocks develop due to imperfections and deterioration of the materials. It's only after those spare sectors have been all used up that bad blocks start to become apparent to the file system. When that starts to happen, your hard disk is getting close to the end of its useful life.
Here's what you should see when it's finished if your hard disk has passed.
Code:
sudo badblocks -sv /dev/sda1
Checking blocks 0 to 12908226
Checking for bad blocks (read-only test):done
Pass completed, 0 bad blocks found.
Good luck,
Regards, Herman
Bookmarks