[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #32998] grub-mkrescue ISO images bootable as disk (like isohybrid)
From: |
Mark Ferrell |
Subject: |
[bug #32998] grub-mkrescue ISO images bootable as disk (like isohybrid) but not mountable within Linux |
Date: |
Fri, 01 Mar 2013 14:38:52 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0 |
Follow-up Comment #12, bug #32998 (project grub):
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/