LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 08-31-2002, 01:36 PM   #1
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
serious boot/mount problem


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
 
Old 08-31-2002, 01:43 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
. .. and nothing else means empy. I don't know what to tell you more, backups???
 
Old 08-31-2002, 01:53 PM   #3
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
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?)
 
Old 08-31-2002, 04:58 PM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
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 ' . .. '.
 
Old 08-31-2002, 05:34 PM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
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.
 
Old 09-01-2002, 10:21 AM   #6
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Original Poster
Rep: Reputation: 145Reputation: 145
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

any better solutions still welcome!
cheers, jens
 
Old 09-01-2002, 10:34 AM   #7
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
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.
 
Old 09-02-2002, 04:32 AM   #8
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Original Poster
Rep: Reputation: 145Reputation: 145
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.

cheers, jens

itīs a nice day for a white wedding
billy idol
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
problem with failing mount at boot time rconan Fedora 2 08-03-2005 07:44 AM
Boot Problem - Cant re-mount in rw cyber-worx Slackware 7 05-29-2004 06:52 PM
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot mjen Linux - Newbie 3 05-19-2004 07:45 AM
Boot / Mount problem dsiguy Linux - General 6 09-23-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:00 AM.

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