<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobRistroph</id>
	<title>SlackWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RobRistroph"/>
	<link rel="alternate" type="text/html" href="https://www.slackwiki.com/Special:Contributions/RobRistroph"/>
	<updated>2026-04-08T02:53:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=218</id>
		<title>Zip 2GB Limit</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=218"/>
		<updated>2009-06-24T05:39:32Z</updated>

		<summary type="html">&lt;p&gt;RobRistroph: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tips]]&lt;br /&gt;
&lt;br /&gt;
== Fixing the 2GB file size limit in unzip ==&lt;br /&gt;
&lt;br /&gt;
On some SlackWare versions, up to at least 12.0, the &amp;quot;unzip&amp;quot; command cannot unpack a file that is bigger than 2 GB.  This applies to the file that is created  being 2 GB, the .zip compressed file might be less than 2 GB.  When the unzip command attempts to create the greater than 2 GB file, it makes the file up until it is 2 GB, and then produces this error message (PROP_ENT.TXT is the file that is bigger than 2 GB in this case) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PROP_ENT.TXT:  write error (disk full?).  Continue? (y/n/^C) y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This procedure will update the unzip command to fix this.  It may also fix problems in creating a .zip file that is bigger than 2 GB, but I have not been able to test that.&lt;br /&gt;
&lt;br /&gt;
With these commands I retrieved the source package and unpacked the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir infozip&lt;br /&gt;
cd infozip&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/infozip.SlackBuild&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/slack-desc&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/unzip552.tar.bz2&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/zip232.tar.bz2&lt;br /&gt;
tar xjvf unzip552.tar.bz2&lt;br /&gt;
tar xjvf zip232.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I next modified the Makefiles in the two source trees to use the flags &amp;quot;-DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; as described here: http://www.info-zip.org/FAQ.html#limits&lt;br /&gt;
&lt;br /&gt;
To do that, I edited the file unzip-5.52/unix/Makefile and changed line 776 from &amp;quot;&amp;lt;nowiki&amp;gt;CF=&amp;quot;-O3 -Wall -I. -DASM_CRC $(LOC)&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;quot; to &amp;quot;&amp;lt;nowiki&amp;gt;CF=&amp;quot;-O3 -Wall -I. -DASM_CRC $(LOC) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
I then editted zip-2.32/unix/Makefile and changed line 49 from &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)&amp;quot; to &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; .  &lt;br /&gt;
&lt;br /&gt;
The second Makefile edit might not be necessary, it should fix any problems you are having with the &amp;quot;zip&amp;quot; command (the first Makefile fixes problems with the &amp;quot;unzip&amp;quot; command).&lt;br /&gt;
&lt;br /&gt;
After editing those files, I re-tarred up the directories with the now fixed Makefiles, and then removed the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar cjvf unzip552.tar.bz2 unzip-5.52/ &lt;br /&gt;
tar cjvf zip232.tar.bz2 zip-2.32/&lt;br /&gt;
rm -rf unzip-5.52/ zip-2.32/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then ran the SlackBuild to make the package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod a+x infozip.SlackBuild&lt;br /&gt;
./infozip.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point the slackware package will be in /tmp/infozip-5.52-i486-2.tgz.  You might wish to copy it somewhere if you are going to install it on a number of computers or save it.  You can install it with &amp;quot;installpkg /tmp/infozip-5.52-i486-2.tgz&amp;quot; like a normal package.&lt;br /&gt;
&lt;br /&gt;
If someone knows this is fixed in recent SlackWare versions, or has uploaded a precompiled package somewhere, please update this wiki.&lt;/div&gt;</summary>
		<author><name>RobRistroph</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=217</id>
		<title>Zip 2GB Limit</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=217"/>
		<updated>2009-06-24T05:37:35Z</updated>

		<summary type="html">&lt;p&gt;RobRistroph: /* Fixing the 2GB file size limit in unzip */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Catagory:Tips]]&lt;br /&gt;
