Hello,
I can't solve my problem. I want a 32 bits Lenny domU into a 64 bits
Lenny dom0.
I plan to use pygrub for that (xen 3.2.1).
So, I tried to debootstrap a 32 bits domU into a 64 bits dom0.
debootstrap --arch=i386
--include=libc6-xen,firmware-bnx2,linux-image-2.6.26-1-xen-686,linux-modules-xen-686,linux-image-xen-686,grub
--components=main,contrib,non-free lenny /mnt/xen
http://ftp2.fr.debian.org/debian
But i have this problem at the end :
dpkg: error processing linux-image-2.6.26-1-xen-686 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-xen-686:
linux-image-xen-686 depends on linux-image-2.6.26-1-xen-686; however:
Package linux-image-2.6.26-1-xen-686 is not configured yet.
dpkg: error processing linux-image-xen-686 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.26-1-xen-686
linux-image-xen-686
I read this article
http://ressukka.net/blog/posts/20090217_Xen_domU_upgrades/
So, I update domU.cfg :
bootloader = '/usr/lib/xen-3.2-1/bin/pygrub'
root = '/dev/xvda1 ro'
disk = [
'phy:/dev/xen-lvm/386-disk,xvda1,w',
'phy:/dev/xen-lvm/386-swap,xvda2,w',
]
and domU fstab :
/dev/xvda1 / ext3 defaults 0 1
/dev/xvda2 none swap defaults 0 0
proc /proc proc defaults 0 0
But dpkg --configure -a gives the same dpkg problem !
And update-grub does not generate any files under /boot/grub !!
How to fix that ?
François C.