<?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>TuxGuides.com &#187; ext4</title>
	<atom:link href="http://www.tuxguides.com/tag/ext4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tuxguides.com</link>
	<description>Linux Guides &#38; Reviews</description>
	<lastBuildDate>Wed, 19 May 2010 14:43:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Converting Ext3 to Ext4</title>
		<link>http://www.tuxguides.com/converting-ext3-to-ext4/</link>
		<comments>http://www.tuxguides.com/converting-ext3-to-ext4/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 05:34:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>

		<guid isPermaLink="false">http://www.epicconstructions.com/?p=78</guid>
		<description><![CDATA[The new version of ubuntu brought the option of selecting the ext4 filesystem instead of ext3.  After reading some reviews, I chose to do this on mine, and noticed quite a speed increase (benchmarks: http://www.linuxinsight.com/first_benchmarks_of_the_ext4_file_system.html). After installing, my root partition was an ext4 partition, but my home partition was not since it was on a [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of ubuntu brought the option of selecting the ext4 filesystem instead of ext3.  After reading some reviews, I chose to do this on mine, and noticed quite a speed increase (benchmarks: <a href="http://www.linuxinsight.com/first_benchmarks_of_the_ext4_file_system.html">http://www.linuxinsight.com/first_benchmarks_of_the_ext4_file_system.html</a>).</p>
<p>After installing, my root partition was an ext4 partition, but my home partition was not since it was on a separate partition.  I decided to convert my home partition over to ext4 to get all of the benefits that it provides.</p>
<p>WARNING: Do not do this to a root partition unless you know what you are doing.  I have not tested this/looked it up, and I do not know how this will end.  Also, as with all tweaks (especially on a filesystem), there is some danger of messing up your computer.  I am not responsible for anything that happens.  Make sure all of your files are backed up before attempting this.</p>
<h3>Converting</h3>
<p>Make sure your operating system supports ext4, and if not, apply any relevant patches to the kernel.</p>
<p>Make sure you are using a live cd, or do not have the file system mounted.  Then, unmount the volume that you are converting, and convert it.</p>
<p>Example with /dev/sda1 (run &#8220;fdisk -l&#8221; to see your filesystems):</p>
<p><span style="color: #339966;"><code>umount /dev/sda1<br />
tune2fs -O extents,uninit_bg,dir_index /dev/sda1</code></span></p>
<p><span id="more-78"></span></p>
<h3>Mounting</h3>
<p>Now that your filesystem is converted to ext4, you need to mount the drive.  To mount the drive to a directory for the current session (not automatically on reboot):</p>
<p><span style="color: #339966;"><code>mount -t ext4 /dev/sda /directory/to/mount/to</code></span></p>
<p>To mount the drive permanently, you need to add it to your fstab:</p>
<p><span style="color: #339966;"><code>UUID=your-uuid-number-here /directory/to/mount/to   ext4    relatime,errors=remount-ro 0   1</code></span></p>
<p>Restart your computer.</p>
<h3>Booting from ext4 partition</h3>
<p>If you are booting from an ext4 partition (if your /boot directory is in your / directory, or if you are converting your /boot directory) you need to apply a few more tweaks before rebooting:</p>
<p><span style="color: #339966;"><code>sudo gedit /boot/grub/menu.lst</code></span></p>
<p>Then, find your operating system and add the following to the end of the kernel line:</p>
<p><span style="color: #339966;"><code>rootfstype=ext4</code></span></p>
<p>Now, update grub:</p>
<p><span style="color: #339966;"><code>sudo update-grub</code></span></p>
<p>Update your fstab the same way you would have above:</p>
<p><span style="color: #339966;"><code>UUID=your-uuid-number-here /directory/to/mount/to   ext4    relatime,errors=remount-ro 0   1</code></span></p>
<p>Restart your computer.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2078590910379095";
google_ad_slot = "2584559536";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuxguides.com/converting-ext3-to-ext4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
