红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

Debian etch下读写NTFS分区

发布时间:2007-09-01 10:37:08来源:红联作者:tworkprod
1、下载如下数据包:linux-image-2.6.20-4-686_2007.08.28.coboo_i386.deb ntfs-3g_1.328-2_i386.deb libntfs-3g0_1.328-2_i386.deb libfuse2_2.6.3-2_i386.deb fuse-utils_2.6.3-2_i386.deb

2、安装数据包:
dpkg -i linux-image-2.6.20-4-686_2007.08.28.coboo_i386.deb
dpkg -i libntfs-3g0_1.328-2_i386.deb libfuse2_2.6.3-2_i386.deb fuse-utils_2.6.3-2_i386.deb ntfs-3g_1.328-2_i386.deb

3、查看分区:
fdisk -l

下面是我的分区情况:
Disk /dev/hdc: 10.2 GB, 10242892800 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 637 5116671 b W95 FAT32
/dev/hdc2 638 1244 4875727+ f W95 Ext'd (LBA)
/dev/hdc5 * 638 1019 3068383+ 7 HPFS/NTFS
/dev/hdc6 1020 1244 1807281 7 HPFS/NTFS

Disk /dev/hdd: 10.2 GB, 10242892800 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 760 6104668+ 83 Linux
/dev/hdd2 761 1186 3421845 83 Linux
/dev/hdd3 1187 1245 473917+ 5 Extended
/dev/hdd5 1187 1245 473886 82 Linux swap / Solaris

4、挂载ntfs分区:
mount.ntfs-3g /dev/hdc5 /mnt
文章评论

共有 1 条评论

  1. afericazebra 于 2007-09-03 16:01:30发表:

    linux-image-2.6.20-4-686_2007.08.28.coboo_i386.deb这是一个手工编译的软件包,需要编译内核,如果使用2.6.20以下的内核,在挂载分区时会有警告.