you just need to add "ro" to your kernel boot parameters as in
This will make the kernel mount the root filesystem readonly.
-------- Original Message --------
Subject: [coLinux-devel] can rootfs mount read only at boot? (19-Jul-2004 0:45)
> My root filesystem is alway mountet as "rw" on boot.
> Have coLinue a parameter to mount a partion as "read only" at boot
> process before init starts the runscripts?
> Problem is a filesystem check via fsck.ext2. This can only run, if
> partion is not mounted or is read only.
> My short help is setting "fastboot" as kernel-parameter, my system
> starts without the fsck in runscripts. Than I go into single user mode
> "init s", mount rootfs read only and do fsck.sxt2 manualy.
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> coLinux-devel mailing list
From: Henry Nestler <Henry.Ne@ar...> - 2004-07-22 08:25:03
> you just need to add "ro" to your kernel boot parameters as in
> <bootparams>root=/dev/cobd/0 ro</bootparams>
> This will make the kernel mount the root filesystem readonly.
Oh, how simple. The same as in all other boot tools. I need this for my
dual boot on a ext2 partion (for fsck at boot).
Get latest updates about Open Source Projects, Conferences and News.