[Tfug] Xen Virtualization

Charles R. Kiss charles at kissbrothers.com
Wed Jan 7 23:37:18 MST 2009


I'm trying to set up a Xen.

I thought I would try this:

http://lists.xensource.com/archives/html/xen-users/2007-05/msg00652.html

Because, it's a method for using the existing Debian amd64 kernel, 
instead of Xen kernels.  [Why not risk blowing up the whole system that 
has previously been running so flawlessly?]

My first question is this: are there some distros where one can rename 
the directory one is in, while one is in it?  Because the instructions 
have this line that didn't seem to make sense (to me):

*cd ..                        # /usr/src/xen/dist
mv dist xen-hypervisor-and-tools-3.1.0*

What I did instead was, I moved back an additional directory to 
/usr/src/xen and then renamed "dist" to "xen-hyper.." and then moved 
forward into the renamed "xen-hyper.." to run the checkinstall.


The checkinstall ran fine, made the package.  

But I got these errors when running the new package named 
xen-hypervisor-and-tools_3.1.0-1_amd64.deb:
ie. complaining that what are existing /directories/ should be plain 
files or symlinks:
 

Unpacking xen-hypervisor-and-tools (from 
xen-hypervisor-and-tools_3.1.0-1_amd64.deb) ...
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/init.d' is not a 
plain file or symlink (= `/etc/init.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/udev' is not a 
plain file or symlink (= `/etc/udev')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/udev/rules.d' is 
not a plain file or symlink (= `/etc/udev/rules.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc3.d' is not a 
plain file or symlink (= `/etc/rc3.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc6.d' is not a 
plain file or symlink (= `/etc/rc6.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc1.d' is not a 
plain file or symlink (= `/etc/rc1.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/default' is not 
a plain file or symlink (= `/etc/default')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc2.d' is not a 
plain file or symlink (= `/etc/rc2.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc0.d' is not a 
plain file or symlink (= `/etc/rc0.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc5.d' is not a 
plain file or symlink (= `/etc/rc5.d')
dpkg: xen-hypervisor-and-tools: warning - conffile `etc/rc4.d' is not a 
plain file or symlink (= `/etc/rc4.d'

...

However, the instructions:

*for i in 0 1 2 3 4 5 6 ; do mkdir rc$i.d ; done
for i in 0 1 6 ; do cd rc$i.d ; ln -sf ../init.d/xend K21xend ; ln -sf 
../init.d/xend K20xendomains ; cd .. ; done
for i in 2 3 4 5 ; do cd rc$i.d ; ln -sf ../init.d/xend S20xend ; ln -sf 
../init.d/xend S21xendomains ; cd .. ; done

*...seems to want them to be directories with symlinks inside them:

house:/usr/src/xen/xen-hypervisor-and-tools-3.1.0/install/etc/rc0.d# ls -l
total 0
lrwxrwxrwx 1 root root 14 2009-01-08 01:11 K20xendomains -> ../init.d/xend
lrwxrwxrwx 1 root root 14 2009-01-08 01:11 K21xend -> ../init.d/xend



Does anybody have advice?  At this point, I'm almost afraid to reboot.  
Should I try using the Xen kernels? Is there a preferred link somewhere?


Thanks again!!

Charles






More information about the tfug mailing list