Things change, roll with the punches.Oh, yeah. Go for it man, jump off the high dive, stare down the barrel of the gun, pee into the wind!

red hat linux as4下挂载NTFS文件系统

上一篇 / 下一篇  2007-01-05 01:05:04 / 个人分类:Linux

呵呵,red hat linux as4默认核心是不支持NTFS文件系统的.很遗憾噢,我们可以通过编译内核加载NTFS支持或者安装插件搞定,对于我这个大菜鸟来说编译内似乎苛刻了. 点,呵呵~~~那我们选安装插件吧 .在网上搜索N次后终于找到了插件.嘿嘿~~~~~哥几个有的玩了.嘿嘿~51Testing软件测试网 p ^Lv]c*GS

!bi J}alv:@0
qt8phz9A4w3Y0
http://linux-ntfs.sourceforge.net/rpm/downloads.html
Fc*PS4@7r0下载相应版本即可~~~
`4d4I$uVuOc1WA0red hat linux AS4的用户下载这个
6Q&I-w1[wnj/yb0
http://linux-ntfs.sourceforge.net/rpm/rhel4.html
&o9p-D#D2?$B0选2.6.9-5.EL        Single Processor版本的RPM包51Testing软件测试网 A2F^$_tvmL
http://prdownloads.sourceforge.n ... -0.rr.4.10.i686.rpm51Testing软件测试网[ol8q"H Ky*q
下载好后,进入终端,用命令安装(注意,需要Root权限)51Testing软件测试网5}V/r/DI$Cf|
rpm -ivh kernel-module-ntfs-2.6.9-5.EL-2.1.20-0.rr.4.10.i686.rpm51Testing软件测试网!^^!D`x'{}9p,L
安装过程很快,大概几秒就好了.^_^好了.那我们可以加载分区了
-_*B RFS*^L ox0呵呵,那我们得先了解分区情况,来确定我们该加载哪个.呵呵~~命令效果如下
z_+r'a V @f#aXIf0================================================51Testing软件测试网H3Bb2\{8F(T_t-C5y
[root@localhost ~]# fdisk -l51Testing软件测试网F(AfM9j5n

