CentOs DomU creation on Debian Dom0 is failing Hotplug scripts not working.

Support for the other architectures (X86_64, IA-64, and PowerPC)
Post Reply
druti123
Posts: 3
Joined: 2010/05/15 05:38:17

CentOs DomU creation on Debian Dom0 is failing Hotplug scripts not working.

Post by druti123 » 2010/05/17 08:50:26

I tried to create CentOS DomU on Debian Lenny
and got the error
[code]
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not working.[/code]
Saw a method given here
http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen

Here is a complete description of what I did.
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 (/var/www/)
modified it
It looks like
-----------------------------------------------------------------------------------
[code]
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 --port=
authconfig --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 [/code]
-----------------------------------------------------------------------------------

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


-----------------------------------------------------------------------------------
[code]
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'
[/code]
-----------------------------------------------------------------------------------
Then issued
xm create -c centos5.cfg
but after some time got an error
[code]
Error: Device 51714 (vbd) could not be connected. Hotplug scripts not
working. While creating centOS DomU on Dom0
[/code]
What should I do now ?
I am trying to create a CentOS DomU
on Debian Lenny Amd 64 bit.

The problem is rest of the DomU's are on Debian itself and they are working while this CentOS I am trying to create I have no clue as why did it failed ?

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

CentOs DomU creation on Debian Dom0 is failing Hotplug scrip

Post by r_hartman » 2010/05/19 11:51:18

Maybe I'm missing something, but the way I read this this is not remotely related to CentOS.
The problem is with Debian, not being able to create a DomU in which you later plan to install CentOS.
But until you've successfully created the DomU, you cannot even start installing CentOS...

Try the Debian fora and / or mailing lists.

Post Reply

Return to “CentOS 5 - X86_64,s390(x) and PowerPC Support”