Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-15-2006, 10:49 AM
|
#1
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Rep:
|
fsck damaged my file system
hi,
i was facing some problems with my wireless , when i run some software like wifi_radar and wpa_supplicant, my linux hung.
so i thought its may be some damaged files cause the problem .
i just run "fsck" , it show me that my linux partition in mounted /dev/hda2 (i have windows on /dev/hda1)
and then i reboot , and i cant enter my linux (stuck in the grub).
I boot from knoppix CD, it show my widows partition is ok, but it cant mount my linux partition.
it give me this error message:
mount: I could not determine the filesystem type, and none was specified.
I boot fedora CD, and it show me my /hda2 as Linux native without mounted point.
/dev/hda1 vfat
/dev/hda2 Linux native
/dev/hda3 swap
any advice ?
sorry for my English
Last edited by Dr_Death_UAE; 02-15-2006 at 11:42 AM.
|
|
|
|
02-15-2006, 12:30 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Try re-running fsck on /dev/hda2. Fsck should only repair filesystems: I've never seen any damage from using it.
|
|
|
|
02-15-2006, 12:38 PM
|
#3
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Original Poster
Rep:
|
i cant enter my hda2.
im also shocked, i always use fsck to fix problems.
i think i will format my linux, and recover it later.
i google it, but no clear solution.
thankx
|
|
|
|
02-15-2006, 12:39 PM
|
#4
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
You should still be able to fsck it.
|
|
|
|
02-15-2006, 03:52 PM
|
#5
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Original Poster
Rep:
|
Hi matir,
I fixed the problem, i used knoppix 4.2, its fsck was good and work fine with me, i was using old version of knoppix before.
fsck -a /dev/hda2
its fix most blocks and Inode's
but know when fedora start booting it stop and give me this message:
Uncompressing Linux... Ok, booting the kernel.
Red Hat nash version 4.2.15 starting
exec of init (/bin/sh)failed!!!: 2
Kernel panic - not syncing: Attempted to kill init!
i'll google it now.
|
|
|
|
02-16-2006, 01:51 AM
|
#6
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Original Poster
Rep:
|
hmmmm, still one issue, there is no mount point for /hda2
any suggestion.
thankx
|
|
|
|
02-16-2006, 01:59 PM
|
#7
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
If /dev/hda2 is your root filesystem, it should be mounted on /.
|
|
|
|
02-17-2006, 02:19 AM
|
#8
|
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 498
Rep:
|
You did not run fsck while /dev/hda2 was mounted, did you? The best way is to boot your system up from a rescue disk (knoppix works fine) and then fun fsck on your /dev/hda2 without mounting it. Do not run fsck on mounted filesystems, it may indeed break them! If you need to check your root filesystem (which is of course always mounted when your system is up), you can use:
to force the filesystems to be checked on bootup.
Last edited by alienDog; 02-17-2006 at 02:27 AM.
|
|
|
|
02-17-2006, 09:10 AM
|
#9
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Original Poster
Rep:
|
thankx guys, i mount my system from knoppix after fix the block and Inodes issue , i recover my files and formate my system.
Matir, no my /dev/hda2 wasnt mounted on / after i fix it. that was the only problem remained.
alienDog, yes that what i did, i run fsck when my /hda2 was mounted.
you are right, knoppix in the perfect and safest to recover systems.
Best Regards.
|
|
|
|
02-02-2010, 05:07 AM
|
#10
|
|
LQ Newbie
Registered: May 2005
Location: Indiana, U.S.A.
Distribution: Slackware, Debian, CentOS, and RedHat
Posts: 11
Rep:
|
Sorry to add to such an old thread, but I thought that it should be added that you should >>never<< run fsck on a mounted file system, always use the rescue mode of your install CD or something like Knoppix as was suggested earlier.
|
|
|
|
02-03-2010, 08:21 AM
|
#11
|
|
Member
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168
Original Poster
Rep:
|
wooow this thread is 4 year's old (^_*), but thanks for your comment's it may help someone from google
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:28 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|