Hi, Adam Purkrt wrote: > renergy ~ # grub-mkrescue -o /does_not_exist/output.iso ; ls -a > /tmp/grub.*/boot/grub/locale > [... no .mo~ files ...]
So we have to watch the situation while grub-mkrescue is still running. The following script will serve as xorriso in this run. I put it into my "$HOME", but any otheri location should be ok. It shall be used like this grub-mkrescue -o output.iso --xorriso="$HOME"/xorriso_wrapper_ls_locale Script text: ----------------------------------------------------------------------- #!/bin/bash # grub-mkrescue inquires features by running these arguments if test "$*" = "-as mkisofs -help" then xorriso "$@" exit $? fi # Look for the name of the /tmp directory with the GRUB2 files. # It is the next argument after -r. But as default accept any /tmp/grub.* next_is_dir=0 dir="." for i in "$@" do if test x"$i" = x"-r" then next_is_dir=1 elif test $next_is_dir = 1 then next_is_dir=0 if echo "$i" | grep '^/tmp/grub.' >/dev/null 2>&1 then test -d "$i" && dir="$i" fi elif test "$dir" = "." then if echo "$i" | grep '^/tmp/grub.' >/dev/null 2>&1 then test -d "$i" && dir="$i" fi fi done if test "$dir" = "" then echo "$0 : Cannot determine the path of the GRUB /tmp directory" >&2 else echo "$0 : ls -l $dir/boot/grub/locale :" >&2 ls -l "$dir"/boot/grub/locale >&2 echo >&2 fi # Finally do what grub-mkrescue expects xorriso "$@" ----------------------------------------------------------------------- I get as message output on stderr: ----------------------------------------------------------------------- .../xorriso_wrapper_ls_locale : ls -l /tmp/grub.hNYGI4/boot/grub/locale : total 4364 -rw-r--r-- 1 thomas thomas 120553 May 28 10:04 ast.mo -rw-r--r-- 1 thomas thomas 120975 May 28 10:04 ca.mo ... -rw-r--r-- 1 thomas thomas 82609 May 28 10:04 zh_CN.mo -rw-r--r-- 1 thomas thomas 29713 May 28 10:04 zh_TW.mo ... messages of real xorriso ... ----------------------------------------------------------------------- If this script does not show .mo~ files but the ISO does, then i am out of ideas for now. (Crossing fingers ...) Have a nice day :) Thomas