]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-02-17 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 17 Feb 2008 10:32:02 +0000 (10:32 +0000)
committerrobertmh <robertmh@localhost>
Sun, 17 Feb 2008 10:32:02 +0000 (10:32 +0000)
        * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
        set `first_start' to 0 for non-PC/MSDOS partition maps.

ChangeLog
util/i386/pc/grub-setup.c

index 8e9a768cd9809e0e7f279554986f89c0ef578b77..ab7f80274e5d4ef234948b7c210b0f1410bd41d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-17  Robert Millan  <rmh@aybabtu.com>
+
+       * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
+       set `first_start' to 0 for non-PC/MSDOS partition maps.
+
 2008-02-16  Robert Millan  <rmh@aybabtu.com>
 
        * util/i386/pc/grub-setup.c (setup): In find_first_partition_start(),
index c77cd09912d036b59219442b1ee7012a534f56da..647d46e4139bf1a90c82c2e3e6becfb447a5cb29 100644 (file)
@@ -130,10 +130,9 @@ setup (const char *prefix, const char *dir,
            first_start = p->start;
        }
       else
-       {
-         if (first_start > p->start)
-           first_start = p->start;
-       }
+       /* In other partition maps, the region after MBR and before first
+          partition is not reserved (on GPT, it contains the primary header).  */
+       first_start = 0;
 
       return 0;
     }