You are not logged in.

#1 2007-12-12 03:32:30

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 312

Install from USB stick results in "Read-only file system" [SOLVED]

I installed arch onto my Asus EEE pc and all wen well.  I installed to the solid-state HDD (from a bootable stick made with the help of the wiki), all went well, but now when I boot, as root, any attempts to write to the disk give me some kind of "could not write foo" error message, followed by:  "Read-only file system".

And help would be greatly appreciated.

Last edited by beniro (2007-12-13 14:03:29)

Offline

#2 2007-12-12 17:12:18

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 312

Re: Install from USB stick results in "Read-only file system" [SOLVED]

I added the noatime and nodirtime options to the partitions in fstab, but I'm not sure that would do anything...

This is the full fstab:

none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
tmpfs /var/log tmpfs size=1M 0 0

/dev/sda1 /boot ext2 defaults,noatime,nodirtime 0 1
/dev/sda5 / ext2 defaults,noatime,nodirtime 0 1

Why would my partitions be read-only?  I'm sooo stumped.

Last edited by beniro (2007-12-12 17:48:09)

Offline

#3 2007-12-13 13:24:06

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 312

Re: Install from USB stick results in "Read-only file system" [SOLVED]

Here is the applicable part in menu.lst:

root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda5 ro
initrd /boot/kernel26.img

I am, able to write to the disk when I change the "ro" to "rw", but I hear that this is a bad idea. Any thoughts?

Offline

#4 2007-12-13 13:34:29

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 312

Re: Install from USB stick results in "Read-only file system" [SOLVED]

Interesting findings (as I bump the heck out of this thread): my /boot/ dir is completely empty.  There is a menu.lst file loaded at the beginning of boot, but it is nowhere to be found once I'm in the system.

Could this have somthing to do with the problem I'm having?

EDIT: /boot/ isn't mounted during boot.  Not sure what to do at this point, as my fstab and menu.lst are correct, afacs.

Last edited by beniro (2007-12-13 13:42:35)

Offline

#5 2007-12-13 13:55:25

beniro
Member
From: St. Petersburg, FL, USA
Registered: 2002-12-31
Posts: 312

Re: Install from USB stick results in "Read-only file system" [SOLVED]

I fixed it by removing the "nodirtime" options from a couple of those fstab lines.

Offline

Board footer

Powered by FluxBB