Bob Sauvage
2010-Sep-02 14:51 UTC
Re : Re: Re : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
Thanks a lot for your help David but it doesn''t work :/ xm create -c ubuntu.xen.cfg Using config file "/etc/xen/ubuntu.xen.cfg". Traceback (most recent call last): File "/opt/pygrub/bin/pygrub", line 25, in ? import fsimage ImportError: /opt/pygrub/lib/python2.4/site-packages/fsimage.so: wrong ELF class: ELFCLASS32 name = "ubuntu" bootloader = "/opt/pygrub/bin/pygrub" memory = 512 disk = [ ''phy:/dev/VolGroup0/VM1,xvda,w'' ] vif = [ ''bridge=xenbr0'' ] vcpus = 1 #kernel = "/home/vmlinuz" #ramdisk = "/homeinitrd.gz" on_reboot = ''destroy'' on_crash = ''destroy'' ----- Message d''origine ----- De : David Markey Envoyés : 02.09.10 16:07 À : Bob Sauvage Objet : Re: Re : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5 Bob, install ubuntu normally, with Grub2. Then try this. cd /opt wget http://dmarkey.com/~dmarkey/pygrub.tar.gz tar zxvf pygrub.tar.gz then set your bootloader to /opt/pygrub/bin/pygrub David On 2 September 2010 14:46, Bob Sauvage < Bob.sauvage@gmx.fr > wrote: Thanks all for your tips ! But this solution doesn''t work :/ I reinstalled Ubuntu and I partitioned it differently : / => ext4 /boot => ext3 swap I saw this bug on RedHat Bugzilla : https://bugzilla.redhat.com/show_bug.cgi?id=577511 How can I apply this patch ? I never did this... Thanks in advance... ----- Message d''origine ----- De : Fajar A. Nugraha Envoyés : 02.09.10 01:57 À : Xen User-List Objet : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5 On Wed, Sep 1, 2010 at 11:34 PM, Mark Pryor < tlviewer@yahoo.com > wrote:> > Bob, > > if you accepted the default partition scheme on the LV, then you can mount> your /root while in dom0 and create a grub 0.97 type menu.lst... assuming, of course, that Ubuntu''s "/" (or "/boot", if it''s separate) is NOT ext4. -- Fajar _______________________________________________ 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Markey
2010-Sep-02 14:53 UTC
Re: Re : Re: Re : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
Ah, you''re on a 32bit Dom0. Gimme a sec. On 2 September 2010 15:51, Bob Sauvage <Bob.sauvage@gmx.fr> wrote:> Thanks a lot for your help David but it doesn''t work :/ > > > xm create -c ubuntu.xen.cfg > > > Using config file "/etc/xen/ubuntu.xen.cfg". > > Traceback (most recent call last): > File "/opt/pygrub/bin/pygrub", line 25, in ? > import fsimage > ImportError: /opt/pygrub/lib/python2.4/site-packages/fsimage.so: wrong ELF > class: ELFCLASS32 > > > name = "ubuntu" > bootloader = "/opt/pygrub/bin/pygrub" > > memory = 512 > disk = [ ''phy:/dev/VolGroup0/VM1,xvda,w'' ] > vif = [ ''bridge=xenbr0'' ] > vcpus = 1 > #kernel = "/home/vmlinuz" > #ramdisk = "/homeinitrd.gz" > on_reboot = ''destroy'' > on_crash = ''destroy'' > > > > ----- Message d''origine ----- > > De : David Markey > > Envoyés : 02.09.10 16:07 > > À : Bob Sauvage > > Objet : Re: Re : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos > 5.5 > > Bob, > > install ubuntu normally, with Grub2. > > Then try this. > > cd /opt > wget http://dmarkey.com/~dmarkey/pygrub.tar.gz > > tar zxvf pygrub.tar.gz > > then set your bootloader to /opt/pygrub/bin/pygrub > > David > > > On 2 September 2010 14:46, Bob Sauvage <Bob.sauvage@gmx.fr> wrote: > >> Thanks all for your tips ! >> >> >> But this solution doesn''t work :/ >> >> >> I reinstalled Ubuntu and I partitioned it differently : >> >> >> / => ext4 >> >> /boot => ext3 >> >> swap >> >> >> I saw this bug on RedHat Bugzilla : >> https://bugzilla.redhat.com/show_bug.cgi?id=577511 >> >> >> How can I apply this patch ? I never did this... >> >> >> Thanks in advance... >> >> >> >> ----- Message d''origine ----- >> >> De : Fajar A. Nugraha >> >> Envoyés : 02.09.10 01:57 >> >> À : Xen User-List >> >> Objet : Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5 >> >> On Wed, Sep 1, 2010 at 11:34 PM, Mark Pryor <tlviewer@yahoo.com> wrote: >> > >> > Bob, >> > >> > if you accepted the default partition scheme on the LV, then you can mount >> >> > your /root while in dom0 and create a grub 0.97 type menu.lst >> >> ... assuming, of course, that Ubuntu''s "/" (or "/boot", if it''s >> separate) is NOT ext4. >> >> -- >> Fajar >> >> _______________________________________________ >> >> 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 >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users