linux虚拟机下如何挂载windows分区
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux虚拟机下如何挂载windows分区相关的知识,希望对你有一定的参考价值。
在E盘用vmware安装了red hat9.0想把C盘和D盘也挂载到linux 中去,
用一般的挂载方法根本就不行,挂载不上去。
请问,还有没有其他的什么方法把他们给挂载上去。
谢谢
!~
Linux自动挂载Windows分区
当Linux需要挂载Windows分区的时候,可以修改./etc下的fstab文件实现电脑在启动的时候自动挂载ntfs分区和fat32分区,比如分区格式如下:
[root@localhost ~]# fdisk -l
如果需要挂载:
就只需要在fstab文件里面加上:
就可以了。不过在此之前得先在./mnt文件夹下面新建两个文件夹“E_Driver”和“F_Driver”!
参考技术A mount /dev/hda* /mnt有些内核编译时没有支持NTFS,需要patch或者重新编译
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .本回答被提问者采纳 参考技术B linux虚拟机和windows可以共享
以上是关于linux虚拟机下如何挂载windows分区的主要内容,如果未能解决你的问题,请参考以下文章