본문 바로가기

Linux/구축 관련

CentOS에서 USB 사용하기 (FAT32, NTFS)



CentOS에서 USB Memory 사용하기




FAT32


[root@localhost ~]# fdisk -l

...

Disk /dev/sdc: 8054 MB, 8054112256 bytes

255 heads, 63 sectors/track, 979 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: 0x01f4b100


   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1   *           1         980     7864320    b  W95 FAT32

Partition 1 has different physical/logical endings:

     phys=(978, 254, 63) logical=(979, 48, 29)

...

현재 sdc1이 USB

[root@localhost ~]# mount -t vfat /dev/sdc1 /media/


NTFS


[root@localhost ~]# fdisk -l

...

Disk /dev/sdc: 8054 MB, 8054112256 bytes

255 heads, 63 sectors/track, 979 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: 0x01f4b100


   Device Boot      Start         End      Blocks   Id  System

/dev/sdc1   *           1         980     7864320    7  HPFS/NTFS

Partition 1 has different physical/logical endings:

     phys=(978, 254, 63) logical=(979, 48, 29)

...

마찬가지로 sdc1

NTFS를 마운트 하기 위한 패키지가 기본 yum 저장소에 존재하지 않기 때문에 다음과 같은 진행을 한다.
[root@localhost /]# yum -y install yum-priorities
[root@localhost /]# vi /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
check_obsoletes = 1
priority = 2


[root@localhost data]# rpm -ivh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
[root@localhost data]# yum install kernel-headers
[root@localhost data]# yum install fuse fuse-ntfs-3g dkms dkms-fuse
**현재 rpmforge 서비스가 중단된듯 합니다. 


추가))

epel-release-6-8.noarch.rpm


위 rpm 파일을 설치

[root@localhost data]# rpm -ivh epel-release-6-8.noarch.rpm

[root@localhost data]# yum ntfs-3g

[root@localhost data]# mount -t ntfs-3g /dev/sdc1 /media


##ntfs-3g는 정식적으로 배포하는 패키지가 아닙니다.

따라서 속도도 느릴 뿐더러 불안정하다는 말이..





'Linux > 구축 관련' 카테고리의 다른 글

리눅스에서 GUI 환경으로 원격제어 (VNC)  (0) 2016.12.15
CentOS에서 NTP 서버 구축하기 (타임서버)  (0) 2016.11.30
Eclipse 설치  (0) 2016.11.18
JDK, JRE (JAVA) 설치  (0) 2016.11.18
Multipath 구성  (0) 2016.11.10