Francois Clémence
2009-Mar-13  10:20 UTC
[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@lists.xensource.com
http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Mar-13  10:39 UTC
Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
On Fri, Mar 13, 2009 at 5:20 PM, Francois Clémence <Francois.clemence@univ-metz.fr> wrote:> I can''t solve my problem. I want a 32 bits Lenny domU into a 64 bits Lenny > dom0.> 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-686I believe that''s debian-specific problem, so you might get more help from debian users. I was able to use linux-image-2.6-686-bigmem (the one with pv_ops) as PV domU on RHEL 5.3 x86_64 dom0. You might want to try that kernel instead. Somethings might differ (like the console is on hvc0, and the disks will be xvda instead of hda), but it works. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan
2009-Mar-13  10:48 UTC
RE: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
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@univ-metz.fr] 
Sent: Friday, 13 March 2009 9:20 PM
To: xen-users@lists.xensource.com
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-mod
ules-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@lists.xensource.com
http://lists.xensource.com/xen-users
Johnny Bravo
2009-Mar-13  10:48 UTC
Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
Hello! Have u try use debian xen wiki example? http://wiki.debian.org/Xen> 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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Francois Clémence
2009-Mar-13  11:17 UTC
Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
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@univ-metz.fr] > *Sent:* Friday, 13 March 2009 9:20 PM > *To:* xen-users@lists.xensource.com > *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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alan
2009-Mar-13  11:20 UTC
RE: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
I''m aware it will give you errors. But it will still boot - you will
need to configure grub manually.
 
Here is a sample grub.conf
 
default=0
timeout=5
hiddenmenu
title Debian 5.0, kernel 2.6.26-1-xen-686
                root (hd0,0)
                kernel /vmlinuz-2.6.26-1-xen-686 ro root=/dev/xvda1
                initrd /initrd.img-2.6.26-1-xen-686
 
Change the root= to whatever your device is.
 
From: Francois Clémence [mailto:Francois.clemence@univ-metz.fr] 
Sent: Friday, 13 March 2009 10:17 PM
To: Alan Lam
Cc: xen-users
Subject: Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub /
kernel problem
 
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@univ-metz.fr] 
Sent: Friday, 13 March 2009 9:20 PM
To: xen-users@lists.xensource.com
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-mod
ules-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@lists.xensource.com
http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Johnny Bravo
2009-Mar-13  11:34 UTC
Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
No, if u r russian reader then http://wiki.debian.org/DebianRussian/Xen there will be example how to install lenny on pv domU 13 марта 2009, в 13:19, Francois Clémence написал(а):> Hi ! > > Do you speak about http://www.debian.org/releases/stable/i386/apds03.html > ? > > Thanks you ! > François > > Johnny Bravo a écrit : >> Hello! >> >> Have u try use debian xen wiki example? >> >> http://wiki.debian.org/Xen >> >> >> >>> 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@lists.xensource.com >>> http://lists.xensource.com/xen-users >> >> >> >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Francois Clémence
2009-Mar-13  12:47 UTC
Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / kernel problem
It works !! But maybe this Lenny problem of grub detection should be fix. Thanks you very much ! F. Alan a écrit :> --> > > I''m aware it will give you errors. But it will still boot - you will > need to configure grub manually. > > > > Here is a sample grub.conf > > > > default=0 > > timeout=5 > > hiddenmenu > > title Debian 5.0, kernel 2.6.26-1-xen-686 > > root (hd0,0) > > kernel /vmlinuz-2.6.26-1-xen-686 ro root=/dev/xvda1 > > initrd /initrd.img-2.6.26-1-xen-686 > > > > Change the root= to whatever your device is. > > > > *From:* Francois Clémence [mailto:Francois.clemence@univ-metz.fr] > *Sent:* Friday, 13 March 2009 10:17 PM > *To:* Alan Lam > *Cc:* xen-users > *Subject:* Re: [Xen-users] PV Lenny 32 bits into 64 bits dom0 - Grub / > kernel problem > > > > > 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@univ-metz.fr] > *Sent:* Friday, 13 March 2009 9:20 PM > *To:* xen-users@lists.xensource.com <mailto:xen-users@lists.xensource.com> > *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@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- upgrade leny-squeeze, xen3.2-xen4.0, what''s wrong?
- How to install an Ubuntu DomU on Ubuntu 10.04 Dom0
- ISSUE EXPORTING VM FROM XEN 3.2.1 to XCP 0.5 WITH XVA.PY
- tap2:remus:backup_ip:9000|aio:/path_to_disk.img not working - OSError: [Errno 2] No such file or directory
- How to boot Ubuntu 9.04(Jaunty) or Debian Lenny (vmlinuz-2.6.26-2-686-bigmem) as domU under Lenny''s vmlinuz-2.6.26-2-xen-686 as dom0. PVM''s initrd issue