Skip to main content

How to Mount NTFS and exFAT Partition in RHEL CentOS

Mounting NTFS

Mounting NTFS partition in CentOS/RHEL will need a simple trick. Here is the step.
$] sudo yum install epel-release

$] sudo yum install ntfs-3g

Suppose if the name of the device is /dev/sda3 and /dev/sda4, then here is the command to mount it from the terminal
$] sudo mkdir /mnt/WinE

$] sudo mkdir /mnt/WinD

$] sudo mount -t ntfs-3g /dev/sda3 /mnt/WinE  $] sudo mount -t ntfs-3g /dev/sda4 /mnt/WinD
If your windows OS is running with any updates or under hibernation, the above command will not work, Here is the solution for that. You can open the drives under read only mode.

if you get the error like shown above, here is the command 

$] sudo mount -t ntfs-3g /dev/sda3 /mnt/WinE -ro o

$] sudo mount -t ntfs-3g /dev/sda4 /mnt/WinD -ro o
NB: Sometimes you need not type "-t ntfs-3g", if the libraries are there, without this attribute also, the disk will be mounted.
Mounting in RHEL

Mounting exFAT file system

exFAT is another filesystem supported by the Unix families like (Mac OS). CentOS has a way to 
customise for mounting the exfat filesystem.

$] sudo yum install scons gcc fuse-devel rpmbuild
$] wget http://download1.rpmfusion.org/free/el/updates/6/SRPMS/exfat-utils-1.0.1-1.el6.src.rpm
$] wget http://download1.rpmfusion.org/free/el/updates/6/SRPMS/fuse-exfat-1.0.1-1.el6.src.rpm

$] rpm -ivh fuse-exfat-1.0.1-1.el6.src.rpm exfat-utils-1.0.1-1.el6.src.rpm

$] cd
./rpmbuild/SPECS
$] rpmbuild -ba fuse-exfat.spec
$] rpmbuild -ba exfat-utils.spec

$] cd
../RPMS/x86_64/
$] rpm -ivh fuse-exfat-1.0.1-1.el6.x86_64.rpm exfat-utils-1.0.1-1.el6.x86_64.rpm

The following is optional.
$] ln -s /usr/sbin/mount.exfat /sbin/mount.exfat

Again you can click the icon in the explorer to mount the exFAT partition, in the terminal

$] sudo mount -t exfat /dev/sdb2 /mnt/WinC

Comments

Popular posts from this blog

Electrical Machine Design (equations)

FactorsDC Machine Transformers Induction Machines Synchronous MachinesOutput EquationPa=CoD2Ln, where Pa=P/h for generators, Pa=P for motorsFor Single Phase
Q=2.22 f Bm Ai Kw Aw d10-3
For Three Phase
Q=3.33 f Bm Ai Kw Aw d 10-3Q=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * hQ=CoD2 L ns
KVA Input Q=
HP * 0.746 / Cos f * h
For Turbo alternators
Q=1.11Bavac KwsVa2 L 10-3/nsOutput CoefficientCo=Bav ac* 10-3where Bav-magnetic loading and ac - electric loadingDNACo=11 Kws Bav ac 10-3Co=11 Kws Bav ac 10-3 Choice of Magnetic LoadingFlux Density in Teeth Frequency of Flux Reversals Size of machineDNAMagnetizing current, Flux Density, Iron lossIron loss, Stability, Voltage Rating, Parallel Operation, Transient ShortCircuit current Choice of Electric LoadingTemperature rise,
speed of machine, Voltage, Armature reaction, CommutationDNAOverload Capacity, Copper losses, Temperature rise, Leakage ReactanceCopper loss, Synchronous reactance, Temperature rise, Stray Load losses,
Voltage rating Flux …

How to Access MOODLE in Intranet and Internet

When Moodle is accessed either in Intranet or internet, there will not be any issue. But occasions when the MOODLE Site has to be accessed both in the intranet and in the Internet, here is a simple trick
Server Used: IBM Blade Servers
Operating system: Windows Server 2008
Moodle Version: 2.4
WAMP Server is used.
Number of Users: 3000 (Students) + 200 (Faculty)
Open the config.php from ~/moodle/config.php
include these lines
$CFG->wwwroot = 'http://'.$server_id.'/vitcc';
$CFG->dataroot  = 'C:\\wamp\\moodledata';
before the following line
$CFG->directorypermissions = 07xx;
Restart the WAMP Server and you can Check MOODLE Site both in Internet and Intranet.

The above Image tells the intranet Link and the internet link can be opened outside the campus network

Mannasim Installation in NS2 - NS2 Tutorial # 18