Linux - GeneralThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi out there,
iīm in trouble. my box doesnīt work anymore. first it didnīt shutdown correctly then the booting was a desaster:
when it comes to /etc/init.d/boot calling
mount proc ... ->command mount not known
so it doesnīt mount anything-> no process files, no directories, nothing. everything read-only! i can browse the files with joe but canīt write.
i checked /boot directory that i have on hda1
ls -a /boot and in there should be a couple programs like boot.b
chain.b and so on but all i get displayed is: . ..
but i donīt know whether the directory is empty or the contentīs not visible.
i have no clue how to get that fixed. not even how i could make any changes to my conf files or so. nothing. seems itīs not much help either to run rescue system from suse or boot from cd. what is it good for?
any help really much appreciated! thanks a lot!
jens
Linux is still not an end user system *not that you're necessarily an end-user j-ray*, but these things shouldn't really happen with any OS I'm afraid.
I've done this once - not for this reason though. It sux bigtime. First you feel shocked then sickened then angry then helpless.
Could journalled fs not have helped here? Isn't the point of ext3fs to stop these sorts of crashes .. ?
These things are set to test us j-ray. It sounds like you've lost your OS. If you can get a command line you can get your most essential files ? Can you mount other partitions (if you have any?)
Maybe something happened to your /etc/fstab file. If you have a separate /boot partition, it could be that it didn't get mounted and that could be why your command ls -a /boot displays only ' . .. '.
check if you can still mount other medias, and try to copy your important files. It does sound like a nasty crash...one of those where the only answer is "reinstall". Did you format your partition as ext2 or as ext3?
And this problem occurred after you shutted down several times the dirty way right??
Let us know what's going on.
thanks for your replies!
i ran fsck from the rescue system and it checked
hda1 is ok but hda3 has a corrupt super-block and cannot be repaired by sth like
e2fsck -p /dev/hda3
or any other option it offers.(on hda3 there is root directory and everything else) i cannot put the data on another partition cause hda3 covers almost entire hd.
i guess iīll have a bottle of wine later and reinstall everything tomorrow.
i promise not to shutdown 'dirty way' in near future
I don't know how much this will help. But I have some doubts. First of all if you don't have any files in /boot how did it boot the kernel?. Anyway try specifying another superblock while running e2fsck. Something like e2fsck -b 8193. See man e2fsck for more details. I think it won't be bad idea to try this before reinstall.
--Sarin.
i already tried that,sarin. it gives out
bad magic number - this is not a valid ext2 file
or something like that. so the program can neither enter not repair or exchange anything in there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.