<?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>MohdAzam &#187; mount home partition</title>
	<atom:link href="http://blog.mohdazam.com/tag/mount-home-partition/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mohdazam.com</link>
	<description>Knowledge talks, wisdom listens...</description>
	<lastBuildDate>Thu, 04 Mar 2010 08:47:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Mount /home to its own partition</title>
		<link>http://blog.mohdazam.com/mount-home-to-its-own-partition</link>
		<comments>http://blog.mohdazam.com/mount-home-to-its-own-partition#comments</comments>
		<pubDate>Tue, 28 Apr 2009 02:00:38 +0000</pubDate>
		<dc:creator>CrusheD_LameR</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mount home partition]]></category>
		<category><![CDATA[ubuntu linux]]></category>

		<guid isPermaLink="false">http://blog.mohdazam.com/?p=314</guid>
		<description><![CDATA[Yesterday, I formatted my laptop from Ubuntu 8.04 to Ubuntu 9.04, luckily i don&#8217;t have to backup all of my files, as I stored my files under the /home partition&#8230;Having the “/home” directory tree on it’s own partition has several advantages, the most common known advantages perhaps we can reinstall OS or even a different [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I formatted my laptop from Ubuntu 8.04 to Ubuntu 9.04, luckily i don&#8217;t have to backup all of my files, as I stored my files under the /home partition&#8230;Having the “/home” directory tree on it’s own partition has several advantages, the most common known advantages perhaps we can reinstall OS or even a different distro of Linux without loosing all the data. We can done this by keeping the /home partition unchanged and reinstalling the OS which goes in the &#8220;/&#8221; which means root directory, the root directory also can be on a seperate partition.</p>
<p>It is real simple to move the &#8220;/home&#8221; to it&#8217;s own partition. What we need to do is:-</p>
<p><strong>1#</strong></p>
<p>Create a partition of sufficient size for your “/home” directory. You may have to use new hard drive, or adjust/resize the existing partition on your current hard-drive to do this. Im sure you know what it means..so let we skip this.</p>
<p><strong>2#</strong></p>
<p>After you upgraded your Linux OS, you will notice that new / directory with new /home are made, what you need to do is change the current /home on new OS to /home_old</p>
<blockquote><p>$sudo mv home/ home_old/</p></blockquote>
<p><strong>3#</strong></p>
<p>Next, create new home on / directory</p>
<blockquote><p>$sudo mkdir home</p></blockquote>
<p><span id="more-314"></span><strong>4#</strong></p>
<blockquote><p>$sudo mount -t ext3 /dev/sda5  /mnt/Windows</p></blockquote>
<p>Please note that, sda1 on my laptop is my OS partition, and sda5 is my &#8220;/home&#8221; directory, and also sda3 is partition for my Windows XP</p>
<p><strong>5#</strong></p>
<p>And next, we need to update the /etc/fstab, just add the following line on /etc/fstab</p>
<blockquote><p>/dev/sda5 /home ext3 nodev,nosuid 0 5</p></blockquote>
<p>the /dev/sda5 is my /home partition to be mounted on /home using ext3 filesystem, &#8217;0&#8242; means my harddisk and &#8217;5&#8242; means my partition for /home</p>
<p><strong>6#</strong></p>
<p>After you done all the setting above, and you confirm that you&#8217;re correct, then you can delete home_old</p>
<blockquote><p>$sudo rm -r home_old/</p></blockquote>
<p><strong>7#</strong></p>
<p>Next, reboot your machine, and you will get your old bookmark, desktop setting, home/ files and folders..</p>
<p>Good Luck&#8230;~!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mohdazam.com/mount-home-to-its-own-partition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
