LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2004, 12:39 PM   #1
blo1005
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Rep: Reputation: 0
fsck.ext2 - booting problems -- HELP


Hey all, I'm running Gentoo on 2600+ and 512 MB RAM. I have a 200GB hd w/ 3 partitions-- hda1 (boot) hda 3(root) and hda4 (/home/user)

anyway, everything was running okay- but i noticed that i couldnt log into root from my shell... which i figured could be solved by a reboot. anyway, i restarted the system and it gave me this error on startup:

checking root filesystem ..
fsck: fsck.xfs not found
fsck: Error 2 while executing fsck.xfs for /dev/ROOT

.....

fsck.ext2: No such file or directory while trying to open /dev/BOOT
/dev/BOOT:
The supermount could not be read or it doesn't describe a correct ext2 filesystem. If device is valid and it contains ext2 filesystem(and not swap or system or somely device), then the superbloxk is corrrupted, and you might try running e2fsch with an allernative system file
e2fsck -b 8193 <device>


Fsck could not correct all errors, manual repair needed [!!]
Root password or Control-D for normal startup:
--> CtrlD: takes me to X11 login screen-- when I attempt to log in, gives me a blank screen
--> cd /sbin then ./fsck but no luck, gives the above supermount error msg again.

so I do e2fsck -b 8193 /dev/hda1 then it tells me that disk was uncleanly mounted, check forced. then asks if I would like to fix such and such-- after all that then it tells me that I have 3.4% noncontiguous disk space.


I know for sure the data is all still there b/c when I pop in a Knoppix CD, I can still see everything. So its not a hardware problem...

Also, my sshd still runs (I think) so I suppose I could ssh into my box and cp all the important data out of it... but I'd like to fix it rather than format

THANKS in advance to all for the help!!
 
Old 06-15-2004, 09:51 PM   #2
flbwhx
LQ Newbie
 
Registered: Jun 2004
Posts: 1

Rep: Reputation: 0
maybe the fsck and fsck.ext2 is damaged,so you can try the following step:
1.find a floppy disk and copy fsck and fsck.ext2 file from other computer,of course this computer is running the same operating system(linux).
2.restart you computer by linux install cd-rom,maybe you should change your BIOS setting.
3.select the rescue mode.
4.mount the floppy disk.
5. replace your fsck and fsck.ext2 by the right fsck and fsck.ext2.

my english is poor,maybe above is not clear!

good luck!
 
Old 06-16-2004, 01:43 AM   #3
blo1005
LQ Newbie
 
Registered: Apr 2004
Posts: 10

Original Poster
Rep: Reputation: 0
i did what you suggested-- i popped in my gentoo LiveCD and copied over the fsck files to my /sbin ... same error seemed to pop up when i rebooted. no luck...

btw, your directions were very understandable =)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck ext2 "directory connectivity" calutateo Linux - General 2 08-03-2005 01:54 AM
Gentoo fsck.ext2 problem! Nz_Boy_2004 Linux - Distributions 1 11-28-2004 09:45 PM
booting file system errors => cannot run fsck snake_eye Slackware 7 08-26-2004 01:18 PM
fsck crashes fixing ext2 fs echapin Linux - General 2 05-28-2004 11:56 AM
error with FSCK.EXT2 cepol Linux - Software 1 04-13-2004 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration