* 2.4.20-pre11 mounts initrd read/only
@ 2002-10-30 21:01 Phil Howard
0 siblings, 0 replies; only message in thread
From: Phil Howard @ 2002-10-30 21:01 UTC (permalink / raw)
To: linux-kernel
I just finished helping someone (who was trying to build a bootable CD
using my BICK package) debug why they were getting a failure with
2.4.20-pre11, but things worked OK with 2.4.18. After several cycles
of "try this" and finally getting his kernel output captured via a
serial port, I found the problem. The initial ram disk mounted at /
was being mounted read/only in 2.4.20-pre11 whereas it was mounted
read/write in 2.4.18 (I haven't tested 2.4.19 yet because previously
upgrading the kernel on a rescue CD wasn't a priority).
The work around is to either specify "rw" in the boot parameters or to
do a remount to remove the read/only bit during initialization. The
next version of BICK will have this dealt with.
I suspect this was just a change being made to default to read/only for
hard disk mounted root filesystems. I can see maybe a few suprises it
might cause, but mostly no problems. But it could be more problematic,
or at least confusing, for initial ram disk situations. Maybe it should
test for whether / is initrd and turn off MS_RDONLY if so.
ref: http://freshmeat.net/projects/bick/
--
-----------------------------------------------------------------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| phil-nospam@ipal.net | Texas, USA | http://ka9wgn.ham.org/ |
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-30 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-30 21:01 2.4.20-pre11 mounts initrd read/only Phil Howard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome