hi, I tried "busybox mount /dev/root /" and it mounts as read-only. But I thought mount should be read-write by default ? I tried "-o rw" it's read only. I tried "-o rw,remount" it finally works and becomes writable. Thanks in advance.
Can't reproduce. Please show a strace of misbehaving mount.
(In reply to comment #1) > Can't reproduce. > Please show a strace of misbehaving mount. Can you tell me the exact commands and steps to do the strace please ? (By the way,I think this is caused because my ext2 file system was not cleanly unmounted when turning the PC off, so when rebooting, the filesystem was mounted as read only, I dont know if this is normal, and I have to verify if that's the real origin of the problem. )
you can do: strace -o /tmp/log mount /dev/root / you should also run `dmesg` to see if there's any interesting messages in there
Why was it closed ? I am sorry but this was not resolved. How to reproduce : Set linux kernel booting as read only (without RW) : kernel /boot/vmlinuz Then inittab ::sysinit:/etc/rc.d/rc.sysinit Then rc.sysinit : busybox mount /dev/root / Result : "busybox mount" mounts as read only. # more /etc/mtab /dev/root / ext2 ro,relatime,errors=continue,user_xattr,acl 0 0 And by "default mount should mount as writeable ? No ? Thanks in advance
(In reply to linuxcbon from comment #4) we asked for more details which you did not provide. please post your /etc/fstab and the requested strace run.