+X }I5ak|"@l0Disk /dev/hda: 80.0 GB, 80026361856 bytes
Bw rx*W-P0255 heads, 63 sectors/track, 9729 cylinders51Testing软件测试网lCPG lH bL G
Units = cylinders of 16065 * 512 = 8225280 bytes
)[#C `&KuwF n\051Testing软件测试网ts'N}%MFy-v i~A
   Device Boot      Start         End      Blocks   Id  System
ih2M2t'NM0/dev/hda1   *           1        1020     8193118+   7  HPFS/NTFS51Testing软件测试网(}K9?;JUwxGn2f
/dev/hda2            1021        9729    69955042+   f  W95 Ext'd (LBA)51Testing软件测试网-w)fE X7Aa/t]
/dev/hda5            1021        1658     5124703+   7  HPFS/NTFS
K_ i"Xj'sm0/dev/hda6            1659        4208    20482843+   7  HPFS/NTFS
P(iJi|%W _0mo0/dev/hda7            4209        6758    20482843+   7  HPFS/NTFS51Testing软件测试网Si4~SQ
/dev/hda8            6759        8548    14378143+   7  HPFS/NTFS
H9D8Ota8M0/dev/hda9            8549        9663     8956206   83  Linux51Testing软件测试网;X"{q"R1{Hi
/dev/hda10           9664        9728      522081   82  Linux swap51Testing软件测试网7J e#EVw r.H} f

U$DfS$^jWn_2A&S+s0Disk /dev/hdb: 10.2 GB, 10242892800 bytes
t:l6P"Wj4N0255 heads, 63 sectors/track, 1245 cylinders
D9J nLt$g`5A g1Hp7B0Units = cylinders of 16065 * 512 = 8225280 bytes51Testing软件测试网4]!|][\T4I
51Testing软件测试网LHu+u:A9l+KnP A
   Device Boot      Start         End      Blocks   Id  System
`)e/v C7dMr'l0/dev/hdb1   *           1        1245    10000431    c  W95 FAT32 (LBA)
#C6kZ9Iq#AT#Uk[!@0================================================51Testing软件测试网` lln.vFs@([
本文以/dev/hda5      /dev/hda6      /dev/hda7       /dev/hda8  为例讲解如何让系统自动加载NTFS51Testing软件测试网.a4p4s|8Q(SQL
嘿嘿,修改/etc/fstab拉 ~~~~~
,j;D4p6Q7D6g0--------------------------------------------------------------------------------------------------------------------------------
51Testing软件测试网$o}3W s J"S

# This file is edited by fstab-sync - see 'man fstab-sync' for details
sOPr2|mQ:VZ0LABEL=/                 /                       ext3    defaults        1 1
b-dcv1K0none                    /dev/pts                devpts  gid=5,mode=620  0 051Testing软件测试网Tw`mT+K2r5o;{*~ Jm
none                    /dev/shm                tmpfs   defaults        0 0
[dF@V0none                    /proc                   proc    defaults        0 051Testing软件测试网 Uh!]FG.IVA`3[
none                    /sys                    sysfs   defaults        0 0
,^[,O+P ^0Kh0LABEL=SWAP-hda9         swap                    swap    defaults        0 0
9^p8isj9|0/dev/hda1               /mnt/hda1               ntfs utf8,umask=0222  0 0
o3L6`dK%g-Uh D*Un0/dev/hda5               /mnt/hda5               ntfs utf8,umask=0222  0 051Testing软件测试网$t ft{[2v
/dev/hda6               /mnt/hda6               ntfs utf8,umask=0222  0 0
v7@1jZdU\0/dev/hda7               /mnt/hda7               ntfs utf8,umask=0222  0 051Testing软件测试网Q.c N9E kK
/dev/hda8               /mnt/hda8               ntfs utf8,umask=0222  0 0
3@s%m4op"t&f0/dev/hdb1               /mnt/hdb1               vfat utf8,umask=0000 0 0

6PRts-e/O:Za7F0/dev/hdd                /media/cdrecorder       auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 0
9ju \ M l l n0/dev/hdc                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed 0 051Testing软件测试网T9UM{H BU/o[ `-n
-------------------------------------------------------------------------------------------------------------------------------
51Testing软件测试网6W(H'\)G)fre

51Testing软件测试网PR3CWKa`

 

Z'A&uj]U PN4eW}051Testing软件测试网 }Eh1wGO

51Testing软件测试网,vaNHUF
.修改好了以后 我们保存.51Testing软件测试网 ~ze4}y^1p+E
然后用

+KP1`4s%h051Testing软件测试网8?)^*WT U5U Q~]*Pg

mkdir /mnt/hda151Testing软件测试网9ctm$SEQL-HC7D7p
mkdir /mnt/hda5
,X-~^Y&]c9z0mkdir /mnt/hda651Testing软件测试网V m3su+dPb
mkdir /mnt/hda7
%]'Tm.F? M T0mkdir /mnt/hda851Testing软件测试网;r-CKK.i$yI
在/mnt下建立 hda1 hda5 hda6 hda7 hda8目录.用来访问 51Testing软件测试网,P E,e z8\&t
然后回到终端,然后mount -a一下,如果没有任何提示,说明OK了.呵呵~~~~51Testing软件测试网E td)zZ,D dTA
然后我们就能访问NTFS分区了 ,下图为访问/mnt/hda1.呵呵是NTFS格式的 WindowsXP系统盘 .

Q&rzX@051Testing软件测试网_ I\3]+[ N;V


7m,w$H{G'}w$Gm0
^7C@X v3m2Q051Testing软件测试网o%Sp%mQG'P*|c
51Testing软件测试网W(^kg:}:Gc TY9v
~~~~~~~~~~~~~~Over      good luck on your linux road.~~~~~:)

6WU#DgU2O%Ew0

TAG: Linux

 

评分:0

我来说两句

日历

« 2024-04-25  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 46005
  • 日志数: 42
  • 图片数: 3
  • 文件数: 1
  • 书签数: 13
  • 建立时间: 2007-01-05
  • 更新时间: 2007-03-03

RSS订阅

Open Toolbar