You are not logged in.

#1 2008-08-29 14:16:10

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

mtab very broken!

I have a very interesting problem with my mtab file that I am not entirely sure how to fix.
The problem started this morning, My desktop was working perfectly fine last night when I shut it down.  This morning when I try to start it up, I find that none of my partitions have mounted except for the root partition (which seems to be mounted read-only).
upon further investigation, I ran ls -l /etc, the result came up ??????????  ?  ? mtab   (the ?'s is where the permissions are normally listed).  I can't read, write, delete, rename, recreate or do anything, because my root account does not have permission.  am I stuck?  do I have to do a reinstall?  or is there some easy way that this problem can be fixed?

I need a speedy response, I'm going back to college in a couple of days and my Desktop is vital. 

cyrusm


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#2 2008-08-29 14:27:07

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: mtab very broken!

Did you try to fsck the root partition?

Offline

#3 2008-08-29 15:00:25

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: mtab very broken!

yes I did, nothing has changed.


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#4 2008-08-29 16:26:55

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: mtab very broken!

check dmesg output
check your fstab

hopefully dmesg will say something.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#5 2008-08-29 17:26:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: mtab very broken!

You obviously cannot alter anything if your system is mounted read-only.

mount -o rw,remount /

should take care of that. Then you can start modifying mtab accordingly.

Also - mtab is generated dynamically based on what's mounted - so what is the problem with it being 'broken' exactly? I'm not sure whether it gets just wiped upon shutdown/reboot, but your conclusion seems a bit bizarre...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB