Hi,

On 09 Feb 2019, at 23:48, Thomas Schmitt <[email protected]> wrote:

> Hi,
> 
>> I tested this mostly on x86-64 and published a mostly working ISO
> 
> Thank you for flying xorriso. :))
> 
>> I also added GRUB 2 ISO boot support and man was that an extra pain
> 
> Did you use the grub-mkrescue program ?

Only to analyze what it was doing under the hood, because
we have the ISO creation and assembling the various bits
and locations already in our Create-ISO script for a decade
or two.

> It is supposed to coordinate production of boot programs and possibly
> EFI partition image and the choice of matching xorrisofs options.

Yes, but it does various random things, on each on my machines,
including trying to embed missing fonts on half of my machines.

So I prefer to have the T2 script do exactly and only what matches
to the configuration. E.g. not embed EFI images for MIPS
machines ,-)

>> https://t2sde.org/download/ 
> 
> This leads me to https://t2sde.org/download/continue.html where
> the link "dl.t2-project.org/binary/ master server (HTTP)" is broken by
> pointing to
>  https://t2sde.org/download/https//dl.t2-project.org/binary/
> 
> (I successfully guessed that "http:" instead of "https:" would lead
> to the ISO via HTTP.)

Thanks, fixes, the https:// link below did not had a typo. I used the
opportunity to proof read a couple of additional spelling typos on the
pages ;-)

> A curious run of
> 
>  xorriso -indev t2-minimal-musl-x86-64-r47636.iso \
>          -pvd_info -report_system_area plain -report_el_torito plain
> 
> shows that it is equipped with GRUB 2 MBR code and El Torito boot image
> for BIOS, but not with an EFI System Partition. Afaik, with grub-mkrescue
> this is a matter of the configuration of the GRUB 2 installation to which
> the grub-mkrescue program belongs.

Yes, in the T2 we currently only build a pc bios version, though I was
thinking to add an option to build efi as well, and then the ISO script
would use that accordingly. But I still have a couple of nice vintage
systems that I want to keep running, and it usually boots on newer
machines, too.

However, touching this code and adding grub2 glue (I did this already
for replacing yaboot on ppc last year) for x86, was exactly because
I wanted to add native EFI support next, too. Also for users to easier
copy the ISO content to a USB thumb drive for modern booting, too.

> The partition is not mountable, because GRUB developer Vladimir Serbinenko
> did not want partition start LBA 0 (which ISOLINUX isohybrid would use).
> This can be fixed by additional xorrisofs option
>  -partition_offset 16
> at the price of a second superblock and directory tree. In the case of the
> downloaded ISO this would be at most 286 KiB. The partition will then
> start at block 4 * 16 = 64, be mountable, and be loved by partition editors.

Thanks for the details. Good to know!

Do you happen to know Sgi MIPS Arcs details? I finally wanted to
takle some bootable ISO for my Sgi Octane (yes, I know there
was at least one Gentoo proof of concept ISO a decade ago or
so, and in principle I once compiled all the details of special
XFS volume header setup and maybe even EFS or what it was).
And yes, I saw grub2 has some mips support, though maybe
only for 32-bit arcs, need to check another month ;-)

        https://www.youtube.com/watch?v=EOQlK349vAY

Cheers,
        René

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
 http://exactcode.com | http://exactscan.com | http://ocrkit.com | 
http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to