Tapas Mishra
2010-May-17 07:23 UTC
[Xen-users] Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. While creating centOS DomU on Dom0
I tried to create CentOS DomU on Debian Lenny and got the error Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. Saw a method given here http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen Step 1 wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/vmlinuz -O /boot/vmlinuz-xen-install wget http://mirror.centos.org/centos/5/os/x86_64/images/xen/initrd.img -O /boot/initrd-xen-install Step 2 Downloaded http://www.grantmcwilliams.com/files/minimal-ks-x86_64.cfg kept a copy to my local apache root modified it It looks like ----------------------------------------------------------------------------------- install url --url http://localhost/centos lang en_US.UTF-8 network --device eth2 --bootproto static # Bogus password, change to something sensible! rootpw something firewall --enabled --portauthconfig --enableshadow --enablemd5 selinux --enforcing ?~H~R?~H~Rport=22:tcp timezone --utc Asia/Kolkata #bootloader --location=mbr --driveorder=xvda --append="console=xvc0" reboot # Partitioning clearpart --all --initlabel --drives=xvda part /boot --fstype ext3 --size=100 --ondisk=xvda part pv.2 --size=0 --grow --ondisk=xvda volgroup VolGroup00 --pesize=32768 pv.2 logvol / --fstype ext3 --name=my_os-root --vgname=vg --size=98304 --grow logvol swap --fstype swap --name=my_os-swap --vgname=vg --size=2048 --grow --maxsize=2048 %packages @core ----------------------------------------------------------------------------------- I have already created to logical volumes my_os-root and my_os-swap 98Gb and 2 GB in size. On local webserver centos is a softlink to locally mounted cdrom Step 3. Created a centos5.cfg file it has following contents ----------------------------------------------------------------------------------- kernel = "/boot/vmlinuz-xen-install" ramdisk = "/boot/initrd-xen-install" extra = "text ks=http://localhost/minimal-ks-x86_64.cfg" name = "centos5" memory = "1024" root = ''/dev/xvda ro'' disk = [ ''phy:/dev/vg/my_os-swap,xvda1,w'', ''phy:/dev/vg/my_os-disk,xvda2,w'', ] vif = [ ''bridge=eth2'', ] vcpus=1 on_reboot = ''destroy'' on_crash = ''destroy'' ----------------------------------------------------------------------------------- Then issued xm create -c centos5.cfg but after some time got an error Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working. While creating centOS DomU on Dom0 What should I do now ? I am trying to create a CentOS DomU on Debian Lenny Amd 64 bit. -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users