LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-12-2010, 03:29 PM   #1
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Rep: Reputation: 15
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.
 
Old 05-12-2010, 10:27 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

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

adapt for centos discs, use the first disc first.
 
1 members found this post helpful.
Old 05-13-2010, 03:02 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Might have to use this tarball to make your own install.

http://www.xen.org/products/xen_source.html
 
1 members found this post helpful.
Old 05-13-2010, 03:16 PM   #4
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jefro View Post
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.
 
Old 05-13-2010, 03:21 PM   #5
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
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...
 
Old 05-13-2010, 04:39 PM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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.

Last edited by smoker; 05-13-2010 at 04:41 PM.
 
Old 05-17-2010, 06:03 AM   #7
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
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.
 
Old 05-17-2010, 11:08 AM   #8
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
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/
 
1 members found this post helpful.
Old 05-23-2010, 03:14 PM   #9
Rodnower
Member
 
Registered: Mar 2010
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by smoker View Post
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.

Last edited by Rodnower; 05-23-2010 at 03:24 PM.
 
  


Reply

Tags
installation, xen



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xen installation utsav soni Linux - Virtualization and Cloud 1 12-06-2009 12:37 PM
xen installation and configuration gitecravirs Linux - Newbie 7 04-17-2009 01:45 AM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 05:46 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration