<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jontas &#187; fsck</title>
	<atom:link href="http://www.f15ijp.com/tag/fsck/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.f15ijp.com</link>
	<description>My digital notepad (notes etc)</description>
	<lastBuildDate>Wed, 28 Dec 2011 18:24:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Forcing a fsck at next reboot</title>
		<link>http://www.f15ijp.com/2010/01/16/forcing-a-fsck-at-next-reboot/</link>
		<comments>http://www.f15ijp.com/2010/01/16/forcing-a-fsck-at-next-reboot/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 11:33:36 +0000</pubDate>
		<dc:creator>jontas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[e2fsck]]></category>
		<category><![CDATA[fsck]]></category>

		<guid isPermaLink="false">http://f15ijp.com/?p=155</guid>
		<description><![CDATA[Sometimes you wish to make fsck run at the next time (after the computer is powered up/rebooted). This can be achieved by Passing F to shutdown By passing the option &#8220;F&#8221; to shutdown it will force a file system check at the next boot up. shutdown -rF now By creating a /forcefsck file If the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you wish to make fsck run at the next time (after the computer is powered up/rebooted).<br />
This can be achieved by</p>
<h3>Passing F to shutdown</h3>
<p>By passing the option &#8220;F&#8221; to shutdown it will force a file system check at the next boot up.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">shutdown <span style="color: #660033;">-rF</span> now</pre></div></div>

<h3>By creating a /forcefsck file</h3>
<p>If the file &#8220;/forcefsck&#8221; exists then a fsck is forced at boot up.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>forcefsck</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.f15ijp.com/2010/01/16/forcing-a-fsck-at-next-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turning off auto fsck at boot time</title>
		<link>http://www.f15ijp.com/2010/01/16/turning-off-auto-fsck-at-boot-time/</link>
		<comments>http://www.f15ijp.com/2010/01/16/turning-off-auto-fsck-at-boot-time/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 11:23:43 +0000</pubDate>
		<dc:creator>jontas</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[fsck]]></category>

		<guid isPermaLink="false">http://f15ijp.com/?p=150</guid>
		<description><![CDATA[A Linux machine will auto check the file system if the last shutdown was unclean (the system was powered off before the file system was unmounted) or if it has passed to much time since the last check. This can be turned off in a few ways, here are some. [never check] From /etc/fstab If [...]]]></description>
			<content:encoded><![CDATA[<p>A Linux machine will auto check the file system if the last shutdown was unclean (the system was powered off before the file system was unmounted) or if it has passed to much time since the last check.</p>
<p>This can be turned off in a few ways, here are some.</p>
<h3>[never check] From /etc/fstab</h3>
<p>If the sixth option is not 0 (or missing) then fsck will do automatic checking, so change the sixth option to a 0.<br />
As root edit the /etc/fstab (use your favorite text editor or vi).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1		<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>files			ext3	defaults	<span style="color: #000000;">0</span> <span style="color: #000000;">0</span></pre></div></div>

<h3>[never check] By passing arguments via GRUB</h3>
<p>It is possible to pass the option fastboot to the kernel at boot time, this will also prevent fsck from running at boot time.<br />
Edit /boot/grub/menu.lst (use your favorite text editor or vi) [might also be called /etc/grub.conf]<br />
So an example of this would look like</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">title           Debian GNU<span style="color: #000000; font-weight: bold;">/</span>Linux, kernel 2.6.26-<span style="color: #000000;">1</span>-<span style="color: #000000;">686</span>
root            <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
kernel          <span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.26-<span style="color: #000000;">1</span>-<span style="color: #000000;">686</span> <span style="color: #007800;">root</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>root-root--volume ro fastboot
initrd          <span style="color: #000000; font-weight: bold;">/</span>initrd.img-2.6.26-<span style="color: #000000;">1</span>-<span style="color: #000000;">686</span></pre></div></div>

<h3>[only skip once] By passing options to shutdown</h3>
<p>If you only wish to bypass the automatic testing of the file system once, but keep the automatic settings saved you can use the shutdown command with the option &#8220;f&#8221;.<br />
For instance to reboot without checking</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">shutdown <span style="color: #660033;">-rf</span> now</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.f15ijp.com/2010/01/16/turning-off-auto-fsck-at-boot-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

