You are not logged in.

#1 2008-06-03 09:05:50

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

[SOLVED]Filesystem mounted as readonly !!

Hi,
This is my first go with Archlinux , However I find it interesting .. wink
As the title implies.. when I made my first reboot, I found my system mounted as read only.. so I couldn't do anything .. so what should I do ? or what wrong did I do ? is it the fstab ? where in fstab can I find  the root filesystem ?
Another question is : during setup .. I've chosen all the support packages because I didn't know exactly what every package do or what do I need .. so, is there any guide ? I want to keep is simple.. you know.. the KISS principle .. cool
thanks in advance..

Last edited by yehdev_cc (2008-06-04 02:47:19)

Offline

#2 2008-06-03 09:31:15

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: [SOLVED]Filesystem mounted as readonly !!

Do you have normal boot? Errors or something?
You should try an choose that you like:)

Offline

#3 2008-06-03 10:34:27

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

Thank you metal for the reply..
what do you mean by normal ? soon after I get an error about the read only filesystem, I get many errors around the same issue as the system is starting up.. I reach the the login shell, but I said I can't do any thing useful with such system..

Offline

#4 2008-06-03 11:03:43

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: [SOLVED]Filesystem mounted as readonly !!

Do you have any errors before? Read only  file system is usually result of errors. You get shell and can  repair your system. For remounting it, you need mount /proc filesystem, after this, do mount / -o remount,rw. Do something to repair system and do mount / -o remount,ro  to rerurn in read only state.

Offline

#5 2008-06-03 11:13:43

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: [SOLVED]Filesystem mounted as readonly !!

search in your logs for some more specific error message and report them here please
it is hard to figure out the "why" without a specific error message

Offline

#6 2008-06-03 11:30:28

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

Thank you for the replies...
OK, I'm gonna do this.. but how can I check the errors before ? the screen just scrolls very fast ..
@_Marco_ : what logs files should I look in ? I mean the name and location...
thanks

Offline

#7 2008-06-03 11:36:05

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: [SOLVED]Filesystem mounted as readonly !!

well I'd start with
"errors.log"
"everything.log"
if I need to check the log I usually search in everyone for the "term of search"

Offline

#8 2008-06-03 12:17:54

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

I failed.. sad
1)neither mount /proc nor mount / -o remount,rw worked..
the first give me no output..
the second complain about missing '/' in fstab ..
2)this is even more odd.. no log files are there !! nothing at all...
may be this isn't that odd as it can't write to the filesystem..
anyway, should I give up and try a re-install ?

Last edited by yehdev_cc (2008-06-03 12:19:49)

Offline

#9 2008-06-03 13:05:18

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

If I managed to edit fstab using a live cd ..
can I edit it so that it mount te file system correctly ?

Offline

#10 2008-06-03 14:01:14

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: [SOLVED]Filesystem mounted as readonly !!

yehdev_cc wrote:

I failed.. sad
1)neither mount /proc nor mount / -o remount,rw worked..
the first give me no output..
the second complain about missing '/' in fstab ..

Usually, if command no output it's success. After mount /proc,  make ls /proc. There are something should be. Do cat /proc/mounts and see mounting filesystems. Look at your /ets/fstab, what is there? If you don't have / in fstab, you can write your root partition instead of /.

2)this is even more odd.. no log files are there !! nothing at all...
may be this isn't that odd as it can't write to the filesystem..
anyway, should I give up and try a re-install ?

Don't hurry with re-install, solve trouble is better than run out from it:)
dmesg
Should show kernel init log.

Offline

#11 2008-06-03 14:04:17

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: [SOLVED]Filesystem mounted as readonly !!

yehdev_cc wrote:

If I managed to edit fstab using a live cd ..
can I edit it so that it mount te file system correctly ?

You can. If there aren't / in fstab, you should write it there.

Last edited by metal (2008-06-03 14:05:48)

Offline

#12 2008-06-03 14:47:14

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

Thank you very much metal... Actually I'm writing this post from my Arch
using 'lynx'... smile
may be soon I'll be here to post some 'GUIed' posts wink
BTW, what bout 'proc' ? how should I add it to fstab ? should I add other drives as well ?
thanks again..

Offline

#13 2008-06-03 15:14:35

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: [SOLVED]Filesystem mounted as readonly !!

Glad you do it smile
At least this should be in your fstab

sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

Absent of it is strange. Something was wrong on installation.

Offline

#14 2008-06-03 15:22:56

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [SOLVED]Filesystem mounted as readonly !!

yehdev_cc wrote:

Thank you very much metal... Actually I'm writing this post from my Arch
using 'lynx'... smile
.

Just FYI: links is included in the base install. So for next time, if you like links as much as lynx, it's unnecessary to install via pacman. wink

Offline

#15 2008-06-03 18:04:20

yehdev_cc
Member
Registered: 2008-06-03
Posts: 26

Re: [SOLVED]Filesystem mounted as readonly !!

@Metal : That's great.. every thing now is just going fine., I added these lines..they were missing..
I'm not sure what mistake I have done  during the install..however, I'm just happy I got it to work without re-install.. smile

@Misfit138 : I didn't know it..and I wouldn't let it pass that way wink ..I just 'pacman'ed it to have a look..well it seems to have more features than what lynx do..however, the colorful interface of lynx is more appealing for me..
just don't tell them..firefox is probably going to replace them as soon as I get Xfce to work lol

Offline

Board footer

Powered by FluxBB