Re: Migrations to xorriso

2010-05-19 Thread Thomas Schmitt
Hi, reviewing my grub-mkrescue 1.98 test script i see these options which will cause the files in /boot to have low block addresses: xorriso ... -as mkisofs ... \ --sort-weight 0 / --sort-weight 1 /boot \ ... The boot catalog gets a low LBA by default. I remember Vladimir mentioned

Re: Using efi image on USB stick

2010-05-18 Thread Thomas Schmitt
Hi, Colin Watson wrote: I don't know how well BIOSes handle MBR partition tables on CD-ROMs. According to ECMA-119 (aka ISO 9660) the first 32 kB of an image are System Area with arbitrary custom content. El Torito specs mention that this area may contain a bootable disk image. (Figure 1, case

Re: Migrations to xorriso

2010-05-18 Thread Thomas Schmitt
Hi, i sent this message 4 hours ago but it did not show up yet. So i send it again on the risk to produce a duplicate. While my local bzr upgrade problems still persist i can view grub-mkrescue.in at

Re: Migrations to xorriso

2010-05-18 Thread Thomas Schmitt
Hi, while my local bzr upgrade problems still persist i can view grub-mkrescue.in at https://code.launchpad.net/~vcs-imports/grub/grub2-bzr xorriso -pathspecs on -as mkisofs I would make this xorriso -report_about HINT -as mkisofs -graft-points Option -report_about HINT will reduce

Re: xorriso and EFI boot images

2010-04-29 Thread Thomas Schmitt
Hi, i have uploaded http://www.gnu.org/software/xorriso/xorriso-0.5.5.tar.gz with version timestamp 2010.04.29.133234. It can now process up to 32 different boot images, with all El Torito parameters adjustable (if anybody finds a use for them). This is a release candidate as far as boot

Re: xorriso and EFI boot images

2010-04-25 Thread Thomas Schmitt
Hi, Vladimir Serbinenko: I've tested xorriso version : 0.5.5 Version timestamp : 2010.04.22.221241 and it worked fine. So my Sector Count unit of 512 bytes is ok until other info emerges. (The Fedora wiki gave me doubts.) I am busily refactoring the xorriso level of boot options. This

Re: xorriso and EFI boot images

2010-04-22 Thread Thomas Schmitt
Hi, the fresh development upload of xorriso-0.5.5 with timestamp 2010.04.22.160615 implements the wish about --efi-boot : Vladimir Serbinenko wrote 17 Apr 2010: I would like to have efi+bios cd with 2 eltorito entries: one with platformid=0 and another one with platformid=0xef. [...] I would

Re: xorriso and EFI boot images

2010-04-22 Thread Thomas Schmitt
Hi, Seth Goldberg wrote: BTW, See Fedora's genisoimage for a good example of how they do it. http://fedoraproject.org/wiki/User:Pjones/BootableCDsForBIOSAndUEFI Thanks for the hint. Ahum ... -eltorito-alt-boot -e images/efiboot.img -no-emul-boot In man mkisofs of 2.01.01a64 and in

xorriso and EFI boot images

2010-04-20 Thread Thomas Schmitt
Hi, i took a look at grub-mkrescue.in with EFI and implemented the EFI-only case in xorriso-0.5.5 timestamp 2010.04.20.103448: --efi-boot FILESet El Torito EFI boot image name and type Currently -b and --efi-boot override each other. Who comes last will win. --efi-boot is not yet

Re: xorriso and EFI boot images

2010-04-20 Thread Thomas Schmitt
Hi, i have scruples about the semantics of Platform ID which is global to the whole boot catalog. Section header specifies the platform id of section entry Oh. Somehow i oversaw that. [detection of capabilities of xorriso version] What about checking error status of xorrisofs --foo

GNU xorriso 0.5.4 released

2010-04-19 Thread Thomas Schmitt
Hi, as this is mainly a GRUB inspired release, i spam grub-devel by an announcement. xorriso-0.5.4 offers the grub-mkisofs features which are used by grub-mkrescue 1.98. For general info about xorriso see http://www.gnu.org/software/xorriso/README_xorriso

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-18 Thread Thomas Schmitt
Hi, Ok, legacy :(. But --efi-boot would have no legacy. --efi-boot will be all at your service. :)) The more definite your wishes, the more swift their implementation. Maybe we should call it --efi-grub-boot just to make clear whom it cares for ? Shall the --efi* option have any influence on

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-18 Thread Thomas Schmitt
Hi, i have to correct myself: The boot catalog of grub-mkrescue has no ISO-path anyway (no option -c). There is a boot catalog path in grub-mkrescue. -c /boot/grub/i386-pc/boot_catalog Have a nice day :) Thomas ___ Grub-devel mailing list

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-17 Thread Thomas Schmitt
Hi, Vladimir Serbinenko: efi booting [...] it's basically standard no-emul eltorito except: platform_id[0] = 0xef; I assume you mean the Platform ID as of El Torito specs about the Boot Catalog and its Validation Entry. (Chapter 2, figure 2) That should be easy to test. In

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-17 Thread Thomas Schmitt
Hi, I attach the patch I used for dirty checks Oh. You already tested. And ? Did it boot ? Just yesterday i moved that setting from option -b to option -boot-info-table, Thanks. Even better: i now tested that omitting -boot-info-table really prevents the patcher function. Why not to

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Yves Blusseau wrote: I have the latest readline library (6.1) installed on my MacOSX /opt/local/lib/libreadline.a But i think configure have tried to use the one in the standard path (/usr/lib): Perhaps i can use an option of configure or environnement variable to force the linker ?

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Vladimir Serbinenko wrote: You need to add CFLAGS=-I/opt/local/include too. Good point. I hope it is already clear that such manipulations are very experimental. optimally there should be a configure option for this. libreadline is not urgently needed. It is just a convenient capability

