mount Windows partition
1. manually mount
Linux may also be read in the Windows partition, including the format and ntfs fat32 format. First of all you might have to know Linux partition within the challenging generate under the title. For instance Windows, the C disk is normally hda1, D drive is hda5, E generate is hda6,
Microsoft Office 2010 Key, and so on. See the documentation for your particulars.
to mount the Windows partition, you should initial figure out the Linux program with locale (the locale from the system, such as the language and character encoding as well as other specifics.) Linux is commonly utilised in Chinese locale zh_CN.gb2312, zh_CN.gbk, zh_CN.gb18030 and zh_CN.UTF-8.
inside the default installation, Debian Linux, and Mandriva Linux's locale is zh_CN.gb2312,
Microsoft Office Professional Plus 2010, and Fedora Linux Ubuntu Linux plus the locale is zh_CN.UTF-8. Do not alter the top locale, otherwise the scenario will be lots of rubbish. To view the system's locale, you can actually enter the subsequent in a terminal command to view:
echo $ LANG
Second, you must know the format of one's windows partition,
Office 2007 Key, this partition in windows The home may be observed, the common format is fat32 and ntfs.
assume your locale is zh_CN.UTF-8, to mount a / dev/hda1 the fat32 format windows partition to / mnt / C directory (If this directory does not exist generate a brand new hand), can Enter the following command in Terminal (in Ubuntu there is also require for this line of command with sudo):
mount-t vfat / dev/hda1 / mnt / C-o iocharset = utf8
If your locale isn't zh_CN.UTF-8, the utf8 command above to gb2312; if the windows partition is ntfs format, change the above command vfat ntfs.
this mount ntfs partition,
Windows 7 Professional, only root can study, if you happen to will need to permit normal end users to read, have to be extra umask = 022 option, as follows:
mount-t ntfs / dev/hda1 / mnt / C-o iocharset = utf8, umask = 022
Equally, if you want to mount the partition to allow all people to read and modify,
Windows 7, could be earlier mentioned The umask = 022, umask = 0 to it.
unmount the partition is much easier:
umount / dev/hda1
from time to time prompted to uninstall the partition partition chaotic (device is chaotic), can first the following command to see which processes are using this partition:
fuser-cu / dev/hda1
In the event the output with the screen
/ dev/hda1: 8463m (cck)
it is easy to use this command to find out the program identify corresponding for the method:
ps 8463
can then use this command to end the method:
destroy -9 8463
to ensure that it is easy to effectively uninstall the partition.
two. Immediately mount
allow the Linux system starts automatically mount windows partition, it is possible to publish the earlier mentioned command / etc / fstab file, the subsequent is an instance:
# / and so forth / fstab: static file system details. # # [file program ] [mount point] [type] [options] [dump] [pass] proc / proc proc defaults 0 0 / dev/hda9 / ext3 defaults 0 one / dev/hda13 none swap sw 0 0 / dev / hdc / media / cdrom iso9660 ro, consumer, noauto 0 0 / dev/fd0 / media / floppy auto rw, consumer, noauto 0 0 / dev/hda10 / mnt / debian ext3 defaults 0 0 / dev/hda1 / mnt / C ntfs utf8, umask = 022 0 0 / dev/hda5 / mnt / D vfat utf8, umask = 0 0 0