歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 11.04 系統下掛載NTFS文件系統的方法

Ubuntu 11.04 系統下掛載NTFS文件系統的方法

日期:2017/2/28 16:16:41   编辑:Linux教程

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命令添加進去.

Copyright © Linux教程網 All Rights Reserved