Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, I have CentOS 5.4 installed. Now I'm trying to install Xen with out connecting to Internet (I have any driver for modem, so I search on Inernet only from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    20

    Installing Xen


    Hello, I have CentOS 5.4 installed.
    Now I'm trying to install Xen with out connecting to Internet (I have any driver for modem, so I search on Inernet only from Windows).
    All I have are 7 installation disks.
    First I done was to find kind of some add/remove programs wizard but it needed connection to Inernet.
    Second I try was to find Xen rpm on all disks and install it. But I fell on some dependency of some dependency.
    Third I attempted was to boot from first disk and do upgrade, but also it was unsuccessfully...
    So my question is: is there some way to install Xen from CentOS installation disks with out network?

    Thank you for ahead.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,445
    Any particular reason why you need to install XEN? Why not KVM, which is part of the standard distribution and should also be installable from the CD/DVD set you have.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Dec 2009
    Posts
    20
    So reason is that I need to get some expirience with Xen during my studies, but in any way I will glad to see how I can install KVM from those disks.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,445
    Xen is pretty much being deprecated in the Linux environment since it was bought out by Citrix a couple of years ago. It won't be available on Red Hat based systems after the current 5.4 as far as I know. Maybe it will be available on 5.5, but definitely not on 6.0 (currently in beta).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,445
    FWIW, I used it about 2 1/2 years ago when I first built my current workstation/server, but I dropped it in favor of VirtualBox when I found that I could not install the nVidia proprietary drivers with the Xen kernel, which pretty much fubar'd any high-performance graphics that I needed to run. Also, without those drivers I couldn't use my 2 24" flat panel monitors or get use of the full 1920x1200 resolution they are capable of. So, two months after I installed the system, I stopped using the xen kernel, and then uninstalled it altogether.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined!
    Join Date
    Dec 2009
    Posts
    20
    I found way how to connect to repository on disks (you need to enable only media repository in /etc/yum.repos.d/ directory, but when I try to install xen I get error that begins with:
    -----------------------------------
    xen-libs-3.0.3-94.el5.x86_64:
    failure: CentOS/xen-libs-3.0.3-94.el5.x86_64.rpm from c5-media:
    [Errno 256] No more mirrors to try.
    libvirt-0.6.3-20.el5.i386:
    failure: CentOS
    -----------------------------------
    at the end of the process. I tried to insert three first disks, and I beleave that the same error will with other four.

    Any one know how may I install Xen or something else from dsks?

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,445
    As I recall, when I originally installed CentOS, Xen was an installation option. Of course, that was 2 1/2 years ago, so I may be misremembering... Have you tried to reinstall CentOS from scratch to see if that is the case? A more simple issue is to get the xen kernel rpm from a CentOS mirror and install that manually with Yum. I just looked and it is there for the latest kernel (2.6.18-164).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Just Joined!
    Join Date
    Dec 2009
    Posts
    20
    I thing that reinstall OS is the worst case and I will try to install Xen from rpm, but in any caes I need to know how to install things from discs. So if some one may to help me, this is /etc/yum.repos.d/CentOS-media.repo:
    [c5-media]
    name=CentOS-$releasever - Media
    baseurl=file:///media/CentOS/
    file:///media/cdrom/
    file:///media/cdrecorder/
    gpgcheck=1
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

    In /etc/yum.repos.d/CentOS-Base.repo all enabled = 0

    This is content of /media/CentOS_5.4_Final:
    total 178
    drwxr-xr-x 2 root root 102400 Oct 1 2009 CentOS
    -rw-r--r-- 8 root root 212 Oct 1 2009 EULA
    -rw-r--r-- 8 root root 18009 Oct 1 2009 GPL
    drwxr-xr-x 4 root root 2048 Oct 1 2009 images
    drwxr-xr-x 2 root root 2048 Oct 1 2009 isolinux
    drwxr-xr-x 2 root root 16384 Oct 1 2009 NOTES
    -rw-r--r-- 2 root root 655 Oct 1 2009 RELEASE-NOTES-cs
    -rw-r--r-- 2 root root 1401 Oct 1 2009 RELEASE-NOTES-cs.html
    -rw-r--r-- 2 root root 839 Oct 1 2009 RELEASE-NOTES-de
    -rw-r--r-- 2 root root 1571 Oct 1 2009 RELEASE-NOTES-de.html
    -rw-r--r-- 2 root root 694 Oct 1 2009 RELEASE-NOTES-en
    -rw-r--r-- 2 root root 1367 Oct 1 2009 RELEASE-NOTES-en.html
    -rw-r--r-- 2 root root 694 Oct 1 2009 RELEASE-NOTES-en_US
    -rw-r--r-- 2 root root 1367 Oct 1 2009 RELEASE-NOTES-en_US.html
    -rw-r--r-- 2 root root 788 Oct 1 2009 RELEASE-NOTES-es
    -rw-r--r-- 2 root root 1619 Oct 1 2009 RELEASE-NOTES-es.html
    -rw-r--r-- 2 root root 852 Oct 1 2009 RELEASE-NOTES-fr
    -rw-r--r-- 2 root root 1641 Oct 1 2009 RELEASE-NOTES-fr.html
    -rw-r--r-- 2 root root 766 Oct 1 2009 RELEASE-NOTES-ja
    -rw-r--r-- 2 root root 1565 Oct 1 2009 RELEASE-NOTES-ja.html
    -rw-r--r-- 2 root root 706 Oct 1 2009 RELEASE-NOTES-nl
    -rw-r--r-- 2 root root 1433 Oct 1 2009 RELEASE-NOTES-nl.html
    -rw-r--r-- 2 root root 752 Oct 1 2009 RELEASE-NOTES-pt_BR
    -rw-r--r-- 2 root root 1480 Oct 1 2009 RELEASE-NOTES-pt_BR.html
    -rw-r--r-- 2 root root 801 Oct 1 2009 RELEASE-NOTES-ro
    -rw-r--r-- 2 root root 1473 Oct 1 2009 RELEASE-NOTES-ro.html
    drwxr-xr-x 2 root root 2048 Oct 1 2009 repodata
    -rw-r--r-- 8 root root 1512 Oct 1 2009 RPM-GPG-KEY-beta
    -rw-r--r-- 2 root root 1504 Oct 1 2009 RPM-GPG-KEY-CentOS-5
    -r--r--r-- 1 root root 7048 Oct 1 2009 TRANS.TBL

    This is content of /media/CentOS_5.4_Final/repodata:

    total 32328
    -rw-r--r-- 1 root root 941644 Oct 1 2009 comps.xml
    -rw-r--r-- 2 root root 4116331 Oct 1 2009 filelists.sqlite.bz2
    -rw-r--r-- 1 root root 3478717 Oct 1 2009 filelists.xml.gz
    -rw-r--r-- 2 root root 10443591 Oct 1 2009 other.sqlite.bz2
    -rw-r--r-- 1 root root 10845962 Oct 1 2009 other.xml.gz
    -rw-r--r-- 2 root root 2141520 Oct 1 2009 primary.sqlite.bz2
    -rw-r--r-- 1 root root 1130874 Oct 1 2009 primary.xml.gz
    -rw-r--r-- 1 root root 1296 Oct 1 2009 repomd.xml
    -r--r--r-- 1 root root 1811 Oct 1 2009 TRANS.TBL

    Content of /media/CentOS_5.4_Final/CentOS is too large so I put it here:
    h t t p : / / w w w .4shared.com/document/d0DciW69/media--CentOS_54_Final--CentOS.html
    Im very sorry for 10 second that you need to wait...

    Now, I'm do and see the following:
    Package Manager -> Brows -> Virtualization -> Apply -> Package Selection -> Details:
    Installing:
    gnome-applet-vm-0.1.2-1.el5
    kernel-xen-2.6.18-164.el5
    libvirt-0.6.3-20.el5
    libvirt-0.6.3-20.el5
    virt-manager-0.6.1-8.el5
    virt-viewer-0.0.2-3.el5
    xen-3.0.3-94.el5

    -> Continue -> Resolving -> Dependencies added -> Details:
    Adding for dependencies:
    bridge-utils-1.1-2
    celt051-0.5.1.3-0.el5
    gnome-python2-gnomekeyring-2.16.0-3.el5
    iscsi-initiator-utils-6.2.0.871-0.10.el5
    kvm-qemu-img-83-105.el5
    libvirt-python-0.6.3-20.el5
    log4cpp-1.0-4.el5
    python-virtinst-0.400.3-5.el5
    qcairo-1.8.7.1-3.el5
    qffmpeg-libs-0.4.9-0.15.20080908.el5
    qpixman-0.13.3-4.el5
    qspice-libs-0.3.0-39.el5
    xen-libs-3.0.3-94.el5
    xen-libs-3.0.3-94.el5

    -> Continue -> Error downloading packages -> Details:
    The error also is too large so I put it here:
    h t t p : / / w w w .4shared.com/document/T3gOtoKG/Error.html
    Again sorry for waiting.

    Do you have to say something about that? Thank you for ahead.

  9. #9
    Just Joined!
    Join Date
    Dec 2009
    Posts
    20

    The solution

    I get it!
    For get this working I coppied all rpm's from all 7 discs to /repository/CentOS that I was created before that, I summed all contents of TRANS.TBL files from all discs in CentOS directory to one file and saved it in /repository/CentOS/TRANS.TBL, after this I put the importest directory named repodata from first disc (/media/CentOS_5.4_Final/repodata) to /repository/repodata
    After that I coppied CentOS-Media.repo in /etc/yum.repos.d to, for instance: CentOS-Local.repo and set baseurl to: baseurl=file:///repository/
    Only to /repository/ not to /repository/CentOS/ or /repository/repodata
    The last thing was to disable all other repositories like it was described here before.
    This is the only way to get it working I thing, because when yum not find some dependency on current cd disc, it throw error instead of require following disc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •