bug-xorriso
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help Creating Linux ISO


From: MarcellusMajor
Subject: Re: Help Creating Linux ISO
Date: Mon, 12 Oct 2020 03:59:40 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1

Thomas,

The iso boot when using BIOS.

When I switch to UEFI i get the following

On 10/12/2020 3:49 AM, MarcellusMajor wrote:
hi Thomas,

>From where did you get images/efiboot.img ?

  They came from a rhel 7 iso

What text output do you get from inspecting that ISO by

GNU xorriso 1.5.3 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : ISO image bears MBR with  -boot_image any
partition_offset=16
xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :    1448 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is
set to be discarded
Drive current: -indev 'target/csg-3.0.0.0_RC16.0.0.65SBR-x86_64-HYBRID.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2484027 data blocks, 4852m data,  409g free
Volume id    : 'ISOIMAGE'
System area options: 0x00000202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 9936108
Partition offset   : 16
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x80  0x00           64      9936044
MBR partition      :   2   0x00  0xef         2080        17420
MBR partition path :   2  /images/efiboot.img
GPT                :   N  Info
GPT disk GUID      :      675378528c453c4489003487aa253601
GPT entry array    :      2  248  overlapping
GPT lba range      :      64  9936044  9936107
GPT partition name :   1  490053004f00480079006200720069006400
GPT partname local :   1  ISOHybrid
GPT partition GUID :   1  675378528c453c4489013487aa253601
GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x1000000000000001
GPT start and size :   1  64  9935980
GPT partition name :   2  490053004f004800790062007200690064003100
GPT partname local :   2  ISOHybrid1
GPT partition GUID :   2  675378528c453c4489023487aa253601
GPT type GUID      :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x1000000000000001
GPT start and size :   2  2080  17420
GPT partition path :   2  /images/efiboot.img
El Torito catalog  : 519  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4        4875
El Torito boot img :   2  UEFI  y   none  0x0000  0x00  17420         520
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /images/efiboot.img


I did notice that the rhel iso had the following entry

GPT entry array    :      2  248  overlapping

Could that make ha[mmajor@localhost csg-core]$ xorriso -indev
~/Downloads/rhel-server-7.6-x86_64-dvd.iso -report_system_area plain
-report_el_torito plain
GNU xorriso 1.5.3 : RockRidge filesystem manipulator, libburnia project.

xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE :    5351 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is
set to be discarded
Drive current: -indev
'/home/mmajor/Downloads/rhel-server-7.6-x86_64-dvd.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR isohybrid cyl-align-off GPT
Media summary: 1 session, 2195639 data blocks, 4288m data,  409g free
Volume id    : 'RHEL-7.6 Server.x86_64'
System area options: 0x00000202
System area summary: MBR isohybrid cyl-align-off GPT
ISO image size/512 : 8782556
Partition offset   : 0
MBR heads per cyl  : 0
MBR secs per head  : 0
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x80  0x00            0      8783872
MBR partition      :   2   0x00  0xef       860440        17420
MBR partition path :   2  /images/efiboot.img
GPT                :   N  Info
GPT backup problems:      Implausible header LBA 8783870
GPT disk GUID      :      67f0876173ee984499d43fbead4070b8
GPT entry array    :      2  128  separated
GPT lba range      :      34  8783838  8783870
GPT partition name :   1 
49000000530000004f0000004800000079000000620000007200
GPT partname local :   1  I
GPT partition GUID :   1  e58b0b8a96927c48b3e0a2ac4256a3dd
GPT type GUID      :   1  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   1  0x0000000000000000
GPT start and size :   1  0  393949
GPT partition name :   2  49000000530000004f000000480000007900
GPT partname local :   2  I
GPT partition GUID :   2  622759d76503504c84bc1a721a707065
GPT type GUID      :   2  a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags:   2  0x0000000000000000
GPT start and size :   2  860440  17420
GPT partition path :   2  /images/efiboot.img
El Torito catalog  : 815  1
El Torito cat path : /isolinux/boot.cat
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4      305935
El Torito boot img :   2  UEFI  y   none  0x0000  0x00  17420      215110
El Torito img path :   1  /isolinux/isolinux.bin
El Torito img opts :   1  boot-info-table isohybrid-suitable
El Torito img path :   2  /images/efiboot.imgve some impact?


Below is the RHEL 7 inspection

On 10/12/2020 2:51 AM, Thomas Schmitt wrote:
Hi,

Could you let me know what I am doing wrong?
There are surplus EFI boot images by the arguments beginning at the second
-eltorito-alt-boot.
It might be confusing to the boot firmware that the same EFI boot image is
listed twice in the El Torito boot catalog.

This would make the ISO without duplication of EFI images:

  xorrisofs \
    -o target/csg-3.0.0.0_RC16.0.0.65SBR-x86_64-HYBRID.iso \
    -b isolinux/isolinux.bin \
    -c isolinux/boot.cat \
    -no-emul-boot -boot-load-size 4 -boot-info-table \
    -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin \
    -partition_offset 16 \
    -eltorito-alt-boot \
    -e images/efiboot.img \
    -no-emul-boot -isohybrid-gpt-basdat \
    target/dvd

>From where did you get images/efiboot.img ?

If you used a RHEL ISO as source of files:
Does that ISO boot ?
Is it available for public download ?
What text output do you get from inspecting that ISO by
  iso=...path.to.original.ISO...
  xorriso -indev "$iso" -report_el_torito as_mkisofs
?

If you made efiboot.img yourself:
What's in it ?
Did you compare the files in efiboot.img with those in an original RHEL
ISO ?


Have a nice day :)

Thomas



    

reply via email to

[Prev in Thread] Current Thread [Next in Thread]