Chinaunix

标题: 【求助】在linux下挂windows的fat格式盘 [打印本页]

作者: yezhao_2008    时间: 2006-10-09 10:51
标题: 【求助】在linux下挂windows的fat格式盘
请教各位,装完linux 后,如何在linux下挂windows的fat格式盘?谢谢!
作者: ideovo    时间: 2006-10-09 11:18
mount -t vfat /dev/hdc /mnt/windows
作者: choatrue    时间: 2006-10-09 13:25
先fdisk -l看看,你的FAT格式在哪里?
例如我的分区情况。
[root@localhost ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1208     9703228+   7  HPFS/NTFS
/dev/sda2            4693        9723    40411507+   7  HPFS/NTFS
/dev/sda3            9724        9729       48195   1c  Hidden W95 FAT32 (LBA)
/dev/sda4            1209        4692    27985230    f  W95 Ext'd (LBA)
/dev/sda5            1209        1996     6329578+  1b  Hidden W95 FAT32
/dev/sda6            1997        2009      104391   83  Linux
/dev/sda7            2010        4692    21551166   8e  Linux LVM

Partition table entries are not in disk order

如果你的FAT格式在/dev/hdc下,就可以利用楼上的命令来挂载。
前提是,你有/mnt/windows这个目录。
mkdir /mnt/windows
作者: yezhao_2008    时间: 2006-10-09 15:35
我的磁盘分区是这样的,请问我该如何挂。谢谢!
#fdisk -l
omitting empty partition (5)

Device  Boot             Start            End       Blocks         Id       System
/dev/hda1 *               1                1387      10485688+  7      HPFS/NTFS
/dev/hda2                1388            9744      62178920     f      Win95
/dev/hda3                9745            10337    4483080      12    Compaq diagnostics
/dev/hda5                1388            1455      514017         83   Linux
/dev/hda6                1456            4261      20458328+   7     HPFS/NTFS
/dev/hda7                4167            6935      20971408+   b     Win95 FAT32
/dev/hda8                6936            7004      521608+       82   linux swap
/dev/hda9                7005            9744      20714368+   83   Linux

[ 本帖最后由 yezhao_2008 于 2006-10-9 15:44 编辑 ]
作者: wozhanggd    时间: 2006-10-15 16:48
mount -t vfat /dev/hda2 -o ro /mnt/windows




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2