How to install rhel5 as a fully vitualized guest

Posted on 2009-04-25
Last Modified: 2013-12-06
Dear Sir/Madam:

I have rhel5 also my hardware  supports fully virtualization , while installing enabled the virtualization now i want to install the guest OS again RHEL5 as a fully virtualized guest can anybody help with step by step guide, thanks in advance.
Question by:D_wathi
    LVL 29

    Accepted Solution

    What kind of hardware are we talking about you are running the RHEL 5 environment upon and have you made sure that the BIOS has been enabled for allowing virtualization needs?


    Once your BIOS has been configured/enabled to utilize full virtualization, make sure your system as listed under RHN is configured for the virtualization channel. Once this is done, then you can proceed to the steps below...

    1) To install the Xen kernel and also install the Xen virtual manager:

    'yum install kernel-xen xen virt-manager'

    Once this has been completed and the server rebooted, then you can provision guest OS systems.

    2) As the virt-manager really can build out the virtual disk images (site.img) files, I highly recommend using the following script instead as the 'dd' version makes all of the disk space needed exact and true as the virtual manager sometimes flakes out and doesn't take advantage of all the space requested.

    echo "Provisioning mysite.img virtual image... 50GB"
    /bin/dd if=/dev/zero of=/var/lib/xen/images/mysite.img oflag=direct bs=1M count=50000

    3) In a X-Windows terminal, run 'virt-manager'. You will need the server's root password to login.

    The virtual manager GUI is pretty much step-by-step...

    - You just need to know that the location for the install images (i.e. boot ISO or DVD ISO) needs to be http accessible (i.e. mount the virtual ISO on the host server then use Apache/httpd to allow the virtual manager to call it directly).

    - The virtual manager will prompt you if you want to use a fully or para virtual instance. (If the fully part is grayed out, then something in your BIOS is still not configured for full virtualization capabilities)

    - You will then be prompted for where to install the guest OS on the virtual image (i.e. /var/lib/xen/images). If you made use of the script above, you can just use the same link in the script and it will provision the environment directly on the already prepped VM image.


    If you are looking at provisioning several virtual machines, I highly recommend setting up a kickstart profile as it will make configuration much easier and consistent across all VMs.


    LVL 35

    Assisted Solution

    Here is a step-by-step visual tutorial:

    Before beginning, check the RH virtualization matrix to make sure your guest/host combo is a valid one:

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
    When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now