Index: util/i386/pc/grub-setup.c
===================================================================
RCS file: /sources/grub/grub2/util/i386/pc/grub-setup.c,v
retrieving revision 1.34
diff -u -r1.34 grub-setup.c
--- util/i386/pc/grub-setup.c	19 Feb 2008 14:00:11 -0000	1.34
+++ util/i386/pc/grub-setup.c	23 Feb 2008 19:10:34 -0000
@@ -610,6 +610,7 @@
   char *prefix;
   char *dest_dev;
   int must_embed = 0;
+  int is_lvm = 0;
   
   progname = "grub-setup";
 
@@ -742,6 +743,7 @@
     {
       char *newprefix;
       must_embed = 1;
+      is_lvm = 1;
 
       newprefix = xmalloc (1 + strlen (root_dev) + 1 + strlen (prefix) + 1);
       sprintf (newprefix, "(%s)%s", root_dev, prefix);
@@ -764,7 +766,7 @@
 
       for (i = 0; devicelist[i]; i++)
 	{
-	  setup (raid_prefix,
+	  setup (is_lvm ? prefix : raid_prefix,
 		 dir ? : DEFAULT_DIRECTORY,
 		 boot_file ? : DEFAULT_BOOT_FILE,
 		 core_file ? : DEFAULT_CORE_FILE,
