
여기에서 데비안 사전 시드 ISO를 생성하는 단계를 따르고 있습니다:https://wiki.debian.org/DebianInstaller/Preseed/EditIso. xorriso
여기에 설명된 대로 EFI 시스템용 최종 ISO 이미지를 생성하려면 를 사용하는 것이 좋습니다 .https://wiki.debian.org/RepackBootableISO
이 페이지에서 파생된 명령은 다음과 같습니다.
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
이 명령은 심볼릭 링크, 특히 펌웨어 파일에 대한 경고를 생성합니다. 이로 인해 최종 ISO는 사전 설정 파일이 포함된 ISO를 충실하게 재현한 것이 아니라는 생각이 듭니다.
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.
특히 펌웨어 파일에 대한 마지막 경고는 나를 긴장하게 만든다. 내가 xorriso
옳은 일을 하기 위해 무엇을 할 수 있는지 조언해 줄 수 있는 사람이 있습니까?
답변1
표준 ISO 9660 형식은 대부분의 개체 종류에 대해 매우 제한적으로 지원합니다. 예를 들어 파일 이름은 8.3 형식으로 제한되며 권한이 저장될 수 없습니다.
그러나 이 형식에는 최신 운영 체제에 대한 더 나은 지원을 제공할 수 있는 다양한 확장이 있습니다. 그 중 하나인 Rock Ridge는 Unix 파일 이름과 권한 지원을 제공합니다. xorriso는 기본적으로 이를 활성화합니다. 또 다른 주요 형식인 Joliet은 Microsoft에서 정의했으며 유니코드 파일 이름을 포함합니다. 세 번째 형식은 Apple의 확장에 사용된 HFS-하이브리드입니다.
귀하의 경우에는 Rock Ridge(끄지 않았기 때문에)와 Joliet를 작성하고 있습니다. 이 경고는 Joliet이 심볼릭 링크를 지원하지 않음을 알려줍니다. 부팅 가능한 데비안 시스템이 기본적으로 사용할 Rock Ridge 형식도 여전히 작성 중이므로 심볼릭 링크는 계속 액세스할 수 있어야 합니다. 그러나 이 이미지를 Windows 시스템에 넣으면 심볼릭 링크가 누락되며 이는 불가피합니다.
부팅 가능한 데비안 시스템은 아마도 잘 작동할 것이기 때문에 이에 대해 크게 걱정하지 않을 것입니다.