It has been a real busy week with Windows 7 RTM and with Windows 2008 R2 releasing soon, there are so many new features to try out. Well, as work requires, I have the opportunity to try setup Redhat Linux 5.3 on Hyper-V with the new release of Linux Integration Components v2 RC2.
The LinuxICs are available for download on http://connect.microsoft.com. The Linux Integration Components Readme.pdf which is packaged with the LinuxIC download provides are very good detailed explanation of the installation process.
I am doing a full pictorial of a installation of RHEL5.3 onto a Hyper-V server and I got the mouse to work too.
Create the Virtual Machine
First, you need to create a Virtual Machine.
Give it 1GB of memory for GUI features.
We will need network to work so that we can get yum updates.
You configure a hard disk size for your VM.
Map the RHEL iso image to DVD drive for installation.
And we are just about ready to start. DO NOT start yet, as we need to add a legacy network adaptor at this moment.
Add a Legacy Network Adaptor to your Virtual Machine hardware.
Connect this Legacy Adaptor to your bridged network that have internet connectivity as we need YUM UPDATE.
Now, fire up the machine and start installation.
You will need to enter your Installation Number here to be able to get YUM UPDATE.
You need to setup networking here.
In previous RHEL versions we have to install XEN Virtualization components, with this new LinuxIC and RHEL 5.3, DO NOT choose Virtualization. Now we can use a regular Linux Kernel and not a Xen Kernel. Please select Software Development.
Complete the wizard and we are ready to start installation.
Reboot once installation completes.
Let’s verify the network are ok by issuing “ifconfig eth0”. Check that you have a working IP address.
With network connectivity, we should now do a “yum update” to get the latest updates from your linux sources.
When you completed the update, reboot the machine by issuing “reboot” command.
Once the system boots up, verify that we have the required packages installed by issuing “yum install kernel-devel” and “yum install gcc” command.
Now we are ready to install the Linux IC. Insert the LinuxIC iso into the DVD drive and copy the contents to /opt/linuxic directory. You can issue the commands below.
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
mkdir /opt/linuxic
cp /mnt/cdrom/* /opt/linuxic/ –R
cd /opt/linuxic
Having copy the content to /opt/linuxic, issue the command “./setup.pl drivers” to install the Linux Integration Components. Please do a reboot once installation completes.
Now that we have installed the Linux IC, I suggest we remove the legacy network adaptor and connect virtual network to the default Synthetic Ethernet network adaptor.
Let’s verify that the Linux ICs are working by issuing “/sbin/lsmod grep vsc”.
Then verify the Synthetic Ethernet adapter is working by issuing “ifconfig seth0”
The final step is to get the mouse working. Download the mouse support for Linux under Hyper-V from Citrix Project Satori http://www.xen.org/download/satori.html.
Mount the ISO and copy its contents to /opt/mousedrv.
Do a “yum install xorg-x11-server-sdk” to install xorg-x11-server-sdk package.
Then run “./setup.pl” from /opt/mousedrv/ directory.
Here we have it, Redhat Linux 5.3 installed on Hyper-V with Linux Integration Components installed and mouse working too.