Hi,

Adam Purkrt wrote:
> Hi, tried on Gentoo and the .mo~ files are not there in the /tmp/grub.*
> directory

Hrmpf. That's confusing.
Debian 12 has xorriso-1.5.4. But when i try with the current stable
version xorriso-1.5.6 i still don't get .mo~.
 
Do they really appear when you pack up that directory in an ISO and
mount it ?

Normally i would expect that this should suffice:

  xorriso -as mkisofs -o output.iso /tmp/grub.pNWWGC


But if not, you will have to try the full option set as reported by
grub-mkrescue --verbose immediately before the messages of the
xorriso run, i.e. at the very end of the lengthy message output.

These are the parameters which depend on your preference and the
name of the /tmp/grub directory: 

  output=output.iso
  tmp_grub=/tmp/grub.pNWWGC

My local GRUB is configured only for x86_64 and UEFI. So i get
reported these options (where i then substituted output.iso and
/tmp/grub.qsR7Zo by "$output" and "$tmp_grub"):

  xorriso -as mkisofs \
    -graft-points \
    --modification-date=2025052418035400 \
    -hfsplus -apm-block-size 2048 \
    -hfsplus-file-creator-type chrp tbxj \
             /System/Library/CoreServices/.disk_label \
    -hfs-bless-by i /System/Library/CoreServices/boot.efi \
    --efi-boot efi.img \
    -efi-boot-part --efi-boot-image \
    --protective-msdos-label \
    -o "$output" \
    -r \
    "$tmp_grub" \
    --sort-weight 0 / --sort-weight 1 /boot

Depending on your GRUB configuration the many boot related options
between -hfsplus and --protective-msdos-label may differ from the
above. The end with -o and /tmp/grub.* path should be like mine.


Have a nice day :)

Thomas


Reply via email to