+2010-10-17 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/grub-setup.c (setup): Don't clean blocklists before readability
+ verfification.
+
2010-10-16 Vladimir Serbinenko <phcoder@gmail.com>
* docs/grub.texi (Installation): Document embedding zone. Remove
}
#endif
- /* Clean out the blocklists. */
- block = first_block;
- while (block->len)
- {
- grub_memset (block, 0, sizeof (block));
-
- block--;
-
- if ((char *) block <= core_img)
- grub_util_error ("No terminator in the core image");
- }
-
#ifdef GRUB_MACHINE_PCBIOS
{
grub_partition_map_t dest_partmap = NULL;
goto unable_to_embed;
}
+ /* Clean out the blocklists. */
+ block = first_block;
+ while (block->len)
+ {
+ grub_memset (block, 0, sizeof (block));
+
+ block--;
+
+ if ((char *) block <= core_img)
+ grub_util_error ("No terminator in the core image");
+ }
+
save_first_sector (sectors[0] + grub_partition_get_start (container),
0, GRUB_DISK_SECTOR_SIZE);