bug-xorriso
[Top][All Lists]
Advanced

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

appending partition results in zero bytes written


From: Cameron Seader
Subject: appending partition results in zero bytes written
Date: Thu, 3 Aug 2023 21:00:46 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1

Greetings,
I am trying the following command with media status blank

xorriso -indev 
SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3 -outdev - 
-append_partition 3 Linux ignition-micro.img -boot_image any replay

I have even output my El-Torito cmd with the -report_tel_torito cmd and 
it get this output:

ition-micro.img -report_el_torito cmd -boot_image any replay
xorriso 1.5.4 : 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 :     371 nodes read in 1 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 541302 * 2048 , 40960 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is 
set to be discarded
Drive current: -indev 
'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR grub2-mbr cyl-align-off
Media summary: 1 session, 541254 data blocks, 1057m data, 1002g free
Volume id    : 'INSTALL'
Drive current: -outdev 'stdio:/dev/fd/1'
Media current: stdio file, sequential
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4096g free
-volid 'INSTALL'
-volume_date uuid '2023040407060700'
-boot_image grub 
grub2_mbr=--interval:imported_iso:0s-15s:zero_mbrpt:'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
-boot_image any partition_cyl_align=off
-boot_image any partition_offset=16
-boot_image any mbr_force_bootable=on
-append_partition 2 0xef 
--interval:imported_iso:2165208d-2206167d::'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
-boot_image any iso_mbr_part_type=0xcd
-boot_image any cat_hidden=on
-boot_image grub bin_path='/boot/x86_64/loader/eltorito.img'
-boot_image any platform_id=0x00
-boot_image any emul_type=no_emulation
-boot_image any load_size=2048
-boot_image any boot_info_table=on
-boot_image grub grub2_boot_info=on
-boot_image any next
-boot_image any 
efi_path='--interval:appended_partition_2_start_541302s_size_40960d:all::'
-boot_image any platform_id=0xef
-boot_image any emul_type=no_emulation
-boot_image any load_size=20971520
xorriso : NOTE : Replayed 20 boot related commands

I put it together in the command and here are the results:

xorriso -indev 
SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3 -outdev - 
-append_partition 3 Linux ignition-micro.img -volid 'INSTALL' 
-volume_date uuid '2023040407060700' -boot_image grub 
grub2_mbr=--interval:imported_iso:0s-15s:zero_mbrpt:'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
 
-boot_image any partition_cyl_align=off -boot_image any 
partition_offset=16 -boot_image any mbr_force_bootable=on 
-append_partition 2 0xef 
--interval:imported_iso:2165208d-2206167d::'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
 
-boot_image any iso_mbr_part_type=0xcd -boot_image any cat_hidden=on 
-boot_image grub bin_path='/boot/x86_64/loader/eltorito.img' -boot_image 
any platform_id=0x00 -boot_image any emul_type=no_emulation -boot_image 
any load_size=2048 -boot_image any boot_info_table=on -boot_image grub 
grub2_boot_info=on -boot_image any next -boot_image any 
efi_path='--interval:appended_partition_2_start_541302s_size_40960d:all::' 
-boot_image any platform_id=0xef -boot_image any emul_type=no_emulation 
-boot_image any load_size=20971520
xorriso 1.5.4 : 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 :     371 nodes read in 1 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 541302 * 2048 , 40960 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is 
set to be discarded
Drive current: -indev 
'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR grub2-mbr cyl-align-off
Media summary: 1 session, 541254 data blocks, 1057m data, 1002g free
Volume id    : 'INSTALL'
Drive current: -outdev 'stdio:/dev/fd/1'
Media current: stdio file, sequential
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4096g free

I have even tried it with boot_image any replay

xorriso -indev 
SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3 -outdev - 
-append_partition 3 Linux ignition-micro.img -boot_image any replay
xorriso 1.5.4 : 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 :     371 nodes read in 1 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 541302 * 2048 , 40960 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is 
set to be discarded
Drive current: -indev 
'SLE-Micro.x86_64-5.4.0-Default-SelfInstall-GM.install.iso3'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record  : El Torito , MBR grub2-mbr cyl-align-off
Media summary: 1 session, 541254 data blocks, 1057m data, 1002g free
Volume id    : 'INSTALL'
Drive current: -outdev 'stdio:/dev/fd/1'
Media current: stdio file, sequential
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4096g free
xorriso : NOTE : Replayed 20 boot related commands

What am I doing wrong?

TIA,
-- 
Cameron Seader
cs@suse.com

www.suse.com

reply via email to

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