[Pkg-xen-devel] #505517 [grub-pc] Dosen't handle xen dom0 kernel automagically [PATCH]

Didier Raboud didier at raboud.com
Mon Nov 17 17:02:59 UTC 2008


package grub-pc
tag 505517 patch upstream
thanks

Le jeudi 13 novembre 2008 09:36:03, vous avez écrit :
> Hi,
>
> Willing to try Xen, I installed "xen-linux-system-2.6.26-1-xen-amd64",
> which came with a bunch of packages…
>
> When I tried to boot the corresponding image, I got an error in Grub.
>
> AFAIK and from what I gathered on the web, the entry "should be":
>
> 	multiboot /xen-3.2-1-amd64.gz dom0_mem=1024M
> 	module	/vmlinuz-2.6.26-1-xen-amd64 root=/dev/mapper/Tamino-Root ro quiet
> vga=792
> 	module	/initrd.img-2.6.26-1-xen-amd64
>
> instead of what is shown below. And in fact, it works.
>
> I think that booting the Xen hypervisor should be more straightaway than
> now (I had to modify the grub-pc configuration).
>
> Regards,
>
> Didier

Hi, 

Here is a patch that solves bug #505517 in two steps :

* grub-pc_00_add_xen_support.patch
	Removes the xen kernels from 10_linux's listing
	(simply blacklisting *-xen-* kernels and initrds)

* grub-pc_01_add_xen_support.patch
* grub-pc_02_add_xen_support.patch
* grub-pc_03_add_xen_support.patch
	Add a 10_xen in /etc/grub.d/ for support of the Xen hypervisors
	Lists all the *-xen-* kernels for each hypervisor version

Maybe 00 should land in grub-pc and 01-03 in some other xen-unique package (e.g. 
the hypervisor itself). Thus cc-ing Debian Xen Team.

I hope that a patch inspired by these could allow a Lenny release 
with "compatible" Xen and grub-pc.

Best regards, 

OdyX

-- 
Didier Raboud, proud Debian user.
CH-1802 Corseaux
didier at raboud.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-pc_00_add_xen_support.patch
Type: text/x-diff
Size: 509 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081117/f70d2edb/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-pc_01_add_xen_support.patch
Type: text/x-diff
Size: 5076 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081117/f70d2edb/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-pc_02_add_xen_support.patch
Type: text/x-diff
Size: 689 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081117/f70d2edb/attachment-0002.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-pc_03_add_xen_support.patch
Type: text/x-diff
Size: 441 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081117/f70d2edb/attachment-0003.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20081117/f70d2edb/attachment.pgp 


More information about the Pkg-xen-devel mailing list