GRUB ERROR 24, HELP PLEASE

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

GRUB ERROR 24, HELP PLEASE

Postby theshadowtaker on Fri May 02, 2008 2:18 pm

Not sure if this goes here, please move it it doesn't.

Image

So, when I came home yesterday to work on my PC this is what I had. I don't know how to fix it, and I really don't know how it got like that. My mom said she disconnected and unpluged my PC but I don't think that, that caused this. Any info on how to fix this problem without having to format my entire PC would be greatly appreciated. Thanks in advance to anyone that replies, or thinks they know how to help.

Also, if you install a newer version of mint, does it erase all the files you have on your pc or does it keep them?
theshadowtaker
Level 1
Level 1
 
Posts: 16
Joined: Fri Jan 11, 2008 10:43 am

Linux Mint is funded by ads and donations.
 

Re: GRUB ERROR 24, HELP PLEASE

Postby 67GTA on Fri May 02, 2008 9:01 pm

Error 24 usually means a corrupt file system on the disk, or a hard drive going bad. You can use a live CD to do a e2fsck check on your file system. If your lucky, it will find and correct some file system errors and boot just fine afterwards. Open a terminal and run
Code: Select all
sudo fdisk -l
. Find your Linux partition. It will be something like /dev/sdax, or /dev/hdax. Replace "x" with the Linux partition number. Write that down, and boot your live CD. Open a terminal, and run sudo e2fsck /dev/sdax, or /dev/hdax (which ever applies to you). Let it run, and hopefully it will show it fixed some file system errors. Here is the output of
Code: Select all
sudo fdisk -l
on my HD:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sda2 35424 60768 203583712+ 83 Linux
/dev/sda3 60769 60801 265072+ 82 Linux swap / Solaris
/dev/sda4 12749 35423 182136937+ 83 Linux

sda1 is NTFS(windows) sda2 is Mint sda3 is linux swap sda4 is Ubuntu If I wanted to run a check on Ubuntu, I would boot a live CD(never run e2fsck on a mounted system, hence the live CD) and run
Code: Select all
sudo e2fsck /dev/sda4
. I hope that makes sense. e2fsck is essentially the same as doing a file system check on a Windows drive.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: GRUB ERROR 24, HELP PLEASE

Postby theshadowtaker on Sat May 03, 2008 12:26 am

67GTA wrote:Error 24 usually means a corrupt file system on the disk, or a hard drive going bad. You can use a live CD to do a e2fsck check on your file system. If your lucky, it will find and correct some file system errors and boot just fine afterwards. Open a terminal and run
Code: Select all
sudo fdisk -l
. Find your Linux partition. It will be something like /dev/sdax, or /dev/hdax. Replace "x" with the Linux partition number. Write that down, and boot your live CD. Open a terminal, and run sudo e2fsck /dev/sdax, or /dev/hdax (which ever applies to you). Let it run, and hopefully it will show it fixed some file system errors. Here is the output of
Code: Select all
sudo fdisk -l
on my HD:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12748 102398278+ 7 HPFS/NTFS
/dev/sda2 35424 60768 203583712+ 83 Linux
/dev/sda3 60769 60801 265072+ 82 Linux swap / Solaris
/dev/sda4 12749 35423 182136937+ 83 Linux

sda1 is NTFS(windows) sda2 is Mint sda3 is linux swap sda4 is Ubuntu If I wanted to run a check on Ubuntu, I would boot a live CD(never run e2fsck on a mounted system, hence the live CD) and run
Code: Select all
sudo e2fsck /dev/sda4
. I hope that makes sense. e2fsck is essentially the same as doing a file system check on a Windows drive.


What exactly do you mean by mounted system? I have linux installed already, so should I not do this? I'm a little confused I apologize.
theshadowtaker
Level 1
Level 1
 
Posts: 16
Joined: Fri Jan 11, 2008 10:43 am

Re: GRUB ERROR 24, HELP PLEASE

Postby 67GTA on Sat May 03, 2008 12:38 am

If you were booted into Mint, you wouldn't want to run the e2fsck check on it because the partition you are using is mounted. If you boot into a live CD, the partition you are running the check on is not being used, so it is safe. e2fsck will try to correct file system errors, which can screw up a file system while it is in use.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA


Return to Installation & Boot

Who is online

Users browsing this forum: Bing [Bot] and 17 guests