[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] debian lenny 3.2.1 doesn't boot, livexen boots just fine



Hello,

The syntax is not the same in GRUB2 example :
"old" grub.cfg style :

menuentry "Debian GNU/Linux, with Linux xen" {
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 116c3b30-4586-4f25-b7c1-c0d5c5a5b003
        kernel  /xen.gz dom0_mem=1536M
        module  //vmlinuz-xen root=UUID=bc847804-e4d5-49d0-b6ff-998886cbf9b2 ro
noquiet
        module  //initrd-xen
}


"New" grub.cfg style :

menuentry "Debian GNU/Linux, with Linux xen 3.4.3-rc2" {
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set
116c3b30-4586-4f25-b7c1-c0d5c5a5b003
        multiboot       /xen-3.4.gz /xen-3.4.gz noreboot dom0_mem=3072M
cpufreq=xen cpuidle
        module  /vmlinuz-2.6.31.4-xen /vmlinuz-2.6.31.4-xen
root=/dev/md0 ro  noquiet
        module  /initrd.img-2.6.31.4-xen  /initrd.img-2.6.31.4-xen
}

You have to use "multiboot" ... and module the new (?) syntax.

For "standard" kernels the syntax has not changed :

menuentry "Debian GNU/Linux, avec Linux 2.6.32" {
        insmod ext2
        set root=(hd0,1)
        search --no-floppy --fs-uuid --set 116c3b30-4586-4f25-b7c1-c0d5c5a5b003
        linux   //vmlinuz-2.6.32 root=UUID=bc847804-e4d5-49d0-b6ff-998886cbf9b2
ro  noquiet
        initrd  //initrd.img-2.6.32
}


Regards

JP Pozzi



Le mardi 26 janvier 2010 Ã 17:34 -0200, Thiago Camargo Martins Cordeiro
a Ãcrit :
> Hi!
> 
>  I have a tip for you:
> 
> 1- Get the ISO of the Debian Lenny 5.0 amd64 from http://debian.org;
> 2- Install your Debian into your own partition scheme (LVM over RAID);
> 3- Reboot into your new fresh Debian Lenny; upgrade it;
> 4- * GRUB1 is still the default in Lenny, verify it;
> 5- Install the Xen with the command: "aptitude install
> xen-linux-system-2.6.26-2-xen-amd64";
> 6- Reboot into you new dom0.
> 
> Cheers!
> Thiago
> 
> 2010/1/26 Martin Kraus <lists_mk@xxxxxxxxxxx>
>         
>         Hi. I have series x3500 ibm server running xen 3.0.3 from
>         etch. When trying to
>         use xen 3.2.1 from lenny, xen hangs without any messages just
>         after grub2
>         starts booting the xen image.
>         
>         When I tried livexen cd with xen 3.2.1 from lenny, it works
>         just fine. The
>         only difference is probably that livexen uses grub legacy,
>         while I have to use
>         grub2, because my root is on raid+lvm.
>         
>         Also, current configuration doesn't see all of the 6GB of ram,
>         only the first
>         3GB, even with pae xen installed, that's why I'm trying to get
>         newer xen up.
>         However It might be problem with grub but I have no idea how
>         to find out.
>         
>         I'd like to try to find out if I really can't get newer xen
>         running before
>         I'll have to try using kvm or something like that.
>         
>         Could anyone point me in some useful direction?
>         
>         thanks
>         Martin Kraus
>         
>         
>         _______________________________________________
>         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




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.