Debian 8 boot automatically mounts NTFS hard disks under Windows

Source: Internet
Author: User

1: Every time you want to go to the windows of the drive letter to view the data or something, you have to enter a password or something to enter. You can not load yourself, you feel good trouble
So you're ready to boot up and mount the C,D2 drive letter under Windows to Debian

2: First Download ntfs-3g
$sudo Apt-get Install ntfs-3g
Then after the installation is successful,
#mkdir/mnt/win_c
#mkdir/mnt/win_d

Create 2 directories below the/MNT directory, corresponding to the 2 drive characters that need to be mounted.

Then look at the name of the drive letter
#fdisk-L

Then open
#cp/etc/fstab/etc/fstab.bak
#vim/etc/fstab

At the back, add

/dev/sdb1/mnt/win_c ntfs-3g rw,locale=zh_cn.utf8,uid=1000 0 0
/dev/sdb5/mnt/win_d ntfs-3g rw,locale=zh_cn.utf8,uid=1000 0 0

Then save exit: Wq

#reboot

I'll restart it.

Debian 8 boot automatically mounts NTFS hard disks under Windows

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.