Prior to installing Oracle under Linux CentOS This essay I mentioned to unzip the downloaded installation file
So, here's the problem!
How do I copy a downloaded file into a virtual machine?
That's what I did:
1. Copy the downloaded file into the USB drive
2, as root user, use the fdisk-l command to query all current partitions:
[Email protected] ~]# fdisk-l
disk/dev/sda:42.9 GB, 42949672960 bytes255 heads, sectors/track, 5221 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Device Boot Start End Blocks Id System
/DEV/SDA1 * 1 305203+ Linux
/dev/sda2 4964 39568095 Linux
/dev/sda3 4965 5221 2064352+, Linux Swap/solaris
[Email protected] ~]#
3, insert the USB flash drive, and then use the FDISK-L command:
[Email protected] ~]# fdisk-l
disk/dev/sda:42.9 GB, 42949672960 bytes
255 heads, Sectors/track, 5221 cylinders
Units = Cylinders of 16065 * 8225280 bytes
Device Boot Start End Blocks Id System
/DEV/SDA1 * 1 305203+ Linux
/dev/sda2 4964 39568095 Linux
/dev/sda3 4965 5221 2064352+, Linux Swap/solaris
disk/dev/sdb:7948 MB, 7948206080 bytes
Bayi heads, Sectors/track, 19165 cylinders
Units = Cylinders of 810 * 414720 bytes
Device Boot Start End Blocks Id System
/DEV/SDB1 19166 7757824 b W95 FAT32
Then you can see one more partition: Disk/dev/sdb, this is just the inserted USB stick.
4. Create a directory using the Mount command to mount the USB flash drive to this directory:
First, create a USB directory under/MNT:
[[Email protected] ~] #mkdir/MNT/USB
Use the Mount command to mount the USB flash drive to the USB directory:
[[Email protected] ~] #mount/DEV/SDB/MNT/USB
5. Finally, you can use the CP command to copy the files in the USB drive to the virtual machine.
How to copy a USB drive file into a VMware Linux CentOS6.5 virtual machine