Ubuntu 11.04 系统下挂载NTFS文件系统的方法


Ubuntu 11.04 系统下挂载NTFS文件系统的方法:

1.安装 ntfs-3g (系统默认已经安装)


2.使用fdisk -l 查看硬盘的分区信息.
如:
Disk /dev/hda: 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/hda1 * 1 1499 12040686 7 HPFS/NTFS
/dev/hda2 1500 9728 66099442+ f W95 Ext'd (LBA)
/dev/hda5 1500 4096 20860371 7 HPFS/NTFS
/dev/hda6 4097 6651 20523006 7 HPFS/NTFS
/dev/hda7 6652 8498 14835996 7 HPFS/NTFS
/dev/hda8 8499 8511 104391 83 Linux
/dev/hda9 8512 9597 8723263+ 83 Linux
/dev/hda10 9598 9728 1052226 82 Linux swap

3.将需要的分区挂载到指定目录.
如:挂载hda1(#mount /dev/hda1 /mnt/c).

4.设置为开机自动挂载,这里有两种办法:
1)将mount命令加入到linux系统的起动脚本中(#echo mount /dev/hda1 /mnt/c >> /etc/rc.local).
2)修改文件分区表(/etc/fstab),将mount命令添加进去.

相关内容