Re: Compilation error of xorriso on MacOSX

2010-04-13 Thread Thomas Schmitt
Hi, Yves Blusseau wrote: http://www.mail-archive.com/autoc...@gnu.org/msg13241.html there a VL_LIB_READLINE macro Ahum. A whole family of libraries. Not only libreadline but also libedit, and libeditline. This can become as interesting as the situation with iconv. But to our luck, libreadline

Re: Compilation error of xorriso on MacOSX

2010-04-12 Thread Thomas Schmitt
Hi, when i've tried to compile xorriso on MacOSX 10.6.2 i have this error during the link: Undefined symbols: _history_list, referenced from: _Xorriso_status in xorriso_xorriso-xorriso.o ... If i add #undef Xorriso_with_readlinE to xorriso.c, i can compile it. It looks as if the

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-11 Thread Thomas Schmitt
Hi, many thanks for testing xorriso in new situations. 1) It tries to build even if no iconv is present The tests in configure.ac resp. acinclude.m4 are too lax, obviously. They aim for finding out whether one needs -liconv or not. But they don't assure that iconv() works. I will have to

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-11 Thread Thomas Schmitt
Hi, I think what you should check for is iconv.h since this missing header caused compilation problem. I have become quite radical and make a test compilation and linking of all *.h in libisofs/util.c and the basic iconv functions. If that fails, then ./configure aborts after reporting. The

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-10 Thread Thomas Schmitt
Hi, me: What about operating systems other than GNU/Linux and FreeBSD ? Seth Goldberg: I agree, selfishly :). Do you use some of the other OSes ? If so, would you mind to try what happens if you do tar xzf xorriso-0.5.3.tar.gz cd xorriso-0.5.3 ./configure make xorriso/xorriso

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-10 Thread Thomas Schmitt
Hi, I've tested it on FreeBSD and grub-mkrescue worked fine with xorrisofs except: 1) you need to use gmake instead of make What FreeBSD version is this ? I test building of xorriso on own FreeBSD 8 and remotely on FreeBSD 6. My own ones are quite vanilla. Especially the 8-STABLE. Do you

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-10 Thread Thomas Schmitt
Hi, What FreeBSD version is this ? 8.0 ./configure gmake instead of ./configure make Strange. I run 8-RELEASE and 8-STABLE because of SATA differences. No problems with make. What are the negative symptoms on your system ? I know the [iconv] complaint. It is harmless. I know, just

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-09 Thread Thomas Schmitt
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

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-07 Thread Thomas Schmitt
Hi, Are there other media types [...] ? Floppy. (supported for image sizes smaller than 1.44 MiB) [...] We probably need a way to choose a subset of modules for floppies If i squeeze out the overhead, then xorriso writes 754 * 2048 bytes rather than 757 * 2048 by grub-mkisofs. At the end

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-06 Thread Thomas Schmitt
Hi, i have roughly implemented the missing options of grub-mkisofs in xorriso and am now comparing the results. The ISO image by xorriso boots from CD and from USB stick. Are there other media types which would impose a further challenge ? If so: are there testers who would be willing to try my

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-03 Thread Thomas Schmitt
Hi, The urge to upgrade might earn you a whining user. Well, if you develop you have to use current version (IMO). Sure. As long as i occupy your time i will follow your proposals. Nevertheless, at some point i will have to look at older versions. After all, 1.96 is distributed with the

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-02 Thread Thomas Schmitt
Hi, Drake Donahue wrote: mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso run the script it generates the image, presuming on a linux system Regrettably i cannot spot stage2_eltorito on my SuSE 10.2 (which has such files but not

How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-01 Thread Thomas Schmitt
Hi, i would like to learn how GNU xorriso can make use of GRUB. Are there any specs available, or an example of a GRUB enhanced ISO 9660 image that boots from CD on PC BIOSes ? I know about ECMA-119 (ISO 9660) and El Torito CD booting specs, but few about GRUB. In january 2010 Robert Millan

How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-01 Thread Thomas Schmitt
Hi, Your question is how to make a cd with grub on it ? Yes. GNU xorriso is like cdrtools + growisofs in one single binary. My question about GRUB on CD shall improve the mkisofs-like aspect of xorriso. I am able to influence ISO image production in any detail. But i need instructions how to

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-01 Thread Thomas Schmitt
Hi, GRUB2 iso generated with grub-mkrescue is a bit special: it can be boot as either CD, HDD or floppy. For CD boot it follows El Torito no emulation boot. Ahum ... grub-1.98/util/grub-mkrescue.in : iso_uuid=$(date +%Y-%m-%d-%H-%M-%S-00) grub_mkisofs_arguments=${grub_mkisofs_arguments}

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-01 Thread Thomas Schmitt
Hi, Drake Donahue wrote: Attached is a script I use to make a legacy grub booting cd that provides an alternate way to boot the system it was built on. [...] mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o grub.iso iso This resembles a reply of

Re: How to prepare an ISO 9660 CD for booting via GRUB ?

2010-04-01 Thread Thomas Schmitt
Hi, Vladimir '?-coder/phcoder' Serbinenko wrote: - Is it possible to declare the whole iso for hard-disk emulation for providing emulating image for buggy BIOSes libisofs.h describes type ELTORITO_HARD_DISC_EMUL with API call iso_image_set_boot_image().

<    1   2   3