<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Rpi%2FFile_System_Corruption_Prevention</id>
	<title>Rpi/File System Corruption Prevention - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.playfulexploration.com/index.php?action=history&amp;feed=atom&amp;title=Rpi%2FFile_System_Corruption_Prevention"/>
	<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Rpi/File_System_Corruption_Prevention&amp;action=history"/>
	<updated>2026-11-19T23:27:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Rpi/File_System_Corruption_Prevention&amp;diff=1073&amp;oldid=prev</id>
		<title>Peter at 07:41, 30 January 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Rpi/File_System_Corruption_Prevention&amp;diff=1073&amp;oldid=prev"/>
		<updated>2017-01-30T07:41:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:41, 30 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Some services (like apache2) might fail to start, because they can&amp;#039;t write to disk. You might have to check individual services to figure out what they are trying to write and resolve it appropriately. For eg., apache2 writes log files /var/log/apache2. It is best to disable logging. If there is not too much logging, you could map the log folder to /tmp (tmpfs -- as shown in mount).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Some services (like apache2) might fail to start, because they can&amp;#039;t write to disk. You might have to check individual services to figure out what they are trying to write and resolve it appropriately. For eg., apache2 writes log files /var/log/apache2. It is best to disable logging. If there is not too much logging, you could map the log folder to /tmp (tmpfs -- as shown in mount).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Super Cap Power Backup ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Buckboost converters:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* http://ams.com/eng/layout/set/layer/Products/Power-Management/DC-DC-Boost-Converters/(l)/1&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* http://electronicdesign.com/products/2-buck-boost-supercapacitor-charger-features-bidirectional-operation&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* http://www.digikey.com/products/en/integrated-circuits-ics/pmic-voltage-regulators-dc-dc-switching-regulators/739?FV=204000d%2C204000f%2C2040813%2C2040815%2C2040840%2C2040845%2C2040848%2C2040007%2C2040060%2C1654000e%2C165400a1%2C16540012%2C16540137%2C16540021%2C16540028%2C16540038%2C16540051%2C16540057%2C1bcc0069%2C1bcc007c%2C1bcc00ad%2C1bcc00d0%2C1bcc00f5%2C1bcc0019%2C1bcc001c%2C1bcc0128%2C1bcc0020%2C1bcc0143%2C1bcc0153%2C1bcc015b%2C1bcc0023%2C1bcc0178%2C1bcc0186%2C1bcc0192%2C1bcc019a%2C1bcc019e%2C1bcc002b%2C1bcc0031%2C1bcc0032%2C1bcc01f8%2C1bcc0033%2C1bcc0038%2C1bcc0006%2C1f140000%2Cffe002e3%2C16fc00a2%2C16fc0040&amp;amp;mnonly=0&amp;amp;newproducts=0&amp;amp;ColumnSort=1000011&amp;amp;page=1&amp;amp;stock=0&amp;amp;pbfree=0&amp;amp;rohs=0&amp;amp;k=BUCK+BOOST+&amp;amp;quantity=&amp;amp;ptm=0&amp;amp;fid=0&amp;amp;pageSize=25&amp;amp;pkeyword=BUCK+BOOST+&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://wiki.playfulexploration.com/index.php?title=Rpi/File_System_Corruption_Prevention&amp;diff=1072&amp;oldid=prev</id>
		<title>Peter: Created page with &quot;== How to mark the / and /boot partitions read-only == See: http://geraldnaveen.blogspot.com/2013/11/fixing-raspberry-pi-filesystem.html  You could do this from Pi itself, or...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.playfulexploration.com/index.php?title=Rpi/File_System_Corruption_Prevention&amp;diff=1072&amp;oldid=prev"/>
		<updated>2017-01-29T00:08:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== How to mark the / and /boot partitions read-only == See: http://geraldnaveen.blogspot.com/2013/11/fixing-raspberry-pi-filesystem.html  You could do this from Pi itself, or...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== How to mark the / and /boot partitions read-only ==&lt;br /&gt;
See: http://geraldnaveen.blogspot.com/2013/11/fixing-raspberry-pi-filesystem.html&lt;br /&gt;
&lt;br /&gt;
You could do this from Pi itself, or on a different machine. Just edit /etc/fstab and add &amp;#039;ro&amp;#039; in the flags as shown below:&lt;br /&gt;
&lt;br /&gt;
 /dev/mmcblk0p1  /boot       vfat    defaults,ro                0       2&lt;br /&gt;
 /dev/mmcblk0p2  /           ext4    defaults,ro,noatime        0       1&lt;br /&gt;
&lt;br /&gt;
Now reboot the Pi and it should boot with both these mount points in read-only mode. You could do a mount to verify, it should look something similar to this:&lt;br /&gt;
&lt;br /&gt;
 /dev/root on / type ext4 (ro,noatime,data=ordered)&lt;br /&gt;
 devtmpfs on /dev type devtmpfs (rw,relatime,size=216108k,nr_inodes=54027,mode=755)&lt;br /&gt;
 tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=44876k,mode=755)&lt;br /&gt;
 tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)&lt;br /&gt;
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)&lt;br /&gt;
 sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)&lt;br /&gt;
 tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=89740k)&lt;br /&gt;
 devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)&lt;br /&gt;
 /dev/mmcblk0p1 on /boot type vfat (ro,relatime,fmask=0022, dmask=0022, codepage=cp437, iocharset=ascii,shortname=mixed, errors=remount-ro)&lt;br /&gt;
 tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=89740k)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Some services (like apache2) might fail to start, because they can&amp;#039;t write to disk. You might have to check individual services to figure out what they are trying to write and resolve it appropriately. For eg., apache2 writes log files /var/log/apache2. It is best to disable logging. If there is not too much logging, you could map the log folder to /tmp (tmpfs -- as shown in mount).&lt;/div&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
</feed>