Your message dated Fri, 23 Dec 2011 00:02:32 +0000
with message-id <[email protected]>
and subject line Bug#631487: fixed in grub-imageboot 0.6
has caused the Debian Bug report #631487,
regarding grub-imageboot: please adapt or document seemingly random usage of
the option "raw"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
631487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grub-imageboot
Severity: wishlist
Currently, there is only one google hit for „"rawimg" linux16"” (a copy
of grub-imageboot's extracted source code) and all documentation I was
able to find, including your blog entry, uses "raw" instead. Thus,
I assume the below quoted line is just a typo.
| test -z "$IMAGEOPTS" && IMAGEOPTS="rawimg"
Please undo this typo in bin/60_grub-imageboot and also adapt
etc/grub-imageboot accordingly if I'm right.
grub-imageboot uses "iso" as option to boot .iso files and it does not
use "raw". To be able to use an iso image containing a firmware upgrade
tool, I needed to add "raw" manually, so using both is at least not
always wrong.
The type of .img files is automatically determined by memdisk. Depending
on the size of the file, it is either detected as floppy image or as
harddisk image. To let the user decide which type of image the file is,
either "floppy" or "harddisk" would need to be added as option, similar
to "iso" which is used for .iso files. This could be implemented by
adding new file name extensions ".floppy" and ".harddisk", i.e., an
image file "asdf.floppy" would be booted as floppy image,
"asdf.harddisk" would be booted as harddisk image and how to boot
"asdf.img" would be automatically determined by memdisk.
As described above, grub-imageboot does not add (as I would have
expected) the type of the image as option for .img files, but instead
adds an option ("raw") that tells memdisk how to enter protected mode.
I don't understand why "raw" is passed to harddisk and floppy images by
default, but not to iso images. If there is a reason to do so, please
document it, otherwise please adapt the behaviour.
Besides "raw", there are other options that might be needed to boot some
images on specific computers (see /usr/share/doc/syslinux/memdisk.txt.gz
for details). If an option is required to boot image A but must not be
used to be able to boot image B, there is currently no way to tell
grub-imageboot to do so.
Two ways to make grub-imageboot more configurable that come to my mind
are:
* read options for ${imagefile} from ${imagefile}.config if it exists
* let the users add additional file name extensions with custom options
in /etc/default/grub-imageboot, e.g., .raw-hdd, which uses "raw" and
"harddisk" as options
The latter could be implemented like this:
| set -e
|
| . /usr/lib/grub/grub-mkconfig_lib
|
| imageboot_add_extension() {
| ...
| }
|
| IMAGES=/boot/images
|
| if [ -e "/etc/default/grub-imageboot" ]
| then
| . /etc/default/grub-imageboot
| fi
|
| ...
Users could use imageboot_add_extension in /etc/default/grub-imageboot
to add custom extensions.
I don't have an idea how imageboot_add_extension would look like exactly
yet, though.
Carsten
--- End Message ---
--- Begin Message ---
Source: grub-imageboot
Source-Version: 0.6
We believe that the bug you reported is fixed in the latest version of
grub-imageboot, which is due to be installed in the Debian FTP archive:
grub-imageboot_0.6.dsc
to main/g/grub-imageboot/grub-imageboot_0.6.dsc
grub-imageboot_0.6.tar.gz
to main/g/grub-imageboot/grub-imageboot_0.6.tar.gz
grub-imageboot_0.6_all.deb
to main/g/grub-imageboot/grub-imageboot_0.6_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexander Wirt <[email protected]> (supplier of updated grub-imageboot
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 23 Dec 2011 00:53:06 +0100
Source: grub-imageboot
Binary: grub-imageboot
Architecture: source all
Version: 0.6
Distribution: unstable
Urgency: low
Maintainer: Alexander Wirt <[email protected]>
Changed-By: Alexander Wirt <[email protected]>
Description:
grub-imageboot - boot iso, harddisk and floppy images with grub2 and syslinux
memd
Closes: 629834 631486 631487 631654
Changes:
grub-imageboot (0.6) unstable; urgency=low
.
[ Michael Prokop ]
* [2061b1c] Probe device where image is being stored using ${grub_probe}
instead of using ${GRUB_DEVICE_BOOT}.
.
[ Alexander Wirt ]
* [4bf7773] Wrap README.Debian (Closes: #629834, #631654)
* [5a3291e] Improve description in control file.
Thanks to Carsten Hey (Closes: #631486)
* [946106e] Refactor grub-imageboot.
Thanks to Carsten Hey for the great patch (Closes: #631487)
* [4378100] Remove trailing whitespace in controlfile
* [7ffc35e] Allow grub-efi bootloaders as alternative for grub-pc
* [b85a107] wrap-and-sort controlfile
Checksums-Sha1:
3bc16b8fa982034ca2bb75741b3716e81a8917e9 767 grub-imageboot_0.6.dsc
7bc87e6bea9ddb1721fe25c9cc25d62b1af5c1fa 3825 grub-imageboot_0.6.tar.gz
9b30c63d22438ae04f4a366d275a4283d8755e24 4354 grub-imageboot_0.6_all.deb
Checksums-Sha256:
b518dbd1fcedb2dc5b6a0228f682ae302c6668419e49c17b08ebb46d89215d71 767
grub-imageboot_0.6.dsc
dbb928ed24acc38bc93c6aa671564ff077b7a35b0a7ceacd12c805b72d987ad2 3825
grub-imageboot_0.6.tar.gz
60acecad206aef550b66c317c1647f72977d43904735b3ecb5f35dcdd426cc9f 4354
grub-imageboot_0.6_all.deb
Files:
3de4df971ed3bf10fc2ee9a57cbbf7fa 767 admin extra grub-imageboot_0.6.dsc
3bfbaa7dee6c53f8b8b61935a5481257 3825 admin extra grub-imageboot_0.6.tar.gz
6c971d30b8cb04e77cd093d18070d7d0 4354 admin extra grub-imageboot_0.6_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk7zwxUACgkQ01u8mbx9AgpR+QCgo1fLPXmYPI5Jv1nz2xDZzdwG
eyoAmwX1lS6zoYRRsLgWdf6g2eu4c11D
=RVyL
-----END PGP SIGNATURE-----
--- End Message ---