linux下ntfs硬盘的加载
来源:互联网 发布:怎么装修手机淘宝店铺 编辑:程序博客网 时间:2024/05/20 22:03
linux下ntfs硬盘的加载
转自:http://blog.csdn.net/qingzilantu/article/details/6313592
问题:
解决办法:
# tar zxvf
# cd ntfs-3g-2011.1.15
#./configure
#make
#make install
已经安装完成啦!!
1. mount命令
mount -t 文件格式 -o 选项参数 磁盘分区 挂载点
比如:mount -t vfat -o iocharset=utf8,umask=000 /dev/hda5 /mnt/D
再如:mount -t ntfs -o nls=utf8,umask=000 /dev/hdd1 /mnt/sysc
但到这里出现了问题,首先是我的系统不识别该文件格式NTFS,其次是你会问:"你怎么知道外挂的那个系统盘C就是hdd1?"
是阿,请继续...
判断哪个分区是NTFS格式,加载NTFS分区;
[root@localhost kalon]# /sbin/fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 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: 0x21d3ce88
/dev/sda1
Partition 1 does not end on cylinder boundary.
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
Partition table entries are not in disk order
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0xf0b1ebb0
/dev/sdb1
/dev/sdb2