CentOS 掛載NTFS分區(qū)的兩種方法
發(fā)布時(shí)間:2009-10-11 23:58:15 作者:佚名
我要評(píng)論

centos默認(rèn)是不支持掛載ntfs分區(qū)的,據(jù)我所知有兩種方法可以讓它支持ntfs分區(qū)。
第一種是安裝內(nèi)核模塊,可到 http://sourceforge.net/projects/linux-ntfs/files/ 下載,需下載與你系統(tǒng)內(nèi)核想對(duì)應(yīng)的版本,使用uname -a 查看當(dāng)前內(nèi)核版本。安裝后就可以使用mount -t ntfs /dev/sda1 /mnt 掛載了。這種方法有個(gè)缺點(diǎn),就是掛載的ntfs分區(qū)是只讀的。
另外一種是安裝ntfs-3g,使用ntfs-3g掛載的分區(qū)就是可讀寫(xiě)的了??稍诮K端下使用 yum install ntfs-3g 安裝。如果找不到軟件包,可能需要修改下更新源,編輯 /etc/yum.repos.d/CentOS-Base.repo ,將內(nèi)容改為:
[base]
name=CentOS-5 – Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos6
#released updates
[update]
name=CentOS-5 – Updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 – Addons
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/addons/$basearch/
另外一種是安裝ntfs-3g,使用ntfs-3g掛載的分區(qū)就是可讀寫(xiě)的了??稍诮K端下使用 yum install ntfs-3g 安裝。如果找不到軟件包,可能需要修改下更新源,編輯 /etc/yum.repos.d/CentOS-Base.repo ,將內(nèi)容改為:
[base]
name=CentOS-5 – Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos6
#released updates
[update]
name=CentOS-5 – Updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 – Addons
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/addons/$basearch/
相關(guān)文章
- 這篇文章主要介紹了CentOS中配置swap交換區(qū)的方法,本文給出詳細(xì)的操作步驟以及操作命令注解,非常簡(jiǎn)潔有用,需要的朋友可以參考下2015-07-08
CentOS技巧:減小Linux swap分區(qū)的方法
很不多人都是在虛擬機(jī)上玩Linux,這往往就會(huì)遇到一個(gè)問(wèn)題,內(nèi)存不夠用,下面我們來(lái)看看如何減小Linux swap分區(qū)收回空間,需要的朋友可以參考下2014-12-01WARNING: /tmp: File system full, swap space limit exceeded的解決辦
解決/tmp(swap)文件系統(tǒng)報(bào)無(wú)可寫(xiě)空間的錯(cuò)誤 系統(tǒng)有時(shí)出現(xiàn)如下類似報(bào)錯(cuò): WARNING: /tmp: File system full, swap space limit exceeded 出現(xiàn)這種報(bào)錯(cuò)有如下幾種2008-09-08- 1) 登錄到服務(wù)器執(zhí)行 lsb_release -a ,即可列出所有版本信息,例如: [root@3.5.5Biz-46 ~]# lsb_release -a LSB Version: 1.3 Distributor ID: RedHatEnterpri2008-09-08
REDHAT企業(yè)版LINUX5.0安裝過(guò)程圖解教程
在經(jīng)歷了兩次跳票以后, Red Hat于2007年3月14日正式發(fā)布了RHEL5. RHEL 5將是Red Hat的商業(yè)服務(wù)器操作系統(tǒng)版本的第四次重要版本發(fā)布, Red Hat醞釀發(fā)布RHEL 5已經(jīng)超過(guò)了兩年,2008-09-08- 今天deepvps不小心誤刪除了VPS下面的yum,大家都知道yum在linux中是很重要的一個(gè)功能,軟件的下載,系統(tǒng)的更新都要靠他。沒(méi)有yum,系統(tǒng)基本處于半殘廢狀態(tài)。2010-12-20
- Gettext 1 首先進(jìn)入到php源碼包中 cd /opt/php-5.1.2/ext/gettext 2 在gettext文件夾下產(chǎn)生configure文件 /opt/php/bin/phpize 3 配置編譯 ./configure --with-php-c2009-02-09
- 本文為大家介紹在CentOS-6.3中安裝與配置Tomcat-7的方法,有需要的朋友可以參考下2013-02-07
centos系統(tǒng)swap設(shè)置 查看swap分區(qū)的方法
本文為大家詳細(xì)的介紹查看swap分區(qū)和centos修改swap分區(qū)的方法,Linux中的Swap,也就是Windows的虛擬內(nèi)存,當(dāng)內(nèi)存不足的時(shí)候,把一部分硬盤空間虛擬成內(nèi)存使用,從而解決內(nèi)2016-11-29