Package: grub-installer Version: 1.28 Severity: normal Tags: patch The grub package does not currently support installation in a Xen guest domain because it does not understand the Xen virtual block devices (/dev/xvd[a-z]).
Patches have already been posted against grub (#456776) and grub-pc (#456777) but an equivalent patch is also needed for the grub-installer d-i component. Thanks, Ian. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
Index: grub-installer =================================================================== --- grub-installer (revision 50503) +++ grub-installer (working copy) @@ -96,11 +96,11 @@ # Break the device name into the disk part and the partition part case "$host_os" in linux*) - tmp_disk=$(echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \ + tmp_disk=$(echo "$1" | sed -e 's%\(\(s\|h\|xv\)d[a-z]\)[0-9]*$%\1%' \ -e 's%\(fd[0-9]*\)$%\1%' \ -e 's%/part[0-9]*$%/disc%' \ -e 's%\(c[0-7]d[0-9]*\).*$%\1%') - tmp_part=$(echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \ + tmp_part=$(echo "$1" | sed -e 's%.*/\(s\|h\|xv\)d[a-z]\([0-9]*\)$%\2%' \ -e 's%.*/fd[0-9]*$%%' \ -e 's%.*/floppy/[0-9]*$%%' \ -e 's%.*/\(disc\|part\([0-9]*\)\)$%\2%' \ @@ -256,7 +256,7 @@ /dev/mapper) disc_offered_devfs="$bootfs" ;; - /dev/[hs]d[a-z]|/dev/cciss/c[0-9]d[0-9]|/dev/ida/c[0-9]d[0-9]) + /dev/[hs]d[a-z]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]|/dev/ida/c[0-9]d[0-9]) disc_offered_devfs="$prefix" ;; *)