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: Alan <alan@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
From: Francois Clémence <Francois.clemence@xxxxxxxxxxxx>
Date: Fri, 13 Mar 2009 12:17:29 +0100
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 13 Mar 2009 04:19:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <"H000006b0014e230.1236941290.phoenix.hosted-servers.net*"@MHS>
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>
References: <"H000006b0014e230.1236941290.phoenix.hosted-servers.net*"@MHS>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Thanks for the idea.

But, well still the same problem.

Debootstrop went fine, but apt-get install linux-image-xen-686 gives the same problem :

Searching for GRUB installation directory ... found: /boot/grub
Probing devices to guess BIOS drives. This may take a long time.
dpkg: error processing linux-image-2.6.26-1-xen-686 (--configure):
 subprocess post-installation script returned error exit status 1
Setting up linux-modules-2.6-xen-686 (2.6.26+17) ...
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
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.26-1-xen-686
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
grep: /proc/modules: No such file or directory
Errors were encountered while processing:
 linux-image-2.6.26-1-xen-686
 linux-image-xen-686
E: Sub-process /usr/bin/dpkg returned an error code (1)

And update-grub does nothing !

Do you have the same problem/bug  ?

François

Alan a écrit :
-->

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
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users