WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel probl

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
From: "Alan" <alan@xxxxxxxxxxxxxx>
Date: Fri, 13 Mar 2009 03:48:14 -0700
Delivery-date: Fri, 13 Mar 2009 03:49:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi Francois,

 

Use this to do your debootstrap:

 

debootstrap --arch=i386 --include=libc6-xen,firmware-bnx2,grub --components=main,contrib,non-free lenny /mnt/xen http://ftp2.fr.debian.org/debian

 

Then, once complete, chroot /mnt/xen

 

Edit /etc/apt/sources.list to your liking (make sure you add lenny/updates!).

 

mkdir -p /boot/grub

 

apt-get update

 

apt-get install linux-image-xen-686

 

Make sure /boot/grub/menu.lst is configured correctly and you should be good to go.

 

Regards,

Alan

 

From: Francois Clémence [mailto:Francois.clemence@xxxxxxxxxxxx]
Sent: Friday, 13 March 2009 9:20 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem

 

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.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users