Re: Duplicate files /boot/grub/locale/*.mo~ in iso file made by grub-mkrescue
Adam Purkrt <[email protected]> Sat, 24 May 2025 21:09:53 +0200
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 5/24/25 8:38 PM, Thomas Schmitt wrote: > Do you see the .mo~ in the output of > > xorriso -lsx /tmp/grub.pNWWGC/boot/grub/locale -- renergy ~ # xorriso -lsx /tmp/grub.hAhUTa/boot/grub/locale -- xorriso 1.5.6 : RockRidge filesystem manipulator, libburnia project. 'ast.mo' 'ca.mo' 'da.mo' 'de.mo' '[email protected]' 'de_CH.mo' '[email protected]' '[email protected]' '[email protected]' '[email protected]' '[email protected]' '[email protected]' 'eo.mo' 'es.mo' 'fi.mo' 'fr.mo' 'gl.mo' 'he.mo' 'hr.mo' 'hu.mo' 'id.mo' 'it.mo' 'ja.mo' 'ka.mo' 'ko.mo' 'lg.mo' 'lt.mo' 'nb.mo' 'nl.mo' 'pa.mo' 'pl.mo' 'pt.mo' 'pt_BR.mo' 'ro.mo' 'ru.mo' 'sl.mo' 'sr.mo' 'sv.mo' 'tr.mo' 'uk.mo' 'vi.mo' 'zh_CN.mo' 'zh_TW.mo' renergy ~ # So - no, they are not there. Secondly: if I do the last step in the verbose log manually, I get correct iso, also without *.mo~ files, so there seems to be no problem with xorriso itself. renergy ~ # xorriso -as mkisofs -graft-points --modification-date=2025052418350400 -b boot/grub/i386-pc/eltorito.img -no-emul-boot -boot-load-size 4 -boot-info-table --grub2-boot-info --grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img -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 grub.iso -r /tmp/grub.hAhUTa --sort-weight 0 / --sort-weight 1 /boot xorriso 1.5.6 : RockRidge filesystem manipulator, libburnia project. Drive current: -outdev 'stdio:grub.iso' Media current: stdio file, overwriteable Media status : is blank Media summary: 0 sessions, 0 data blocks, 0 data, 129g free Added to ISO image: directory '/'='/tmp/grub.hAhUTa' xorriso : UPDATE : 939 files added in 1 seconds xorriso : UPDATE : 939 files added in 1 seconds xorriso : NOTE : Copying to System Area: 512 bytes from file '/usr/lib/grub/i386-pc/boot_hybrid.img' ISO image produced: 11253 sectors Written to medium : 11253 sectors at LBA 0 Writing to 'stdio:grub.iso' completed successfully. renergy ~ # mount grub.iso /mnt/iso/ -o ro renergy ~ # ls /mnt/iso/boot/grub/locale/ ast.mo [email protected] [email protected] eo.mo gl.mo id.mo ko.mo nl.mo pt.mo sr.mo vi.mo ca.mo de.mo [email protected] es.mo he.mo it.mo lg.mo pa.mo ro.mo sv.mo zh_CN.mo da.mo [email protected] [email protected] fi.mo hr.mo ja.mo lt.mo pl.mo ru.mo tr.mo zh_TW.mo de_CH.mo [email protected] [email protected] fr.mo hu.mo ka.mo nb.mo pt_BR.mo sl.mo uk.mo renergy ~ # Best regards, Adam