Thursday, February 3, 2011

How to install Centos 5.5 on Microsoft Hyper-V

Basically, you will be able to install any linux operating system using hyper-v, but the main problem is there is no network! I tried to google a bit and found a solution. this is via installation of linux intergration services.

Download the file here:
http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551


Installing Linux Integration Services Version 2.1 on Red Hat Enterprise Linux 5

In Hyper-V Manager, configure LinuxIC v21.ISO (located in the directory where you extracted the downloaded files) as a physical CD/DVD drive on the virtual machine.


As the root user, mount the CD in the virtual machine by issuing the following commands at a shell prompt:
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom

Copy Linux Integration Services to the virtual machine. For example:
mkdir /opt/linux_ic_v21_rtm
cp –R /mnt/cdrom/* /opt/linux_ic_v21_rtm

As the root user, run the following command to compile and install the synthetic drivers. A reboot is required after installation.
cd /opt/linux_ic_v21_rtm/
make
make install
reboot

and congrats, you have a Linux OS running in Microsoft Hyper-V.

1 comments:

Mark Gagalac said...

FYI: this works on any redhat based linux distro.

Post a Comment

Blog Archives