mount Windows partition
one. manually mount
Linux may also be read within the Windows partition, such as the format and ntfs fat32 format. 1st of all you may have to know Linux partition to the tough generate beneath the title. Such as Windows, the C disk is typically hda1, D drive is hda5, E generate is hda6, and so forth. Begin to see the documentation for that details.
to mount the Windows partition, you have to 1st establish the Linux system with locale (the locale from the system, including the language and character encoding as well as other information and facts.) Linux is generally utilized in Chinese locale zh_CN.gb2312, zh_CN.gbk, zh_CN.gb18030 and zh_CN.UTF-8.
within the default installation, Debian Linux, and Mandriva Linux's locale is zh_CN.gb2312, and Fedora Linux Ubuntu Linux as well as the locale is zh_CN.UTF-8. Don't alter the top locale, in any other case the scenario is going to be a lot of garbage. To watch the system's locale, you can enter the subsequent in a terminal command to watch:
echo $ LANG
Second, you should know the format of your windows partition, this partition in windows The residence might be observed, the common format is fat32 and ntfs.
suppose your locale is zh_CN.UTF-8, to mount a / dev/hda1 the fat32 format windows partition to / mnt / C directory (If this directory doesn't exist make a new hand), can Enter the subsequent command in Terminal (in Ubuntu there is certainly also require for this line of command with sudo):
mount-t vfat / dev/hda1 / mnt / C-o iocharset = utf8
If your locale is not zh_CN.UTF-8, the utf8 command above to gb2312; if the windows partition is ntfs format, alter the earlier mentioned command vfat ntfs.
this mount ntfs partition, only root can read, in the event you want to permit normal end users to study, have to be added umask = 022 option, as follows:
mount-t ntfs / dev/hda1 / mnt / C-o iocharset = utf8,
Office 2010 Professional Plus, umask = 022
Equally, if you would like to mount the partition to enable all consumers to study and modify,
Windows 7 Pro, might be previously mentioned The umask = 022, umask = 0 to it.
unmount the partition is a lot simpler:
umount / dev/hda1
in some cases prompted to uninstall the partition partition busy (gadget is occupied), can very first the following command to find out which processes are utilizing this partition:
fuser-cu / dev/hda1
Should the output with the display
/ dev/hda1: 8463m (cck)
you can use this command to find out the plan identify corresponding for the method:
ps 8463
can then use this command to end the method:
destroy -9 8463
to ensure that you'll be able to correctly uninstall the partition.
2. Immediately mount
let the Linux program begins automatically mount windows partition, you can create the over command / and so on / fstab file, the subsequent is surely an example:
# / and so on / fstab: static file system specifics. # # [file program ] [mount point] [type] [options] [dump] [pass] proc / proc proc defaults 0 0 / dev/hda9 / ext3 defaults 0 1 / dev/hda13 none swap sw 0 0 / dev / hdc / media / cdrom iso9660 ro,
Windows 7 Activation, user, noauto 0 0 / dev/fd0 / media / floppy vehicle rw, person,
Office 2007 Key, 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,
Microsoft Office 2010 Product Key, umask = 0 0 0