Chinaunix首页 | 论坛 | 博客
  • 博客访问: 61229
  • 博文数量: 10
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 165
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-29 11:02
文章分类

全部博文(10)

文章存档

2009年(3)

2008年(7)

我的朋友

分类: LINUX

2008-10-08 19:27:10

1.uname -r 查看当前的linux内核版本.

 

[root@localhost Desktop]# uname -r

2.6.18-53.1.19.el5

 

2.去下载与内核版本相同的ntfs补丁.

 

3.补丁:kernel-module-ntfs-2.6.18-53.1.19.el5-2.1.27-0.rr.10.11.i686.rpm

 

[root@localhost Desktop]# rpm -Uv kernel-module-ntfs-2.6.18-53.1.14.el5-2.1.27-0.rr.10.11.i686.rpm

Preparing packages for installation...

package kernel-module-ntfs-2.6.18-53.1.14.el5-2.1.27-0.rr.10.11 is already installed

 

4.使用fdisk -l查看硬盘的分区信息.


本地测试如下:

[root@localhost ~]# uname -r
2.6.18-92.el5
[root@localhost ~]# cd /home
[root@localhost home]# ls
domains
kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11.x86_64.rpm
linuxqq-v1.0-preview2.i386.rpm
[root@localhost home]# rpm -Uv kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11.x86_64.rpm
Preparing packages for installation...
kernel-module-ntfs-2.6.18-92.el5-2.1.27-0.rr.10.11
[root@localhost home]# mkdir /mnt/250G
[root@localhost home]# fdisk -l

Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1        1275    10241406    c  W95 FAT32 (LBA)
/dev/hdc2            1276       19457   146046915    f  W95 Ext'd (LBA)
/dev/hdc5            8925       16709    62532981    7  HPFS/NTFS
/dev/hdc6           16710       19457    22073278+   7  HPFS/NTFS
/dev/hdc7            1276        1288      104359+  83  Linux
/dev/hdc8            1289        8924    61336138+  8e  Linux LVM

Partition table entries are not in disk order

Disk /dev/hdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1        1275    10241406    c  W95 FAT32 (LBA)
/dev/hdd2            1276       19457   146046915    f  W95 Ext'd (LBA)
/dev/hdd5            1276       19457   146046883+   7  HPFS/NTFS

Disk /dev/sda: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       30401   244196001    7  HPFS/NTFS
[root@localhost home]# mount -t ntfs /dev/sda1 /mnt/250G
[root@localhost home]# cd /mnt/250G
[root@localhost 250G]# ls
Favorites  System Volume Information  各大项目介绍.doc  电影
JAVA       temp                       学习资料          重要资料
mail       vod_cache_data             小太阳项目.doc
RECYCLER   xampp                      服务器数据备份
[root@localhost 250G]# mkdir test
mkdir: 无法创建目录 “test”: 不允许的操作
[root@localhost 250G]#               
阅读(1518) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~