Tuesday, October 6, 2009

Virtual PC Technet Blog

Microsoft Virtualization Team started a Windows Virtual PC blog that is managed by Prasad Saripalli, Principal Program Manager.

You can find great deal of information on the latest developments, tools and tricks on Windows Virtual PC and XP mode!!

Check it out!! http://blogs.technet.com/windows_vpc/

Migrating Redhat Linux 4 VM from Virtual Server 2005 to Hyper-V R2

The release of Hyper-V R2 prompted me to plan for upgrades of my virtual servers. Now upgrading from Hyper-V to Hyper-V R2 is no big feat. However, if you have Linux virtual machines on Virtual Server 2005 running on Windows 2003 Server, then inplace upgrade is not an option.

So my plan was to move my virtual machines from Virtual Server 2005 to another Hyper-V R2 server then upgrade my existing Windows 2003 Server to Windows 2008 R2. With the help of my UNIX guru, Mr Aw GuanBee, we managed to get this completed! Thank you GuanBee for your help.

Here we go, I will explain the steps as I go through them. Hopefully, it will be helpful to you.

The picture below shows my Redhat Linux 4 virtual machine running on Virtual Server 2005. The first step is to shutdown your Linux virtual machine then copy the VHD file over to your Hyper-V R2 server.

image

Next, create a New Virtual Machine on your Hyper-V R2 host.

image

No need to connect it to your virtual network yet as we will be adding a Legacy Network Adaptor later.

image

Assign the VHD file that you copied from your Windows 2003 Virtual Server 2005 to this new Virtual Machine.

image

Once you created the VM, let’s add a Legacy Network Adapter to it. This is to ensure that your system can detect and be connected to network.

image

Boot up the VM and you will be prompted with new hardware detection, configure the network adapter to have a static IP or DHCP and you are good to boot up.

image

Because Hyper-V R2 and Linux IC v2 RC2 only officially supports RHEL 5.2 and above. It is recommended to upgrade to RHEL 5.

To upgrade RHEL 4 to RHEL 5, first update your RHEL 4 to the latest update level. RHEL 4 uses up2date –u to update your system.

After your RHEL 4 is updated, insert RHEL 5 disc or ISO and bootup your VM. At the installation prompt, type linux upgradeany. This will give you an upgrade option during RHEL installation.

image

It might take a few hours to complete the upgrade. We are still not done as we still need to load the Linux Integration Components.

image

Once you completed the upgrade, run yum update to bring your system up-to-date.

image

Because the RHEL 5 is upgrade from RHEL 4, the kernel will be kernel-PAE. So you have to do a yum install kernel-PAE-{your kernel version}. For example, for my kernel version, I will run yum install kernel-PAE-2.6.18-164.2.1.el5.i686 and yum install kernel-PAE-devel-2.6.18-164.2.1.el5.i686.

Run yum install kernel-devel and yum install gcc.

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.

Done!! We have successfully migrated the Linux VM from Microsoft Virtual Server 2005 to Hyper-V and did an upgrade from Redhat Linux 4 to Redhat Linux 5.

Thursday, October 1, 2009

Introducing Microsoft Security Essentials

Microsoft introduced an antivirus protection product FREE for home PC users. http://www.microsoft.com/security_essentials/

To qualify, you have to be using Genuine Copies of Windows Operating Systems (XP SP2 and SP3, Vista SP1 and SP2, and Windows 7).

Installation is simple too. Just four clicks and installation completes.

First click, Next to proceed on from Welcome Screen.

image

Second click is to Accept the license agreement.

image

Third click is to validate your copy of Microsoft Windows.

image

Fourth click is to begin installation.

image

Installation in progress…

image

And we are done!!!

image

This is how it looks.

image 

You might want to change the default settings to suit your needs, else leave it as default will be good.

image

Cheers.

Friday, August 21, 2009

Microsoft TechNet Flash Singapore – Connect Now and Win! Promotion

