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

Bug#769107: debian-installer: grub-installer fails if more than 26 SCSI devices are present



Michael Weiser <m.weiser@science-computing.de> (2014-11-11):
> >From 333151e5eed04e7ef292bb15109131e731092674 Mon Sep 17 00:00:00 2001
> From: Michael Weiser <m.weiser@science-computing.de>
> Date: Tue, 11 Nov 2014 16:59:05 +0100
> Subject: [PATCH] Allow for devices with multiple enumeration characters
> 
> Allow for installation of grub on devices such as /dev/sdaa or
> /dev/xvdab.
> ---
>  grub-installer | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/grub-installer b/grub-installer
> index 2b61fb6..cce326f 100755
> --- a/grub-installer
> +++ b/grub-installer
> @@ -252,7 +252,7 @@ case $prefix in
>      /dev/mapper)
>  	disc_offered_devfs="$bootfs"
>  	;;
> -    /dev/[hsv]d[a-z0-9]|/dev/xvd[a-z]|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
> +    /dev/[hsv]d[a-z0-9]|/dev/[sv]d[a-z][a-z]*|/dev/xvd[a-z]*|/dev/cciss/c[0-9]d[0-9]*|/dev/ida/c[0-9]d[0-9]*|/dev/rs/c[0-9]d[0-9]*|/dev/mmcblk[0-9]|/dev/ad[0-9]*|/dev/da[0-9]*)
>  	disc_offered_devfs="$prefix"
>  	;;
>      *)

Hi Ben,

could you please double check the above patch? I'd like another pair
of eyes on it before possibly merging it.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: