Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| 
                    personnaliser_livecd_xubuntu_18.04 [Le 18/10/2025, 19:38] andykimpe  | 
                
                    personnaliser_livecd_xubuntu_18.04 [Le 19/10/2025, 08:39] (Version actuelle) andykimpe  | 
            ||
|---|---|---|---|
| Ligne 461: | Ligne 461: | ||
| === Reconstruction de l'iso === | === Reconstruction de l'iso === | ||
| + | |||
| + | * mettre à jour les fichier de boot:<code bash> | ||
| + | cd ~/livecd | ||
| + | rm -rf boot_ubuntu_gpt.tar.gz boot_ubuntu_gpt.tar boot_hybrid.img efi.img | ||
| + | rm -rf iso/boot.catalog iso/boot/memtest86+x64.bin iso/boot/grub/fonts iso/boot/grub/i386-pc iso/boot/grub/x86_64-efi | ||
| + | wget https://archive.org/download/boot_ubuntu_gpt.tar/boot_ubuntu_gpt.tar.gz | ||
| + | gunzip boot_ubuntu_gpt.tar.gz | ||
| + | tar -xvf boot_ubuntu_gpt.tar | ||
| + | rm -f boot_ubuntu_gpt.tar | ||
| + | </code> | ||
| * On régénère une nouvelle somme de contrôle MD5 afin qu'elle reflète le nouveau contenu du CD :<code bash> | * On régénère une nouvelle somme de contrôle MD5 afin qu'elle reflète le nouveau contenu du CD :<code bash> | ||
| Ligne 470: | Ligne 480: | ||
| <code bash> | <code bash> | ||
| sudo rm -f ../xubuntu-18.04.5-desktop-amd64.iso | sudo rm -f ../xubuntu-18.04.5-desktop-amd64.iso | ||
| - | sudo genisoimage -o "../xubuntu-18.04.5-desktop-amd64.iso" -r -J -no-emul-boot -V "xubuntu_18.04_AND64" -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ./ </code> | + | sudo xorriso -as mkisofs -r \ | 
| + | -V 'xubuntu_18.04_AMD64' \ | ||
| + | -o ~/livecd/xubuntu-18.04.5-desktop-amd64.iso \ | ||
| + | --grub2-mbr ~/livecd/boot_hybrid.img \ | ||
| + | -partition_offset 16 \ | ||
| + | --mbr-force-bootable \ | ||
| + | -append_partition 2 28732ac11ff8d211ba4b00a0c93ec93b ~/livecd/efi.img \ | ||
| + | -appended_part_as_gpt \ | ||
| + | -iso_mbr_part_type a2a0d0ebe5b9334487c068b6b72699c7 \ | ||
| + | -c '/boot.catalog' \ | ||
| + | -b '/boot/grub/i386-pc/eltorito.img' \ | ||
| + | -no-emul-boot -boot-load-size 4 -boot-info-table --grub2-boot-info \ | ||
| + | -eltorito-alt-boot \ | ||
| + | -e '--interval:appended_partition_2:::' \ | ||
| + | -no-emul-boot ./</code> | ||