<?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>Tribulaciones.org &#187; mount</title>
	<atom:link href="http://tribulaciones.org/tag/mount/feed/" rel="self" type="application/rss+xml" />
	<link>http://tribulaciones.org</link>
	<description>A blog about me and whatever insterests me</description>
	<lastBuildDate>Wed, 27 Jan 2010 22:12:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Upgrading my laptop to ext4</title>
		<link>http://tribulaciones.org/2009/03/upgrading-my-laptop-to-ext4/</link>
		<comments>http://tribulaciones.org/2009/03/upgrading-my-laptop-to-ext4/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 12:08:56 +0000</pubDate>
		<dc:creator>jsogo</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[klibc]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://tribulaciones.org/?p=110</guid>
		<description><![CDATA[Warning: Don&#8217;t upgrade root partition (/) or the partition in which /boot is placed unless you know what you are doing. More on this later.
Warning2: Make backups of your data.
Last Friday I went on upgrading to ext4 my laptop. I decided to go first with /home partition, as / has also /boot and can give [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Warning:</strong> Don&#8217;t upgrade root partition (/) or the partition in which /boot is placed unless you know what you are doing. More on this later.<br />
<strong>Warning2: </strong>Make backups of your data.</p>
<p>Last Friday I went on <a href="http://kernelnewbies.org/Ext4">upgrading to ext4</a> my laptop. I decided to go first with /home partition, as / has also /boot and can give some problems if not handled with care. Upgrading it is quite easy, and fast, as the old data is not upgraded, only new files will be added using new features.</p>
<p>First, I installed latest linux-image package to start using kernel version 2.6.28, which includes production ready ext4 support. After rebooting, I logged in as root so I could umount /home. The steps to upgrade are as follows:<br />
<code><br />
# uname -a<br />
Linux gimli 2.6.28-1-686 #1 SMP Mon Feb 23 03:13:24 UTC 2009 i686 GNU/Linux<br />
# umount /home<br />
# tune2fs -O extents,uninit_bg,dir_index /dev/home_partition<br />
# fsck -pfD /dev/home_partition<br />
# mount /home<br />
</code><br />
You MUST run fsck. If not, ext4 won&#8217;t mount your filesystem, so don&#8217;t forgive this step if you&#8217;re upgrading your / partition. You will see some checksums errors appear. Don&#8217;t be afraid, that&#8217;s expected, and that&#8217;s why -p is added to fsck command, you it is not asking which action to perform in every error.</p>
<p><strong>Upgrading partition containing /boot</strong><br />
For upgrading your / partition you have to take into account what grub and klibc version you have installed. The former is need so grub can read your kernel image from filesystem, and the second is needed due a <a href="http://bugs.debian.org/510758">bug</a> that made initramfs detect ext4 filesystems as ext3, and passing incorrect option to mount, which failed. Versions in Debian known to work are libklibc &gt;=1.5.15-1 and grub2 (packaged as grub-pc). Make sure you have these versions installed before trying to go to ext4.<br />
Also, as you have to upgrade having your partition unmounted, you will have to get a console before root partition is mounted. You can do that by passing <del datetime="2009-03-15T16:30:38+00:00">mount=break</del> break=mount to your boot options in grub.</p>
<p>ENJOY!</p>
]]></content:encoded>
			<wfw:commentRss>http://tribulaciones.org/2009/03/upgrading-my-laptop-to-ext4/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
