Hi, The attached patch uses grub_partition_get_start (p) instead of p->start in grub-setup's iteration over partitions. While we are at it, also use grub_partition_get_len (p) instead of p->len. An alternative would be to assume that partitions are properly nested, and therefore iterate only over the top-level ones (i.e. those with p->parent == NULL). In that case, we could equivalently use p->start. In the check for non-empty embedding area, the patch uses <= instead of == (as we may have embed_region.start == 1 && embed_region.end == 0). Comments? Grégoire