Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've put together a small system with busybox, a Linux kernel, and a small file system, putting stuff in as it seemed necessary -- I don't know if I've been learning much from this, but I started out pretty clueless, so it sure hasn't been a smooth ride. So I suspect I might be missing some stuff in my filesystem, but I'm really not sure what I might need to add next.

I can boot into my system by typing in the following grub commands: set root=(hd0,msdos1) \ linux /vmlinuz root=/dev/sda1 \ boot

Once the boot messages stop, I'm left with this (I'm not sure if it's related but there's a line there that says: VFS: Mounted root (ext3 filesystem) readonly on device 8:1): boot message

I can't modify the filesystem: ln: bin/mkdir Read-only file

It's funny because I can manually mount /proc just fine: mounting /proc

Why is my file system read-only? What would I need to set up to get it to work?

share|improve this question
5  
It's not unusual for a system to boot / readonly at first and then remount it rw later on. (I think the idea is that one would like to get to binaries like the file system check e2fsck in /sbin/ without risking breaking anything.) – Ulrich Schwarz Feb 27 '12 at 11:33
    
maybe your filesystem is corrupt, have you tried to check it ? – Coren Feb 27 '12 at 13:16
up vote 5 down vote accepted

Why is your system read-only? Try to search in dmesg | less.

If you would like remount it to read-write, use mount -o remount,rw /

share|improve this answer

(add a space between o and remount)

sudo mount -o remount,rw /
share|improve this answer
    
Welcome to U&L. We expect answers to be more fully formed that this. If you believe that this would have solved the issue described by the question asker, please explain why so. You should also look into the formatting tools available to you so that you can format the content of your answer to make it more readable. – roaima May 15 at 19:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.