<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Linux and unix help center and how to&#039;s</title>
	<atom:link href="http://linuxhowtos.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxhowtos.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 26 Jun 2009 06:53:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='linuxhowtos.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Linux and unix help center and how to&#039;s</title>
		<link>http://linuxhowtos.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://linuxhowtos.wordpress.com/osd.xml" title="Linux and unix help center and how to&#039;s" />
	<atom:link rel='hub' href='http://linuxhowtos.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How to mount windows drives in linux?</title>
		<link>http://linuxhowtos.wordpress.com/2009/06/25/welcome/</link>
		<comments>http://linuxhowtos.wordpress.com/2009/06/25/welcome/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 15:45:30 +0000</pubDate>
		<dc:creator>unix1</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linuxhowtos.wordpress.com/?p=6</guid>
		<description><![CDATA[Here is a simple method for mounting windows filesystem into your linux system. Follow the steps : 1. First find out the windows partition by using fdisk -l command. Ex : j@j-laptop:~$ sudo fdisk -l [sudo] password for j: Disk /dev/sda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxhowtos.wordpress.com&amp;blog=8323587&amp;post=6&amp;subd=linuxhowtos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a simple method for mounting windows filesystem into your linux system.<br />
Follow the steps :</p>
<p>1. First find out the windows partition by using fdisk -l command.</p>
<p> Ex :<br />
   <code>j@j-laptop:~$ sudo fdisk -l<br />
[sudo] password for j: </p>
<p>Disk /dev/sda: 40.0 GB, 40007761920 bytes<br />
255 heads, 63 sectors/track, 4864 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x9fee9fee</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1        1020     8193118+   7  HPFS/NTFS<br />
/dev/sda3            1660        4863    25736098+   7  HPFS/NTFS<br />
/dev/sda4            1021        1659     5132767+   5  Extended<br />
/dev/sda5            1052        1659     4883728+  83  Linux<br />
/dev/sda6            1021        1051      248944+  82  Linux swap / Solaris</p>
<p>Partition table entries are not in disk order<br />
</code></p>
<p>2. Windows partitions are those with HPFS/NTFS or Fat option under Sytem in the above output.</p>
<p>Mine is /dev/sda1 and /dev/sda3</p>
<p>3. Make a folder in your linux system where you want to mount the windows partitions</p>
<p>Ex :<br />
<code><br />
j@j-laptop:~$ sudo mkdir /media/c<br />
j@j-laptop:~$ sudo mkdir /media/d<br />
</code></p>
<p>You can change &#8216; /media/c &#8216; and &#8216;/media/d &#8216; to any folder of your choice.</p>
<p>4. Copy paste this shell script into a text file and save in your home folder. Name the text file as drive<br />
Dont forget to replace &#8216;  /dev/sda1 &#8216; &#8216; /media/c &#8216; and &#8216; /dev/sda3 &#8216;  &#8216; /media/d &#8216; with the corresponding folders of your system. If there are more than two partitions you can add it along with it as next mount or unmount command.</p>
<p><code><br />
#!/bin/bash<br />
#j<br />
USAGE="Usage : $0 [-m|-u]"</p>
<p>if [ "$#" -lt 1 ] || [ "$#" -gt 1  ] ; then<br />
echo "Error: Check the arguments" &gt;&amp;2<br />
echo "$USAGE"<br />
exit 1<br />
fi</p>
<p>case "$1" in<br />
-m)<br />
echo "mounting drives "<br />
mount -t ntfs -o umask=022 /dev/sda1 /media/c<br />
mount -t ntfs -o umask=022 /dev/sda3 /media/d<br />
;;<br />
-u)<br />
echo "unmounting "<br />
umount /media/c<br />
umount /media/d<br />
;;<br />
*) echo "$USAGE"<br />
exit 0<br />
;;<br />
esac<br />
</code></p>
<p>5. Change the permission of the drive file.<br />
<code> chmod a+x ./drive</code></p>
<p>6. Thats it now you are done!. You can now mount the partitions by just typing sudo ./drive -m.<br />
And you can unmount these drives by typing ./drive -u.</p>
<p>Hope this helps <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxhowtos.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxhowtos.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxhowtos.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxhowtos.wordpress.com&amp;blog=8323587&amp;post=6&amp;subd=linuxhowtos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxhowtos.wordpress.com/2009/06/25/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/766ddc94ef57c400a2fda22f5a3f0502?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unix1</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux help center</title>
		<link>http://linuxhowtos.wordpress.com/2009/06/25/hello-world/</link>
		<comments>http://linuxhowtos.wordpress.com/2009/06/25/hello-world/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 14:58:32 +0000</pubDate>
		<dc:creator>unix1</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi everyone, I am thinking of giving linux how to on different topics. Please check this blog for updates<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxhowtos.wordpress.com&amp;blog=8323587&amp;post=1&amp;subd=linuxhowtos&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>I am thinking of giving linux how to on different topics. Please check this blog for updates <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxhowtos.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxhowtos.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxhowtos.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxhowtos.wordpress.com&amp;blog=8323587&amp;post=1&amp;subd=linuxhowtos&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://linuxhowtos.wordpress.com/2009/06/25/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/766ddc94ef57c400a2fda22f5a3f0502?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">unix1</media:title>
		</media:content>
	</item>
	</channel>
</rss>
