LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Xen installation (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/xen-installation-807454/)

Rodnower 05-12-2010 03:29 PM

Xen installation
 
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.

smoker 05-12-2010 10:27 PM

http://www.linuxquestions.org/questi...ng-dvd-806913/

adapt for centos discs, use the first disc first.

jefro 05-13-2010 03:02 PM

Might have to use this tarball to make your own install.

http://www.xen.org/products/xen_source.html

Rodnower 05-13-2010 03:16 PM

Quote:

Originally Posted by jefro (Post 3967421)
Might have to use this tarball to make your own install.

http://www.xen.org/products/xen_source.html

Yes, I will try to install Xen with separate installer, but any way I need to know how to install from disks.

Rodnower 05-13-2010 03:21 PM

Quote:

Originally Posted by smoker (Post 3966545)
http://www.linuxquestions.org/questi...ng-dvd-806913/

adapt for centos discs, use the first disc first.

Thank you, I did how it was wrote, and use both ways with command line and GUI, but in two cases I get error at the and of process after dependency resolution. The error begin so:
-----------------------
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
-----------------------
I tried three first disks, and I think thatI will get the same error for other four...

smoker 05-13-2010 04:39 PM

It looks like you haven't specified the path correctly.
It is looking for the wrong things in the wrong places.

Post the entire yum output please.

Also, post your repo here, and a listing of the first centos cd.

Rodnower 05-17-2010 06:03 AM

Quote:

Originally Posted by smoker (Post 3967517)
It looks like you haven't specified the path correctly.
It is looking for the wrong things in the wrong places.

Thank you for replay and sory for my late reaction.

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:
http://www.4shared.com/document/d0Dc...l--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:
http://www.4shared.com/document/T3gOtoKG/Error.html
Again sorry for waiting.

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

smoker 05-17-2010 11:08 AM

Your repo is not set up right.

baseurl=file:///media/CentOS/

should be

baseurl=file:///media/CentOS_5.4_Final/CentOS/

also get rid of

file:///media/cdrom/
file:///media/cdrecorder/

Rodnower 05-23-2010 03:14 PM

Quote:

Originally Posted by smoker (Post 3971574)
Your repo is not set up right.

baseurl=file:///media/CentOS/

should be

baseurl=file:///media/CentOS_5.4_Final/CentOS/

also get rid of

file:///media/cdrom/
file:///media/cdrecorder/

I won!!!
I tried what you suggest, but it is not exactly worked.
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 like in "Other OS's".

Thank you for your help.


All times are GMT -5. The time now is 04:50 AM.