Follow-up Comment #11, bug #32998 (project grub):

+verbatime+
Patch to modify grub-mkrescue which makes the protective partition a
mountable
one.  This exposes the first 32k of the drive image as writable to
applications
which obey the boundaries of the partition table.


diff -ruN grub-2.00.orig/util/grub-mkrescue.in
grub-2.00/util/grub-mkrescue.in
--- grub-2.00.orig/util/grub-mkrescue.in        2012-06-14 12:25:07.000000000 
-0500
+++ grub-2.00/util/grub-mkrescue.in     2013-03-01 08:08:56.891157131 -0600
@@ -368,7 +368,7 @@
 fi
 
 # build iso image
-"${xorriso}" -as mkisofs -graft-points ${grub_mkisofs_arguments}
--protective-msdos-label -o "${output_image}" -r "${iso9660_dir}"
--sort-weight 0 / --sort-weight 1 /boot ${source}
+"${xorriso}" -as mkisofs -graft-points ${grub_mkisofs_arguments}
-partition_offset 16 -o "${output_image}" -r "${iso9660_dir}" --sort-weight 0
/ --sort-weight 1 /boot ${source}
 rm -rf "${iso9660_dir}"
 
 rm -f "${embed_img}"



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32998>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to