AnsweredAssumed Answered

How can I boot the rootfs readonly?

Question asked by Blangero Wang on Feb 14, 2014
Latest reply on Feb 20, 2014 by Blangero Wang

Hi:

     I want to load rootfs readonly on my imx6q, the rootfs is debian_armhf.

     In uboot I set the args as:

 

     setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk1p1 rootwait ro video=mxcfb0:dev=lcd,1440x900,if=RGB24'

 

     and I do get verbose in bootup:

    

     EXT3-fs (mmcblk1p1): mounted filesystem with writeback data mode

     VFS: Mounted root (ext3 filesystem) readonly on device 179:25.

 

     But in the system I still get rw in mtab and the rootfs is still writable.

 

     How can I solve it?

 

     Thanks!

Outcomes