From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ?
Date: Sat, 10 Apr 2010 00:28:10 +0200 [thread overview]
Message-ID: <105870202226489@192.168.2.69> (raw)
In-Reply-To: <4BBF93C2.9010602@gmail.com>
Hi,
> Now it's enough to replace grub-mkisofs with xorrisofs.
What about operating systems other than GNU/Linux
and FreeBSD ?
I have running a version of grub-mkrescue which
can deal with grub-mkisofs, genisoimage, and
xorriso. (genisoimage without
--protective-msdos-label and --modification-date)
Maybe it would offer a softer migration path
than flatly urging people to port xorrisofs to
their favorite exotic OS.
Of course i would gladly support any porting
effort, which should be easy as long as one does
not want to use it for burning optical media.
> Do you know when debian will follow? When
> this version is in Debian sid I plan to remove grub-mkisofs
I informed George Danchev about our progress
today. Like so many people he is very occupied
currently.
In charge are the Debian Libburnia packagers.
See
http://packages.qa.debian.org/libi/libisofs.html
Since Debian covers our dynamic compilations
i will first have to release a new
libisofs-0.6.30 and a new libisoburn-0.5.4.
That should be possible in the next days.
I just have to do some more tests.
Maybe one could try to find testers for
GNU xorriso-0.5.3 on some of the other OSes in
the meantime ?
------------------------------------------------
> Unfortunately floppies are of interest. Moreover our modules put
> together result in 1146880 bytes tar file.
Then you should in any case let xorrisofs
write into a sequential pipe
| cat > ${output_image}
rather than into a random access file
-o ${output_image}
(or > ${output_image} without cat)
in order to save the overhead of 64 to 126 kB.
Would read support for zisofs be in your reach ?
It is implemented in the Linux kernel iso9660
code since a while. See CONFIG_ZISOFS in
fs/isofs/*.[ch]
If zlib is provided, then xorriso can produce
zisofs on-the-fly on normal input file trees.
No need to run the mkzftree utility.
(But it can recognize and use the mkzftree
prepared files too.)
The mkisofs emulation cannot do the on-the-fly
stunt, yet. So this has to look a bit ugly:
"${mkisofs_prog}" ...
${source} \
-- -set_filter_r --zisofs / -- \
| cat > ${output_image}
But the result has only 884736 bytes.
We would have to keep some modules uncompressed
i assume.
It can also produce gzipped files on the fly:
${mkisofs_prog}" ...
${source} \
-- -set_filter_r --gzip / -- \
| cat > ${output_image}
Result again has 884736 bytes. Files have suffix
.gz now. Small files may stay uncompressed:
$ ls -l /mnt/boot/grub/i386-pc
...
-r--r--r-- 1 root root 2675 2010-04-10 00:17 afs.mod.gz
-r--r--r-- 1 root root 1052 2010-04-10 00:17 aout.mod
...
One could of course apply mkzftree or gzip to
the temporary tree during the grub-mkrescue run.
Have a nice day :)
Thomas
next prev parent reply other threads:[~2010-04-09 22:29 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 13:49 How to prepare an ISO 9660 CD for booting via GRUB ? Thomas Schmitt
2010-04-01 16:59 ` Frombenny
2010-04-01 17:59 ` Thomas Schmitt
2010-04-01 19:28 ` Drake Donahue
2010-04-01 20:43 ` Thomas Schmitt
2010-04-01 20:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 21:47 ` Drake Donahue
2010-04-01 18:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 20:25 ` Thomas Schmitt
2010-04-01 20:44 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-01 22:05 ` Thomas Schmitt
2010-04-01 22:43 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-02 9:32 ` Thomas Schmitt
2010-04-02 11:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-02 17:10 ` Thomas Schmitt
2010-04-02 17:24 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-03 8:03 ` Thomas Schmitt
2010-04-03 14:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-06 11:26 ` Thomas Schmitt
2010-04-07 12:47 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-07 14:11 ` Thomas Schmitt
2010-04-09 20:53 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-09 22:28 ` Thomas Schmitt [this message]
2010-04-09 22:53 ` Seth Goldberg
2010-04-10 7:37 ` Thomas Schmitt
2010-04-10 11:09 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 11:57 ` Thomas Schmitt
2010-04-10 12:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 12:57 ` Thomas Schmitt
2010-04-10 15:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-10 23:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-11 7:46 ` Thomas Schmitt
2010-04-11 12:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-11 12:56 ` Thomas Schmitt
2010-04-11 17:32 ` Colin Watson
2010-04-17 14:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-17 17:52 ` Thomas Schmitt
2010-04-17 18:04 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-17 19:39 ` Thomas Schmitt
2010-04-17 20:30 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-18 11:26 ` Thomas Schmitt
2010-04-24 19:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-04-18 12:41 ` Thomas Schmitt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=105870202226489@192.168.2.69 \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.