TechNet

http://geeksengaged.com/blogs/geeksengaged/archive/2009/08/06/microsoft-technet-flash-singapore-connect-now-and-win-promotion.aspx

Simply subscribe to TechNet Flash Singapore e-newsletter today!

TechNet Flash delivers the latest IT news, security bulletins, product updates and more - directly to your inbox.
You will be one of the first to get your hands on the latest downloads, live webcasts, upcoming events and promotions, expert insights and many more.

Monday, August 17, 2009

New on Start Menu - “Recent” list

A week after using Windows 7 on my office laptop, I start to like the changes on Start Menu. For example, I am using Remote Desktop Connection a lot, so when I click on Start menu, I see the recent history of servers I connect to.

This is application related, it will work on Internet Explorer, Microsoft Office applications, etc. When you click on the application, you will see a small right arrow, click on the right arrow or hover over it will give you a list of the most recent history of documents you opened with this application.

image

Example, on my Windows Live Writer, the Recent list displays the blog articles that I am writing.

image

Friday, August 14, 2009

Installing Redhat Linux 5.3 on Hyper-V with Linux Integration Components v2 RC2

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.

image

Give it 1GB of memory for GUI features.

image

We will need network to work so that we can get yum updates.

image

You configure a hard disk size for your VM.

image

Map the RHEL iso image to DVD drive for installation.

image

And we are just about ready to start. DO NOT start yet, as we need to add a legacy network adaptor at this moment.

image

Add a Legacy Network Adaptor to your Virtual Machine hardware.

image

Connect this Legacy Adaptor to your bridged network that have internet connectivity as we need YUM UPDATE.

image

Now, fire up the machine and start installation.

image

You will need to enter your Installation Number here to be able to get YUM UPDATE.

image

You need to setup networking here.

image

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.

image

Complete the wizard and we are ready to start installation.

image

Reboot once installation completes.

image

Let’s verify the network are ok by issuing “ifconfig eth0”. Check that you have a working IP address.

image

With network connectivity, we should now do a “yum update” to get the latest updates from your linux sources.

image

When you completed the update, reboot the machine by issuing “reboot” command.

image

Once the system boots up, verify that we have the required packages installed by issuing “yum install kernel-devel” and “yum install gcc” command.

image

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.

image

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.

image

Let’s verify that the Linux ICs are working by issuing “/sbin/lsmod grep vsc”.

image

Then verify the Synthetic Ethernet adapter is working by issuing “ifconfig seth0”

image

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.

image

Here we have it, Redhat Linux 5.3 installed on Hyper-V with Linux Integration Components installed and mouse working too.

Wednesday, August 12, 2009

Windows XP mode for Windows 7

Windows XP Mode is one cool piece that you must have on Windows7. I download and installed it on my Windows 7 notebook and likes what I see.

What is Windows XP Mode?

Windows XP Mode provides a virtual Windows XP environment for Windows 7. It works with Windows Virtual PC and loads up an intelligently pre-configured Windows XP machine that runs on your Windows 7 so perfectly that you would thought that you are running on Windows XP.

This screenshot shows my Windows XP mode, Internet Explorer is running fine and my local and mapped network drives are there too.

image

Features

Windows XP mode was the easiest virtual machine setup I ever did. Setup was simply to download Windows XP mode and start it!!

Direct access to USB and other plug and play devices, and files on your host is possible now. Plus you also get folder integration between host and guest, clipboard sharing and Printer redirection.

The best part that I like is Windows XP Mode allows you to publish and launch applications installed on virtual Windows XP directly from Windows 7 Desktop as if they were installed on Windows 7.

I installed Putty on Windows XP Mode virtual machine and it appears on Windows 7 as a Windows XP Mode Applications. It runs like it was installed on Windows 7 too.

image

So Windows XP Mode will allow more people to upgrade to Windows 7 because it allows them to run Windows XP applications.