
Estoy siguiendo los pasos para crear una ISO preestablecida de Debian aquí:https://wiki.debian.org/DebianInstaller/Preseed/EditIso. Se recomienda utilizar xorriso
para crear la imagen ISO final para sistemas EFI como se indica aquí:https://wiki.debian.org/RepackBootableISO
El comando que derivé de esta página es el siguiente:
xorriso \
-as mkisofs \
-r \
-V "Debian 10.6.0 amd64 n preseed" \
-o "${out}" \
-R \
-J \
-joliet-long \
-cache-inodes \
-isohybrid-mbr "isohdpfx.bin" \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-boot-load-size 4 \
-boot-info-table \
-no-emul-boot \
-eltorito-alt-boot \
-e boot/grub/efi.img \
-no-emul-boot \
-isohybrid-gpt-basdat \
-isohybrid-apm-hfsplus \
ISO_FILES_DIRECTORY
Este comando genera advertencias sobre enlaces simbólicos, especialmente sobre archivos de firmware. Esto me hace pensar que el ISO final no es una reproducción fiel del ISO con el archivo preseed incluido.
GNU xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:debian-10.6.0-amd64-netinst-preseed-20201030120440.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 1267g free
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
Added to ISO image: directory '/'='ISO_FILES_DIRECTORY'
xorriso : UPDATE : 1561 files added in 1 seconds
xorriso : UPDATE : 1561 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file 'isohdpfx.bin'
libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/stable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/basic-defs.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/choosing.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/compatibility.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/contributing.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/customizing.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/faqinfo.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/ftparchives.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/getting-debian.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/index.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/kernel.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/nextrelease.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/pkg-basics.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/pkgtools.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/redistributing.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/software.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/support.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /doc/FAQ/html/uptodate.html to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux-free_3.4_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
xorriso : UPDATE : 11.40% done
xorriso : UPDATE : Thank you for being patient. Working since 1 seconds.
ISO image produced: 179712 sectors
Written to medium : 179712 sectors at LBA 0
Writing to 'stdio:debian-10.6.0-amd64-netinst-preseed-20201030120440.iso' completed successfully.
En particular, me pone nervioso la última advertencia sobre el archivo de firmware. ¿Alguien puede aconsejarme qué puedo hacer para hacer xorriso
lo correcto?
Respuesta1
El formato estándar ISO 9660 tiene un soporte muy limitado para la mayoría de los tipos de objetos. Por ejemplo, los nombres de archivos están limitados al formato 8.3 y no se pueden almacenar permisos.
Sin embargo, existe una variedad de extensiones de este formato que pueden brindar un mejor soporte para los sistemas operativos modernos. Uno de ellos, Rock Ridge, proporciona soporte para permisos y nombres de archivos Unix; xorriso lo habilita de forma predeterminada. Otro formato importante, Joliet, está definido por Microsoft e incluye nombres de archivos Unicode. El tercer formato es el híbrido HFS, que se utilizó para ampliaciones con Apple.
En tu caso, estás escribiendo Rock Ridge (porque no lo has apagado) y Joliet. Esta advertencia le indica que Joliet no admite enlaces simbólicos. También estás escribiendo el formato Rock Ridge, que tu sistema Debian de arranque usará con preferencia, por lo que tus enlaces simbólicos deberían permanecer accesibles. Sin embargo, si coloca esta imagen en una máquina con Windows, faltarán sus enlaces simbólicos, lo cual es inevitable.
Dado que su sistema Debian de arranque probablemente funcionará bien, no me preocuparía demasiado por esto.