View Single Post
Old 10th May 2010, 09:39
mitch.sanders mitch.sanders is offline
Junior Member
Join Date: May 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts

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:

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.

kernel = "/var/www/html/centos54/os/images/xen/vmlinuz"
ramdisk = "/var/www/html/centos54/os/images/xen/initrd.img"
name = "www2-test"
extra = "text ks="
memory = 2048
disk = [ "tap:aio:/vms/www2/disk01-test.img,sda,w" ]
vif = [ "mac=00:16:36:4f:3b:3d,bridge=xenbr1,script=vif-bridge" ]
vcpus = 8
#bootloader = "/usr/bin/pygrub"
on_reboot = "destroy"
on_crash = "destroy"
contents of http://IP-Of-Webserver/minimal-ks.cfg

url --url http://IP-Of-Webserver/centos54/os/
CentOS-5.4-x86_64-bin-DVD.iso is mounted to /var/www/html/centos54/os and is publicly accessible.

The kernal and ramdisk are used directly from the mounted ISO.

Using /dev/sda and following the prompts gets the installer to:

+------------+ No Drives Found +-------------+                 
|                                                               |                 
| An error has occurred - no valid devices     |                 
| were found on which to create new file       |                 
| systems. Please check your hardware for    |                 
| the cause of this problem.
Where-as /dev/xvda brings back a similar error of:

Input/output error during read on /dev/xvda
I have spent close to 16 hours googling, trying new things and running around after guide after guide. If you could shead some light that would be amazing!
Reply With Quote