You are not logged in.

#1 2008-09-22 09:34:45

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Filesystem mounts as read only after boot

Hi!
I have checked the wiki, the forum posts and poked around on the web but haven't found anything helpful.

I have just installed arch on my laptop, and after boot the file system is read only.

Where do I change it so that it is mounted as read write after initial boot up?

Thanks for any help and pointers!

Chris Danyael X

Last edited by Danyael X (2008-09-22 09:35:19)


///Chris Danyael X

Offline

#2 2008-09-22 14:19:41

alanhaggai
Member
From: World Wide Web
Registered: 2008-08-15
Posts: 25
Website

Re: Filesystem mounts as read only after boot

What options are enabled for / in /etc/fstab?


The difference makes the difference.

Offline

#3 2008-09-22 17:08:52

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Re: Filesystem mounts as read only after boot

i'm using JSF on both / and /home partitions. /boot is ext2

/boot ext2 defaults 0 1
/ jfs defaults, noatime 0 1
/home jfs defaults, noatime 0 2


///Chris Danyael X

Offline

#4 2008-09-23 02:26:24

alanhaggai
Member
From: World Wide Web
Registered: 2008-08-15
Posts: 25
Website

Re: Filesystem mounts as read only after boot

Try running:

sudo fsck.jfs -a -f /dev/my_root_disk

Got it after some searching.


The difference makes the difference.

Offline

#5 2008-09-23 03:06:53

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Filesystem mounts as read only after boot

I've had this issue too, and what fixed it for me was removing the "ro" option in the first OS in /boot/grub/menu.lst

Offline

#6 2008-09-23 05:42:35

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Re: Filesystem mounts as read only after boot

Thanks alkanhaggai but that didnt solve the problem.

SamC: I thought that while booting the file system should be read only and that the start up script would remount the system as read write?

EDIT: Is there a way to see the whole boot up output?
dmesg only gives me half of it. I saw that there were some stuff that FAILED during boot up fairly early after the kernel was loaded.

Last edited by Danyael X (2008-09-23 05:55:56)


///Chris Danyael X

Offline

#7 2008-09-23 09:39:56

alanhaggai
Member
From: World Wide Web
Registered: 2008-08-15
Posts: 25
Website

Re: Filesystem mounts as read only after boot

less /var/log/messages.log

log will give you more output.

Last edited by alanhaggai (2008-09-23 09:40:12)


The difference makes the difference.

Offline

#8 2008-09-23 20:40:02

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Re: Filesystem mounts as read only after boot

slight problem, since my file system is read only it can't generate that file.

I've been looking into GRUB on various distros and the GRUB manual. It seems that the ro (read only) is supposed to be in the GRUB boot options for the root file system.
I have however not found any info on why this is.

As I understand its the init.d that should remount the file system as read write.
I tried removing the ro argument from grub at bot up, but the file system is still in a read only state.

My installation of Arch is brand new and I haven't poked at the init.d at all so I have no Idea as to why it doesn't re load the  file system as read write.

Any thoughts on this?
Have I missed something when configuring the config files when installing Arch?

great full for any help with this.


///Chris Danyael X

Offline

#9 2008-09-24 00:16:40

Onwards
Member
From: Pakistan
Registered: 2007-04-18
Posts: 108

Re: Filesystem mounts as read only after boot

Your fstab is fine. Can you try passing a value of rw instead of ro to your menu.lst kernel line (Lets see if kernel can do something about it...). BTW, passing a value of ro isn't needed at all to successfully boot into your system [Rather, from what I can remember, even if you omit it, kernel will load your root partition as read-only be default.].

Offline

#10 2008-09-24 06:02:48

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Re: Filesystem mounts as read only after boot

Onwards: That did work. with rw I can read and write. Thanks for the help!

But there is still something that fails early on just after the kernel has been loaded, iit's in the stuff that comes after udev being loaded but the info scrolls by much to fast for me to see.

Thats what I want to take a look at but I can't find it in /var/log, I'm not sure what that part of the boot up is called so I don't quite know where to start looking for a log of that.

EDIT: I have now found the reason for that the inittab stuff doesnt log anything at all ever. Seems like I have to hack the scripts to get som logging features in there. I am fairly certain that its the inettab stuff that doesn't reload the filesystem as it should. I'll get back with the modifications I'm contemplating on making on the inittab scripts to enable logging. Found som e interesting stuff on IBM developerworks that describes the nessecary modifications though its for a RHEL system not Arch.

Last edited by Danyael X (2008-09-24 10:07:28)


///Chris Danyael X

Offline

#11 2008-09-27 16:58:55

Danyael X
Member
From: Sweden, Lund
Registered: 2008-09-22
Posts: 8

Re: Filesystem mounts as read only after boot

I solved this by doing a new reinstall.

Never did figure out why it didn't remount as read write. everything works just fine now.


///Chris Danyael X

Offline

Board footer

Powered by FluxBB