Tuesday, May 22, 2012

Installing Redhat 6.2 & Linux Integration Services on Hyper-V

I installed Redhat 6.2 today.  I added Linux integration services 3.2 and after I added the service I no longer had a cdrom drive or my networks.   So this time I'm trying a little different approach.  I believe this is what I did the first time and it worked.
Before you install Redhat 6.2 add a legacy network card to your settings.   Redhat will recognized the legacy network adapter, but not the normal network adapter.

Once you have configured Redhat and it has rebooted you will have a desktop, but you won't be able to do anything with the desktop because you don't have mouse or keyboard control.  You need to install the Linux Integration Services.   Press "CTRL+ALT+F2" at the same time.   This will will give you a terminal window.  Login as root.

In Hyper-V go to Media under Virtual Machine Connection and attach the iso file as a DVD drive.

Once it is attached use the mount command on Linux to mount the DVD.

mount /dev/cdrom /media
cd to /media
run install.sh
reboot
After the reboot the clock will work, the mouse will work, the keyboard will work, the network adapter will work.   
Now you ready to use your new Redhat 6.2.
After Installing Linux Integration Services 3.2 you will no longer have a cdrom.
You will need to run this command:
insmod /lib/modules/$(uname -r)/kernel/drivers/ata/ata_piix.ko 
for the cdrom to mount.

No comments:

Post a Comment