VMWare notes for Fedora 7
VMWare notes for Fedora 7
I used the VMware-server-1.0.3-xxxx-i386.rpm. This RPM stuck vmware files in the following locations:
/usr/bin
/etc/vmware
/usr/lib/vmware
/var/lib/vmware <- Virtual Machines are here
1: vmware fails to run on Fedora 7
run the VMware-any-to-any-update patch
This will stop vmware from testing the linux version
http://platan.vc.cvut.cz/ftp/pub/vmware
http://knihovny.cvut.cz/ftp/pub/vmware
ftp://ftp.cvut.cz/vmware
2: I wanted to Use LVM volumes within vmware.
This would allow me to do snapshot backups and access NTFS filesystems from within linux
(as long as the vm wasn't running).
Note: Fedora 7 has ntfs-3g installed (check for /sbin/mount.ntfs-3g) so we can mount ntfs as read/write.
However, vmware won't let us access logical volumes as physical disks without modifications.
HOW To Fix the unable to determine bus type error in VMWare
Apply patch vmgbd
Note: vmware server 1.0.3 needed to be patched file by file with vmgbd-0.04.tar.bz2
because the vmgbd program returned 0 patched when run on it's own.
http://vmgbd.drigon.com
I patched the following files
/usr/bin/vmware-loop
/usr/bin/vmware-vdiskmanager
/usr/lib/vmware/bin/vmrun
/usr/lib/vmware/bin/vmware
/usr/lib/vmware/bin/vmware-vmx
/usr/lib/vmware/lib/snhelper
I ran make on the untared vmgbd directory and ran the newly created vmgbd
./vmgbd /usr/bin/vmware-loop
etc...
Now you can add a hard drive within vmware. Choose physical and enter your logical volume location
Ex: /dev/vg0/my_d_drive
If you formatted it with ntfs
You can mount it for read/write in linux with the ntfs-3g fs
Use kpartx to gain access to the partition
this partition will be in /dev/mapper
Your logical volume is also in mapper. Ex: /dev/vg0/my_d_drive is also /dev/vg0/vg0-my_d_drive
kpartx -a /dev/mapper/vg0-my_d_drive
creates a link to the partition within the logical volume
mount -t ntfs-3g /dev/mapper/my_d_drive1 /mnt
Now your ntfs is mounted read/write in the /mnt directory
When done you must reverse these steps
umount /mnt
kpartx -d /dev/mapper/vg0-my_d_drive