The NTFS partition mounting problem has been solved.
Source: Internet
Author: User
The problem of mounting NTFS partitions has been solved-general Linux technology-Linux technology and application information. The following is a detailed description. The NTFS partition mounting problem has been solved.
First download the fuse and ntfs-3g software, respectively to the two sites to download the latest version of the original installation can be.
NTFS-3G http://www.ntfs-3g.org
FUSE http://fuse.sourceforge.net
How to install two software
1. Install FUSE Download source package: Go to this site to download the latest http://fuse.sourceforge.net
Decompress the source package:
Tar jxzf fuse-2.7.4.tar.gz
Configure the compiling environment:
Cd fuse-2.7.4
./Configure -- prefix =/
Compile:
Make
Installation:
Make install
Cd ..
2.3.2 install NTFS-3G
Download the source code package:
Wget http://www.ntfs-3g.org/
Decompress the source package:
Tar zxvf ntfs-3g-2009.1.1.tgz
Configure the compiling environment:
Cd ntfs-3g-2009.1.1
./Configure
Compile:
Make
Installation:
Make install
Cd ..
2. Create a mount point
Mkdir/mnt/ntfs-C
Mkdir/mnt/ntfs-D
Mkdir/mnt/ntfs-E
How many ntfs partitions are created in this way,
3. Obtain the NTFS partition device name.
Run the following command:
Fdisk-l | grep NTFS As shown in
/Dev/sda2*11 2560 20482875 7 HPFS/NTFS /Dev/sda5 2561 7659 40957686 7 HPFS/NTFS /Dev/sda67660 15431 62428558 + 7 HPFS/NTFS
Add the following to the last line in the fstab file:
3 rowsStatement (the fstab file can be found in the etc directory, or you can search for it. You can use the vi/etc/fstab command. Beginners have decided according to the above method)
LABEL =/1/ext3 defaults 1 1
LABEL =/home1/home ext3 defaults 1 2
Tmpfs/dev/shm tmpfs defaults 0 0
Devpts/dev/pts devpts gid = 5, mode = 620 0 0
Sysfs/sys sysfs defaults 0 0
Proc/proc defaults 0 0
LABEL = SWAP-sda8 swap defaults 0 0
/Dev/sda2/mnt/ntfs-C ntfs-3g defaults 0 0
/Dev/sda5/mnt/ntfs-D ntfs-3g defaults 0 0
/Dev/sda6/mnt/ntfs-E ntfs-3g defaults 0 0
In fact, note that sda2, sda5, and sda6, some hard disks do not show sda, but sdb, and so on, sdb5 sdb6 ,,,.
Save it after you have finished it,
Mount-Run the command, and then you can (find ntfs-C, ntfs-D, and nfs-E under the/mnt/directory and click any of their folders) you can see the ntfs partition file. Haha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.