linux分ntfs区,Linux下挂载NTFS分区和挂载分区的方法

如果你的磁盘格式为NTFS就按照以下步骤如果不是就直接跳下一步首先去下载个NTFS-3G下载地址:然后把下载好的压缩包上传到root文件夹内列如:文件名为:ntfs-3g_ntfsprogs-2013.1.13.tgz解压:tar zxvf ntfs-3g_ntfsprogs-2013.1.13.tgz进入解压文件夹:cd ntfs-3g_ntfsprogs-2013.1.13运行:./configure

make

make install到这里已经安装完成~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~查看分区信息:fdisk -l如:[root@PC ntfs-3g_ntfsprogs-2013.1.13]# fdisk -l

Disk /dev/vda: 21.5 GB, 21474836480 bytes

16 heads, 63 sectors/track, 41610 cylinders

Units = cylinders of 1008 * 512 = 516096 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x000acae9

Device Boot      Start         End      Blocks   Id  System

/dev/vda1   *           3         409      204800   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/vda2             409        8731     4194304   82  Linux swap / Solaris

Partition 2 does not end on cylinder boundary.

/dev/vda3            8731       41611    16571392   83  Linux

Partition 3 does not end on cylinder boundary.

Disk /dev/vdb: 64.4 GB, 64424509440 bytes

255 heads, 63 sectors/track, 7832 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x5f72ecd9

Device Boot      Start         End      Blocks   Id  System

/dev/vdb1               1        7832    62910508+  42  SFS(我需要挂载的ntfs格式分区)然后到/etc/fstab打开fstab在添加一段自动挂载的代码/dev/vdb1 /www ntfs-3g defaults 0 0如果你的不是ntfs格式呢就加你磁盘格式就好了如:/dev/vdb1 /www ext3  defaults 0 0解释:/dev/vdb1为你的分区名称在上步可以查看/www为需要挂载到文件夹

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值