Installing Fedora Core 6 on VMWare 5.5
Since the up-to-date VMWare still doesn't support FC linux officially, you need to pay some effort installing and configuring FC6. I assume the readers have successful installation experience of other linux under VMware before, so only key points related to FC6 installation will be addressed.
1. Create a VM:
Open VM's "New Virtual Machine Wizard", make sure you choose the following options: "Custom" -> New - Workstation 5 -> "Other Linux with 2.6.x kernel" -> ... -> LSI Logic (for SCSI Adaptor) -> ... -> SCSI (recommended).
The above options will make sure FC6 installation wizard find your virtual disk properly.
2. Install VMWare Tools:
Make sure you have kernel-devel corresponding your running kernel installed, which provides the kernel headers needed by VMWare Tools. By default, you need to download and install kernel-devel by yourself. Note that the version of kernel-devel must match your running kernel exactly (for example, "2.6.18-1.2798.fc6xen.i686" does not match with "2.6.18-1.2798.fc6.i686), so if you cannot find a kernel-devel matches the kernel, you need to install a kernel that matches the kernel-devel. I don't recommend using yum to update the kernel and kernel-devel, because they don't always match (and you may not be able to find a co-existing pair). So we go the traditional rpm way.
To check your current running kernel, use "uname -r".
To download kernel-devel, goto "http://fedora.redhat.com/download/mirrors.html", find a mirror site close to your place, and download the rpm package of kernel-devel. For example, I would go to "ftp://ftp.oss.eznetsols.org/linux/fedora/6/i386/os/Fedora/RPMS/" in Singapore, and download "kernel-devel-2.6.18-1.2798.fc6.i686.rpm", and install it by "rpm -ivh kernel-devel-2.6.18-1.2798.fc6.i686.rpm".
You may need to download and install the kernel matches the kernel-devel as well. Similarly, download kernel-2.6.18-1.2798.fc6.i686.rpm and install it. Then reboot your linux. Stroke "enter" at boot up to choose the newly installed kernel. Or you can modify the grub configuration file "/etc/grub.conf", change the "default=" parameter (0 for the first kernel, 1 for the second kernel) for the new kernel.
Now you can locate the kernel headers under, for example, /usr/src/kernels/2.6.18-1.2798.fc6-i686/include.
Then mount your VMWare Tools iso, and run "vmware-install.pl". Key in the above kernel headers when asked. You should be able to install it successfully now.
3. Configure resolution of your X.
Edit "/etc/X11/xorg.conf" with root. Add the following section at the beginning of the file.
Section "Monitor"
Identifier "vmware"
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
EndSection
Add a line "DefaultDepth 24" after "Mornitor "vmware"" line in "Screen" section (assuming you have a OK graphic card). Then change the "Modes" line under Depth 24 to your desired resolution. For example "Modes 1280x800". Then startX.
Reference
http://www.thoughtpolice.co.uk/vmware/howto/fedora-core-6-vmware-tools-install.html
http://www.linuxquestions.org/questions/showthread.php?t=503651
http://www.lowlevel.cz/log/pivot/entry.php?id=80
1. Create a VM:
Open VM's "New Virtual Machine Wizard", make sure you choose the following options: "Custom" -> New - Workstation 5 -> "Other Linux with 2.6.x kernel" -> ... -> LSI Logic (for SCSI Adaptor) -> ... -> SCSI (recommended).
The above options will make sure FC6 installation wizard find your virtual disk properly.
2. Install VMWare Tools:
Make sure you have kernel-devel corresponding your running kernel installed, which provides the kernel headers needed by VMWare Tools. By default, you need to download and install kernel-devel by yourself. Note that the version of kernel-devel must match your running kernel exactly (for example, "2.6.18-1.2798.fc6xen.i686" does not match with "2.6.18-1.2798.fc6.i686), so if you cannot find a kernel-devel matches the kernel, you need to install a kernel that matches the kernel-devel. I don't recommend using yum to update the kernel and kernel-devel, because they don't always match (and you may not be able to find a co-existing pair). So we go the traditional rpm way.
To check your current running kernel, use "uname -r".
To download kernel-devel, goto "http://fedora.redhat.com/download/mirrors.html", find a mirror site close to your place, and download the rpm package of kernel-devel. For example, I would go to "ftp://ftp.oss.eznetsols.org/linux/fedora/6/i386/os/Fedora/RPMS/" in Singapore, and download "kernel-devel-2.6.18-1.2798.fc6.i686.rpm", and install it by "rpm -ivh kernel-devel-2.6.18-1.2798.fc6.i686.rpm".
You may need to download and install the kernel matches the kernel-devel as well. Similarly, download kernel-2.6.18-1.2798.fc6.i686.rpm and install it. Then reboot your linux. Stroke "enter" at boot up to choose the newly installed kernel. Or you can modify the grub configuration file "/etc/grub.conf", change the "default=" parameter (0 for the first kernel, 1 for the second kernel) for the new kernel.
Now you can locate the kernel headers under, for example, /usr/src/kernels/2.6.18-1.2798.fc6-i686/include.
Then mount your VMWare Tools iso, and run "vmware-install.pl". Key in the above kernel headers when asked. You should be able to install it successfully now.
3. Configure resolution of your X.
Edit "/etc/X11/xorg.conf" with root. Add the following section at the beginning of the file.
Section "Monitor"
Identifier "vmware"
HorizSync 1.0 - 10000.0
VertRefresh 1.0 - 10000.0
EndSection
Add a line "DefaultDepth 24" after "Mornitor "vmware"" line in "Screen" section (assuming you have a OK graphic card). Then change the "Modes" line under Depth 24 to your desired resolution. For example "Modes 1280x800". Then startX.
Reference
http://www.thoughtpolice.co.uk/vmware/howto/fedora-core-6-vmware-tools-install.html
http://www.linuxquestions.org/questions/showthread.php?t=503651
http://www.lowlevel.cz/log/pivot/entry.php?id=80
No comments:
Post a Comment