Automatically mount Windows partitions
Mount the Windows partition automatically executes the following commands, editing the Mount script Autowinfs.
sudo gedit/usr/sbin/autowinfs
Copy and paste the following referenced content, save the file, and exit.
Mkdir-p/windows/rmdir/windows/* 1>/dev/http://www.aliyun.com/zixun/aggregation/19527.html ">nullgrep-v"/ windows/' fstab >/etc/fstab.swpfdisk-l/dev/[hs]d[a-z | grep ' NTFS ' | Cut-d ' Responsefilename | cut-d/-F3 | While read wdisksdo echo "/dev/$WDISKS/windows/$WDISKS NTFS auto,user,nls=utf8,umask=0,exec 0 0" >>/etc/ Fstab.swpmkdir "/windows/$WDISKS" Donefdisk-l/dev/[hs]d[a-z] | grep ' FAT ' | Cut-d ' Responsefilename | cut-d/-F3 | While read wdisksdo echo "/dev/$WDISKS/windows/$WDISKS vfat auto,user,utf8,umask=0,exec 0 0" >>/etc/ Fstab.swpmkdir "/windows/$WDISKS" Donemv/etc/fstab.swp/etc/fstabmount-aexit 0
To run the command again:
sudo chmod +x/usr/sbin/autowinfssudo/usr/sbin/autowinfs
On it, Windows partitions will be mounted under/windows/
Ubuntu version 9.10 Windows partition automatically hangs in (NTFS format)
Edit the Fstab file $sudo gedit/etc/fstab pop-up geidt text edit box, add the following at the end of the file:
1. Use the FDISK command to view the disk's Uuid$sudo FDISK-L/DEV/SDA1 * 1 851 6835626-linux/dev/sda2 852 4039 25607610 F W95 Ext ' d (LBA)/dev/sda5 945 2135 9566676 7 hpfs/ntfs/dev/sda6 2136 4039 15293848+ 7 hpfs/ntfs2. The NTFS partition adds the following and restarts to automatically mount the NTFS partition. /dev/sda6/media/my ntfs-3g DEFAULTS,LOCALE=ZH_CN. UTF-8 0 0/dev/sda5/media/tools ntfs-3g defaults,locale=zh_cn. UTF-8 0 03. Software can also be implemented, that is, simple and quick: $sudo apt install ntfs-config after installation is completed, enter $sudo Ntfs-config
Then pops up a dialog box, select the partition you want to mount, click Apply, and then select "Enable internal device write support" to get it done. Try it again.