Grub 1.5 error 24. How do I recover?

Asked by vogellied

I have been running a clean install of Hardy for months now with no problems. This morning, at boot, my system started booting to:

Grub Loader 1.5.
Error 24

(not verbatim)

I have a lot of data I want to pull off so if I can just get things working without having to pull and slave the drive.....I would appreciate any help.

The install has been running brilliantly on a HP 6230 and I am typing and posting this from the live cd so I know the drive is in decent shape.

Cheers!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
vogellied
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

http://ubuntuforums.org/archive/index.php/t-210819.html

Please, booting your pc form the Ubuntu live cd (the partition must be unmounted to check them),
open a terminal from the menu Applications → Accessories → Terminal and type:

sudo fdisk -l

to get partition list and then perform a partitions hard disk check...

e2fsck /dev/partition_name

or to get an automatic repair:

e2fsck -p /dev/partition_name

Some useful options:

 -p Automatically repair ("preen") the file system. This option will cause e2fsck to automatically fix any
              filesystem problems that can be safely fixed without human intervention. If e2fsck discovers a problem
              which may require the system administrator to take additional corrective action, e2fsck will print a
              description of the problem and then exit with the value 4 logically or’ed into the exit code. (See the
              EXIT CODE section.) This option is normally used by the system’s boot scripts. It may not be specified
              at the same time as the -n or -y options.

       -y Assume an answer of ‘yes’ to all questions; allows e2fsck to be used non-interactively. This option may
              not be specified at the same time as the -n or -p options.

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

If you get permission warning please use:

sudo e2fsck /dev/partition_name

and

sudo e2fsck -p /dev/partition_name

Hope this helps

Revision history for this message
vogellied (vogellied) said :
#3

Absolutely brilliant!

I used :
sudo e2fsck /dev/partition_name

and

sudo e2fsck -p /dev/partition_name

..it took 30 seconds, I rebooted from the primary HDD and I am now typing my answer from my full functioning system. Thank you, thank you, thank you!

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

If you had always shutdown your system gracefully, i think your hard disk might be near the end of his life.
Keep it under control and save relevant data on a different media.

Hope this helps