&lt;br /&gt;
== Fixing the 2GB file size limit in unzip ==&lt;br /&gt;
&lt;br /&gt;
On some SlackWare versions, up to at least 12.0, the &amp;quot;unzip&amp;quot; command cannot unpack a file that is bigger than 2 GB.  This applies to the file that is created  being 2 GB, the .zip compressed file might be less than 2 GB.  When the unzip command attempts to create the greater than 2 GB file, it makes the file up until it is 2 GB, and then produces this error message (PROP_ENT.TXT is the file that is bigger than 2 GB in this case) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PROP_ENT.TXT:  write error (disk full?).  Continue? (y/n/^C) y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This procedure will update the unzip command to fix this.  It may also fix problems in creating a .zip file that is bigger than 2 GB, but I have not been able to test that.&lt;br /&gt;
&lt;br /&gt;
With these commands I retrieved the source package and unpacked the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir infozip&lt;br /&gt;
cd infozip&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/infozip.SlackBuild&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/slack-desc&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/unzip552.tar.bz2&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/zip232.tar.bz2&lt;br /&gt;
tar xjvf unzip552.tar.bz2&lt;br /&gt;
tar xjvf zip232.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I next modified the Makefiles in the two source trees to use the flags &amp;quot;-DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; as described here: http://www.info-zip.org/FAQ.html#limits&lt;br /&gt;
&lt;br /&gt;
To do that, I edited the file unzip-5.52/unix/Makefile and changed line 776 from &amp;quot;&amp;lt;nowiki&amp;gt;CF=&amp;quot;-O3 -Wall -I. -DASM_CRC $(LOC)&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;quot; to &amp;quot;&amp;lt;nowiki&amp;gt;CF=&amp;quot;-O3 -Wall -I. -DASM_CRC $(LOC) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
I then editted zip-2.32/unix/Makefile and changed line 49 from &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)&amp;quot; to &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; .  &lt;br /&gt;
&lt;br /&gt;
The second Makefile edit might not be necessary, it should fix any problems you are having with the &amp;quot;zip&amp;quot; command (the first Makefile fixes problems with the &amp;quot;unzip&amp;quot; command).&lt;br /&gt;
&lt;br /&gt;
After editing those files, I re-tarred up the directories with the now fixed Makefiles, and then removed the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar cjvf unzip552.tar.bz2 unzip-5.52/ &lt;br /&gt;
tar cjvf zip232.tar.bz2 zip-2.32/&lt;br /&gt;
rm -rf unzip-5.52/ zip-2.32/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then ran the SlackBuild to make the package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod a+x infozip.SlackBuild&lt;br /&gt;
./infozip.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point the slackware package will be in /tmp/infozip-5.52-i486-2.tgz.  You might wish to copy it somewhere if you are going to install it on a number of computers or save it.  You can install it with &amp;quot;installpkg /tmp/infozip-5.52-i486-2.tgz&amp;quot; like a normal package.&lt;br /&gt;
&lt;br /&gt;
If someone knows this is fixed in recent SlackWare versions, or has uploaded a precompiled package somewhere, please update this wiki.&lt;/div&gt;</summary>
		<author><name>RobRistroph</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=216</id>
		<title>Zip 2GB Limit</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=216"/>
		<updated>2009-06-23T21:57:08Z</updated>

		<summary type="html">&lt;p&gt;RobRistroph: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Catagory:Tips]]&lt;br /&gt;
&lt;br /&gt;
== Fixing the 2GB file size limit in unzip ==&lt;br /&gt;
&lt;br /&gt;
On some SlackWare versions, up to at least 12.0, the &amp;quot;unzip&amp;quot; command cannot unpack a file that is bigger than 2 GB.  This applies to the file that is created  being 2 GB, the .zip compressed file might be less than 2 GB.  When the unzip command attempts to create the greater than 2 GB file, it makes the file up until it is 2 GB, and then produces this error message (PROP_ENT.TXT is the file that is bigger than 2 GB in this case) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PROP_ENT.TXT:  write error (disk full?).  Continue? (y/n/^C) y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This procedure will update the unzip command to fix this.  It may also fix problems in creating a .zip file that is bigger than 2 GB, but I have not been able to test that.&lt;br /&gt;
&lt;br /&gt;
With these commands I retrieved the source package and unpacked the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir infozip&lt;br /&gt;
cd infozip&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/infozip.SlackBuild&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/slack-desc&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/unzip552.tar.bz2&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/zip232.tar.bz2&lt;br /&gt;
tar xjvf unzip552.tar.bz2&lt;br /&gt;
tar xjvf zip232.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I next modified the Makefiles in the two source trees to use the flags &amp;quot;-DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; as described here: http://www.info-zip.org/FAQ.html#limits&lt;br /&gt;
&lt;br /&gt;
To do that, I edited the file unzip-5.52/unix/Makefile and changed line 50 from &amp;quot;CF = -O -I. -DUNIX $(LOC)&amp;quot; to &amp;quot;CF = -O -I. -DUNIX $(LOC) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot;.  I then editted zip-2.32/unix/Makefile and changed line 49 from &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)&amp;quot; to &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; .  The second Makefile edit might not be necessary, it should fix any problems you are having with the &amp;quot;zip&amp;quot; command (the first Makefile fixes problems with the &amp;quot;unzip&amp;quot; command).&lt;br /&gt;
&lt;br /&gt;
After editing those files, I re-tarred up the directories with the now fixed Makefiles, and then removed the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar cjvf unzip552.tar.bz2 unzip-5.52/ &lt;br /&gt;
tar cjvf zip232.tar.bz2 zip-2.32/&lt;br /&gt;
rm -rf unzip-5.52/ zip-2.32/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then ran the SlackBuild to make the package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod a+x infozip.SlackBuild&lt;br /&gt;
./infozip.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point the slackware package will be in /tmp/infozip-5.52-i486-2.tgz.  You might wish to copy it somewhere if you are going to install it on a number of computers or save it.  You can install it with &amp;quot;installpkg /tmp/infozip-5.52-i486-2.tgz&amp;quot; like a normal package.&lt;br /&gt;
&lt;br /&gt;
If someone knows this is fixed in recent SlackWare versions, or has uploaded a precompiled package somewhere, please update this wiki.&lt;/div&gt;</summary>
		<author><name>RobRistroph</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=215</id>
		<title>Zip 2GB Limit</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Zip_2GB_Limit&amp;diff=215"/>
		<updated>2009-06-23T21:55:02Z</updated>

		<summary type="html">&lt;p&gt;RobRistroph: Created page with 'Catagory:Tips  On some SlackWare versions, up to at least 12.0, the &amp;quot;unzip&amp;quot; command cannot unpack a file that is bigger than 2 GB.  This applies to the file that is created  ...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Catagory:Tips]]&lt;br /&gt;
