[xen-tools-discuss] xen-tools on Ubuntu 8.04 Server
Anders Andersson
pipatron at gmail.com
Fri Jul 4 23:56:59 CEST 2008
Good evening, list! I'm trying to create a debian lenny domU using
xen-create-image 3.8 from Ubuntu 8.04 server (Hardy). There are some
issues, some trivial, some that I have solved and some that I have
not. Would be grateful for any comments!
1)
In lenny.d/hook 20-setup-apt, I'm getting these: "Can not write log,
openpty() failed (/dev/pts not mounted?)"
This is most probably trivial and of no importance, but possibly one
need to mount --bind /dev/pts from the host, while running in chroot?
2)
In lenny.d/55-create-dev:
/usr/lib/xen-tools/lenny.d/55-create-dev: 45: ./MAKEDEV: not found
/usr/lib/xen-tools/lenny.d/55-create-dev: 45: ./MAKEDEV: not found
/usr/lib/xen-tools/lenny.d/55-create-dev: 45: ./MAKEDEV: not found
I'm guessing these are because there is no MAKEDEV in lenny; they use
udev. Can I simply remove 55-create-dev completely?
3)
In the file /usr/lib/xen-tools/common.sh, "echo -e" fails because
ubuntu is using dash for scripts. "echo -e" must be replaced with
either 2 separate echo, or with "/bin/echo -e", which is GNU's echo.
4)
In the file lenny.d/40-setup-networking, this line doesn't work in
dash (shouldn't work in bash either?):
bcast = ' broadcast ${broadcast}'
It has to be changed to:
bcast="broadcast ${broadcast}"
Thanks for a great tool,
Anders
More information about the xen-tools-discuss
mailing list