<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[刘新修]]></title> 
<link>http://pic1.liuxinxiu.com:80/index.php</link> 
<description><![CDATA[刘新修的个人博客 (Liuxinxiu'S Blog)]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[刘新修]]></copyright>
<item>
<link>http://pic1.liuxinxiu.com:80/win_disk_add_linux/</link>
<title><![CDATA[【原创】WindowsXP下80G物理硬盘、320G移动硬盘、256M手机内存卡，挂载至Linux文件系统下（图解）]]></title> 
<author>刘新修 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Linux/Unix]]></category>
<pubDate>Sat, 18 Dec 2010 15:37:08 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/win_disk_add_linux/</guid> 
<description>
<![CDATA[ 
	<p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>本教程中使用的是:</strong></span></span></p><p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>Linux(CentOS-5.5)</strong></span></span></p><p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>Windows-XP SP2</strong></span></span></p><p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>80G XP下物理硬盘（FAT32格式）</strong></span></span></p><p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>320G WIN下移动硬盘（NTFS格式）</strong></span></span></p><p><span style="background-color: #ff0000"><span style="color: #ffffff"><strong>256M手机内存卡（FAT16格式）</strong></span></span></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/win-disk-add-linux-1.jpg"><img height="450" alt="" width="600" src="http://at.liuxinxiu.com/2010/12/image/win-disk-add-linux-1.jpg" /></a></p><p><span style="color: #0000ff"><strong>并联XP下物理硬盘B 到Linux 主机：</strong></span></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/win-disk-add-linux-2.jpg"><img height="555" alt="" width="740" src="http://at.liuxinxiu.com/2010/12/image/win-disk-add-linux-2.jpg" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-1.gif"><img height="550" alt="" width="802" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-1.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-2.gif"><img height="620" alt="" width="484" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-2.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-4.gif"><img height="559" alt="" width="806" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-4.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-3.gif"><img height="475" alt="" width="695" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-3.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-5.gif"><img height="952" alt="" width="493" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-5.gif" /></a></p><p>=====================================================================</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-1.gif"><img height="622" alt="" width="516" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-1.gif" /></a></p><p>可见只有：/dev/hdb 40.0GB,的分区。。。</p><p>关闭机器，接上XP下的物理硬盘B、USB插接--移动硬盘、手机内存卡。【再次开启机器】</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-2.gif"><img height="994" alt="" width="766" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-2.gif" /></a></p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-3.gif"><img height="431" alt="" width="570" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-3.gif" /></a></p><p>Disk /dev/hda: 82.3 GB, 82348277760 bytes<br />255 heads, 63 sectors/track, 10011 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes</p><p>Device Boot Start End Blocks Id System<br />/dev/hda1 1 2295 18434556 c W95 FAT32 (LBA)<br />/dev/hda2 2296 10011 61978770 f W95 <strong><span style="background-color: #ff0000">Ext'd</span></strong> (LBA)<br />/dev/hda5 2296 4845 20482843+ b W95 FAT32<br />/dev/hda6 4846 7395 20482843+ b W95 FAT32<br />/dev/hda7 7396 10011 21012988+ b W95 FAT32</p><p>值得说明的是：以上挂载物理硬盘内分区略过了/dev/hda2 只设定了/hda1 /hda5 /hda6 /hda7</p><p>/hda2 为扩展磁盘分区， /hda5 /hda6 /hda7 均在 /hda2内包含，它只相当于一个&ldquo;文件夹&rdquo; 如下见图解：</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-6.gif"><img height="307" alt="" width="760" src="http://at.liuxinxiu.com/2010/12/image/Hard-Disk-6.gif" /></a></p><p><span style="color: #000080"><strong>直接使用：mount /磁盘识别名称 /挂载点下文件系统对应文件夹名称</strong></span></p><p>mount /dev/hda1 /XPdisk/hda1 也可以使用<br />mount -t mount -t vfat /dev/hda1 /XPdisk/hda1<br />&nbsp;</p><p>&nbsp;</p><p><span style="color: #ff0000"><strong>注明：-t vfat 适合FAT32 - FAT16 的系统，若是ntfs文件格式使用：-t ntfs 若Linux系统不支持安装：</strong></span><a href="http://www.tuxera.com/community/ntfs-3g-download/"><span style="color: #ff0000"><strong>ntfs-3g</strong></span></a></p><p><strong><font color="#ff0000">FAT32（win98文件格式）FAT16（MSDOS文件格式）NTFS（XP-NT-2003文件格式）</font></strong></p><p>Last login: Sat Dec 18 19:12:40 2010 from 192.168.1.110<br />[root@host ~]# <span style="color: #ffffff"><span style="background-color: #0000ff">mount /dev/hda1 /XPdisk/hda1<br /></span></span>[root@host ~]# <span style="color: #ffffff"><span style="background-color: #0000ff">mount /dev/hda5 /XPdisk/hda5<br /></span></span>[root@host ~]# <span style="background-color: #0000ff"><span style="color: #ffffff">mount /dev/hda6 /XPdisk/hda6<br /></span></span>[root@host ~]# <span style="background-color: #0000ff"><span style="color: #ffffff">mount /dev/hda7 /XPdisk/hda7<br /></span></span>[root@host ~]# df -h<br />文件系统 容量 已用 可用 已用% 挂载点<br />/dev/hdb5 19G 14G 4.6G 75% /<br />/dev/hdb9 7.1G 3.0G 3.7G 45% /usr<br />/dev/hdb8 487M 11M 451M 3% /tmp<br />/dev/hdb6 996M 112M 833M 12% /var<br />/dev/hdb4 7.2G 1.2G 5.7G 17% /home<br />/dev/hdb3 99M 12M 83M 12% /boot<br />tmpfs 125M 0 125M 0% /dev/shm<br /><span style="color: #ffffff"><span style="background-color: #003366">/dev/hda1 18G 12G 6.0G 66% /XPdisk/hda1<br />/dev/hda5 20G 19G 992M 96% /XPdisk/hda5<br />/dev/hda6 20G 16G 3.6G 82% /XPdisk/hda6<br />/dev/hda7 21G 10G 11G 50% /XPdisk/hda7<br /></span></span>[root@host ~]#</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-4.gif"><img height="634" alt="" width="677" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-4.gif" /></a></p><p>Last login: Sat Dec 18 19:49:32 2010 from 192.168.1.110<br />[root@host ~]# <span style="color: #0000ff">mount -t ntfs /dev/sdb1 /Liuxinxiu-disk/sdb1<br /></span>mount: unknown filesystem type 'ntfs' <strong><span style="color: #ff0000">此处报错：未知类型！是由于系统没有更新不支持ntsf 安装ntfs-3g即可！<br /></span></strong>[root@host ~]# <span style="background-color: #0000ff"><span style="color: #ffffff"><span><strong>mount -t ntfs-3g /dev/sdb1 /Liuxinxiu-disk/sdb1<br /></strong></span></span></span>The disk contains an unclean file system (0, 0).<br />The file system wasn't safely closed on Windows. Fixing.<br />[root@host ~]# <span style="color: #ffffff"><span style="background-color: #0000ff"><strong><span>mount -t ntfs-3g /dev/sdb2 /Liuxinxiu-disk/sdb2<br /></span></strong></span></span>The disk contains an unclean file system (0, 0).<br />The file system wasn't safely closed on Windows. Fixing.<br />[root@host ~]# <span style="color: #ffffff"><span style="background-color: #0000ff"><strong>mount -t ntfs-3g /dev/sdb3 /Liuxinxiu-disk/sdb3<br /></strong></span></span>The disk contains an unclean file system (0, 0).<br />The file system wasn't safely closed on Windows. Fixing.<br />[root@host ~]# <span style="color: #ffffff"><strong><span style="background-color: #0000ff">mount -t ntfs-3g /dev/sdb4 /Liuxinxiu-disk/sdb4<br /></span></strong></span>The disk contains an unclean file system (0, 0).<br />The file system wasn't safely closed on Windows. Fixing.<br />[root@host ~]# df -h<br />文件系统 容量 已用 可用 已用% 挂载点<br />/dev/hdb5 19G 14G 4.6G 75% /<br />/dev/hdb9 7.1G 3.0G 3.7G 45% /usr<br />/dev/hdb8 487M 11M 451M 3% /tmp<br />/dev/hdb6 996M 113M 832M 12% /var<br />/dev/hdb4 7.2G 1.2G 5.7G 17% /home<br />/dev/hdb3 99M 12M 83M 12% /boot<br />tmpfs 125M 0 125M 0% /dev/shm<br />/dev/hda1 18G 12G 6.0G 66% /XPdisk/hda1<br />/dev/hda5 20G 19G 992M 96% /XPdisk/hda5<br />/dev/hda6 20G 16G 3.6G 82% /XPdisk/hda6<br />/dev/hda7 21G 10G 11G 50% /XPdisk/hda7<br /><span style="color: #ffffff"><span style="background-color: #003366">/dev/sdb1 101G 94G 6.7G 94% /Liuxinxiu-disk/sdb1<br /></span><span style="background-color: #003366">/dev/sdb2 98G 97G 907M 100% /Liuxinxiu-disk/sdb2<br />/dev/sdb3 50G 30G 21G 60% /Liuxinxiu-disk/sdb3<br />/dev/sdb4 51G 50G 997M 99% /Liuxinxiu-disk/sdb4<br /></span></span>[root@host ~]#</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-5.gif"><img height="371" alt="" width="691" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-5.gif" /></a></p><p>[root@host ~]# <span style="color: #ffffff"><span style="background-color: #0000ff">mount -t vfat /dev/sda1 /mobile<br /></span></span>[root@host ~]# df -h<br />文件系统 容量 已用 可用 已用% 挂载点<br />/dev/hdb5 19G 14G 4.6G 75% /<br />/dev/hdb9 7.1G 3.0G 3.7G 45% /usr<br />/dev/hdb8 487M 11M 451M 3% /tmp<br />/dev/hdb6 996M 113M 832M 12% /var<br />/dev/hdb4 7.2G 1.2G 5.7G 17% /home<br />/dev/hdb3 99M 12M 83M 12% /boot<br />tmpfs 125M 0 125M 0% /dev/shm<br />/dev/hda1 18G 12G 6.0G 66% /XPdisk/hda1<br />/dev/hda5 20G 19G 992M 96% /XPdisk/hda5<br />/dev/hda6 20G 16G 3.6G 82% /XPdisk/hda6<br />/dev/hda7 21G 10G 11G 50% /XPdisk/hda7<br />/dev/sdb1 101G 94G 6.7G 94% /Liuxinxiu-disk/sdb1<br />/dev/sdb2 98G 97G 907M 100% /Liuxinxiu-disk/sdb2<br />/dev/sdb3 50G 30G 21G 60% /Liuxinxiu-disk/sdb3<br />/dev/sdb4 51G 50G 997M 99% /Liuxinxiu-disk/sdb4<br /><span style="color: #ffffff"><span style="background-color: #003366">/dev/sda1 242M 224M 18M 93% /mobile<br /></span></span>[root@host ~]#</p><p>全部完成，以下是通过SSH 查看Linux下文件的截图：</p><p>XP下物理硬盘B.【J:&#92;分区】</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-6.gif"><img height="662" alt="" width="670" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-6.gif" /></a></p><p>手机内存卡：</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-7.gif"><img height="1206" alt="" width="774" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-7.gif" /></a></p><p>刘新修的移动硬盘【Liuxinxiu-disk】</p><p><a target="_blank" href="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-8.gif"><img height="490" alt="" width="834" src="http://at.liuxinxiu.com/2010/12/image/ssh-linux-fdisk-8.gif" /></a></p><p><span style="color: #ffffff"><span style="background-color: #ff0000"><strong>转载请标明出处：</strong></span></span><a href="http://liuxinxiu.com/"><span style="color: #ffffff"><span style="background-color: #ff0000"><strong>http://liuxinxiu.com/</strong></span></span></a></p>
]]>
</description>
</item><item>
<link>http://pic1.liuxinxiu.com:80/win_disk_add_linux/#blogcomment</link>
<title><![CDATA[[评论] 【原创】WindowsXP下80G物理硬盘、320G移动硬盘、256M手机内存卡，挂载至Linux文件系统下（图解）]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/win_disk_add_linux/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>