![]() |
Unable To Install Centos Guest On Xen 3 Following Guide
Hi There,
I followed this howto and the reason I signed up to your site is to work out why this is happening. I have followed hundreds (spending around 8 hours yesterday trying to resolve this) of howtos. This one I followed - http://www.howtoforge.com/centos_5.0_xen gets me the furthest. I get through the text based centos install prompts and then start to install centos and when the installer wants to spin up the disk and get it ready to format it gives me the error: "Input/output error during read on /dev/xvda" which from what I learnt means that the disk which centos is trying to install onto cannot be found/used/read/written. I tried used "dd" to create a disk filled with zeros and that didnt work, tried formatting the drives (drive.img file) as ext3 and that didnt work cant for the life of me work out why and googling my ass off doesnt get me an answer either. If you could shed some light, that would be wonderful! Cheers, Mitch |
Which CentOS version do you use? Did you try this guide? http://www.howtoforge.com/paravirtua...tos-5.4-x86_64
|
Hi Falko,
Yes I followed that guide and found that using virt-install was unsucessful due to the centos installer (on the guest) being unable to detect /dev/xvda. So I then proceeded to create a custom config following: http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU I am using centos 5.4 on the host and centos 5.4 installer on the guest. I have then tried to boot using /dev/sda using the following xen config and ks-minimal.cfg config. Code:
kernel = "/var/www/html/centos54/os/images/xen/vmlinuz"Code:
installThe kernal and ramdisk are used directly from the mounted ISO. Using /dev/sda and following the prompts gets the installer to: Code:
+------------+ No Drives Found +-------------+ Code:
Input/output error during read on /dev/xvda |
2.6.18-164.15.1.el5xen is the kernel on the host.
|
I wrote a long post with heaps of detail that said it needed to be moderated as well as the above post. Not sure where it went (was probably cause it had links in it.)
|
Quote:
And Code:
disk = [ "tap:aio:/vms/www2/disk01-test.img,xvda,w" ] |
| All times are GMT +2. The time now is 21:47. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.