&lt;br /&gt;
On some SlackWare versions, up to at least 12.0, the &amp;quot;unzip&amp;quot; command cannot unpack a file that is bigger than 2 GB.  This applies to the file that is created  being 2 GB, the .zip compressed file might be less than 2 GB.  When the unzip command attempts to create the greater than 2 GB file, it makes the file up until it is 2 GB, and then produces this error message (PROP_ENT.TXT is the file that is bigger than 2 GB in this case) :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PROP_ENT.TXT:  write error (disk full?).  Continue? (y/n/^C) y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This procedure will update the unzip command to fix this.  It may also fix problems in creating a .zip file that is bigger than 2 GB, but I have not been able to test that.&lt;br /&gt;
&lt;br /&gt;
With these commands I retrieved the source package and unpacked the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir infozip&lt;br /&gt;
cd infozip&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/infozip.SlackBuild&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/slack-desc&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/unzip552.tar.bz2&lt;br /&gt;
wget ftp://slackware.cs.utah.edu/pub/slackware/slackware-12.0/source/a/infozip/zip232.tar.bz2&lt;br /&gt;
tar xjvf unzip552.tar.bz2&lt;br /&gt;
tar xjvf zip232.tar.bz2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I next modified the Makefiles in the two source trees to use the flags &amp;quot;-DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; as described here: http://www.info-zip.org/FAQ.html#limits&lt;br /&gt;
&lt;br /&gt;
To do that, I edited the file unzip-5.52/unix/Makefile and changed line 50 from &amp;quot;CF = -O -I. -DUNIX $(LOC)&amp;quot; to &amp;quot;CF = -O -I. -DUNIX $(LOC) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot;.  I then editted zip-2.32/unix/Makefile and changed line 49 from &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP)&amp;quot; to &amp;quot;CFLAGS_NOOPT = -I. -DUNIX $(LOCAL_ZIP) -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&amp;quot; .  The second Makefile edit might not be necessary, it should fix any problems you are having with the &amp;quot;zip&amp;quot; command (the first Makefile fixes problems with the &amp;quot;unzip&amp;quot; command).&lt;br /&gt;
&lt;br /&gt;
After editing those files, I re-tarred up the directories with the now fixed Makefiles, and then removed the source trees:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar cjvf unzip552.tar.bz2 unzip-5.52/ &lt;br /&gt;
tar cjvf zip232.tar.bz2 zip-2.32/&lt;br /&gt;
rm -rf unzip-5.52/ zip-2.32/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then ran the SlackBuild to make the package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod a+x infozip.SlackBuild&lt;br /&gt;
./infozip.SlackBuild&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point the slackware package will be in /tmp/infozip-5.52-i486-2.tgz.  You might wish to copy it somewhere if you are going to install it on a number of computers or save it.  You can install it with &amp;quot;installpkg /tmp/infozip-5.52-i486-2.tgz&amp;quot; like a normal package.&lt;br /&gt;
&lt;br /&gt;
If someone knows this is fixed in recent SlackWare versions, or has uploaded a precompiled package somewhere, please update this wiki.&lt;/div&gt;</summary>
		<author><name>RobRistroph</name></author>
	</entry>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Forced_Fsck&amp;diff=214</id>
		<title>Forced Fsck</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Forced_Fsck&amp;diff=214"/>
		<updated>2009-06-23T20:29:14Z</updated>

		<summary type="html">&lt;p&gt;RobRistroph: /* Bypassing A Hung Forced Fsck */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tips]]&lt;br /&gt;
