kilimanjaro Posted August 9, 2008 Report Share Posted August 9, 2008 Aloha Everyone I am running mandriva 2008 on my laptop, and yesterday if refused to boot. It has been acting weird lately. I have been having trouble changing permissions on files, and putting music onto my ipod. Yesterday it gave me this while trying to boot: fsck.ext3: no such file or directory while trying to open /dev/sda5 /dev/sda5: The superblock could not be read or does not describe a correct ext2 filesystem. If device is valid and it really contains ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> /dev/hda6: clean, 116703/10682368 files, 20717953/21352385 [failed] *** An error occured during the file system check. *** Dropping you to a shell; the system will reboot *** when you leave the shell Give root password for maintenance (or type Control-D to continue): Anybody know what I should do now? [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
David Batson Posted August 9, 2008 Report Share Posted August 9, 2008 My guess is that you have a failing hard drive. You will probably need to replace it. You can try running TestDisk and see what it comes up with. http://en.wikipedia.org/wiki/TestDisk Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted August 9, 2008 Author Report Share Posted August 9, 2008 Is there anything I can do in the shell it gives me? Quote Link to comment Share on other sites More sharing options...
{BBI}Nexus{BBI} Posted August 9, 2008 Report Share Posted August 9, 2008 (edited) Is there anything I can do in the shell it gives me?Yes run:e2fsck -b 8193 /dev/sda5 Edited August 9, 2008 by {BBI}Nexus{BBI} Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted August 9, 2008 Author Report Share Posted August 9, 2008 So I downloaded a test program for my harddrive, it said it was OK, I testing my ram right now. When it is done I will try "e2fsck -b 8193 /dev/hda6" Quote Link to comment Share on other sites More sharing options...
{BBI}Nexus{BBI} Posted August 9, 2008 Report Share Posted August 9, 2008 (edited) @kilimanjaro: Please check my post again, I have edited it to show the correct drive. If running e2fsck doesn't help you could try using a rescue cd to make repairs: http://trinityhome.org/Home/index.php?wpid=2&front_id=1 Edited August 9, 2008 by {BBI}Nexus{BBI} Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 9, 2008 Report Share Posted August 9, 2008 I think you need to run it on /dev/sda5 rather than /dev/hda6. Although it does look like you have a minor issue on /dev/hda6 though. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted August 9, 2008 Author Report Share Posted August 9, 2008 (edited) I think you need to run it on /dev/sda5 rather than /dev/hda6. Although it does look like you have a minor issue on /dev/hda6 though. So I ran it on sda5 and hda6 and got the same response. Edited August 10, 2008 by kilimanjaro Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 10, 2008 Report Share Posted August 10, 2008 Have you done this? e2fsck -b 8193 /dev/sda5 since /dev/sda5 was mentioning a bad superblock? And what were the results after running it? What did it say? Also, what is the filesystem on /dev/sda5? Are you sure it's ext2 and not ext3? Or something else? Perhaps the config in /etc/fstab is badly configured because I've had errors generated before when it was listed wrong in /etc/fstab. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted August 12, 2008 Author Report Share Posted August 12, 2008 Aloha Ian So the response I got was: "The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>" I tried it with both sda5 and hda6. I'm not sure what ext2 and ext3 are, so I don't know what it should be. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted August 12, 2008 Report Share Posted August 12, 2008 ext2 and ext3 are similar, except ext3 has journaling whereas ext2 does not. Can you post/check the contents of /etc/fstab so we can see what your filesystem types are meant to be for these particular partitions. Quote Link to comment Share on other sites More sharing options...
kilimanjaro Posted August 12, 2008 Author Report Share Posted August 12, 2008 How do I view the fstab from a shell? Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 12, 2008 Report Share Posted August 12, 2008 How do I view the fstab from a shell? cat /etc/fstab or, if you want to edit it directly, su -c "nano /etc/fstab" Quote Link to comment Share on other sites More sharing options...
ffi Posted August 12, 2008 Report Share Posted August 12, 2008 I wonder if there is a bug somewhere because I had a similar failure with mandriva a while back (during cooker 2008.1). I tried to get the filesystem going again but it was just too much work. Ubuntu detected no filesytem errors and could read everything just fine, so I backed up my files and whiped to disk and reinstalled.Reinstalling took me far less time than trying to figure out how to recover.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.