&lt;br /&gt;
A Forced Fsck (forced file check) happens on boot up due to one of three things:&lt;br /&gt;
&lt;br /&gt;
:1) The system was not cleanly shutdown previously (you just turned off the power) and the file system was not cleanly un-mounted.&lt;br /&gt;
&lt;br /&gt;
:2) The maximum number of sucessive re-boots (re-mounts ([[Mount Count|mount count]])) between fsck checks has been reached (you have reached [[Maximum Mount Count]]).&lt;br /&gt;
&lt;br /&gt;
:3) A period of time has passed between fscks that exceed the filesystem's last checked criteria.&lt;br /&gt;
&lt;br /&gt;
==Manually Forcing a Forced Fsck==&lt;br /&gt;
&lt;br /&gt;
To force a check on the next boot, simply create the file '/etc/forcefsck' and reboot:&lt;br /&gt;
:&amp;lt;code&amp;gt;touch /etc/forcefsck&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Bypassing A Forced Fsck==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;METHOD 1: Increase the Mount Count/Last-checked time span-&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The only way to bypass a Forced Fsck is to boot the machine from another boot medium (e.g. a boot CD) and use &amp;lt;code&amp;gt;tune2fs&amp;lt;/code&amp;gt; to increase the Maximum Mount Count or the Last-checked Time span.&lt;br /&gt;
&lt;br /&gt;
To increase the Maximum Mount Count: &amp;lt;code&amp;gt;tune2fs -c &amp;lt;i&amp;gt;new_mount_count filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
EXAMPLE: &amp;lt;code&amp;gt;tune2fs -c 50 /dev/hda1&amp;lt;/code&amp;gt; - This will cause a fsck after 50 re-mounts.&lt;br /&gt;
&lt;br /&gt;
To increase the Last-checked Time span: &amp;lt;code&amp;gt;tune2fs -i &amp;lt;i&amp;gt;new_time_span filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
EXAMPLE: &amp;lt;code&amp;gt;tune2fs -i 3m /dev/hda1&amp;lt;/code&amp;gt; - This will cause a fsck after 3 months.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;GOTCHA:&amp;lt;/b&amp;gt; If you are running a RAID Array, make sure you load a kernel image that supports RAID when booting! See the RAID Array tips.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;METHOD 2: Manually run fsck-&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
See &amp;lt;i&amp;gt;Bypassing A Hung Forced Fsck&amp;lt;/i&amp;gt; instructions below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Bypassing A Hung Forced Fsck==&lt;br /&gt;
Sometimes, a forced fsck will occur and may not complete.  It may hang or just keep starting over.  To (down and dirty) fix this, boot the machine from a bootable disk (3.5&amp;quot; or CD), DO NOT mount the unchecked filesystem and manually run fsck.  You may have to run any one of three modes to complete the check:&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;fsck -f &amp;lt;i&amp;gt;filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; - Force checking even if the file system seems clean.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;fsck -c &amp;lt;i&amp;gt;filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; - This option causes e2fsck to run the badblocks program to find any blocks which are bad on the filesystem, and then marks them as bad by adding them to the bad block inode. If this option is specified twice, then the bad block scan will be done using a non-destructive read-write test.  Be aware that this takes a long time, such as days on large disk with the the double -c set, but it does tend to fix problematic disks when it does complete.&amp;lt;br&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;fsck -p &amp;lt;i&amp;gt;filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; - Automatically repair (&amp;quot;preen&amp;quot;) the file system without any questions.&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;b&amp;gt;NOTE: &amp;lt;code&amp;gt;&amp;lt;i&amp;gt;filesystem&amp;lt;/i&amp;gt;&amp;lt;/code&amp;gt; = boot partition (e.g. &amp;lt;code&amp;gt;/dev/hda1&amp;lt;/code&amp;gt;)&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;GOTCHA:&amp;lt;/b&amp;gt; If you are running a RAID Array, make sure you load a kernel image that supports RAID when booting! See the [[RAID_Array_%28Hardware%29|RAID Array tips]].&lt;br /&gt;
&lt;br /&gt;
After a successful completion of anyone of the above, your filesystem's [[Mount Count|mount count]] will be reset to zero and you should be able to boot normally again.&lt;/div&gt;</summary>
		<author><name>RobRistroph</name></author>
	</entry>
</feed>