[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] Adding files to an ISO image
From: |
Marko Randjelovic |
Subject: |
Re: [Bug-xorriso] Adding files to an ISO image |
Date: |
Mon, 10 Nov 2014 08:12:13 +0100 |
On Sun, 09 Nov 2014 19:02:57 +0100
"Thomas Schmitt" <address@hidden> wrote:
> Hi,
>
> i made more experiments with modifying or growing grml96-small_2014.03.iso.
> The MBR with isohybrid is ok. So BIOS from USB stick should work.
> But GPT is not updated by boot_image "patch" or "keep".
> /boot/efi.img has quite some probability to stay at its position.
> In this case UEFI from USB stick should work too.
>
> Nevertheless, the best result is achieved with the commands
> proposed by my experimental code and executed by xorriso-1.3.8
> (back to xorriso-1.2.6 with some minor GPT bugs):
>
> dd if=grml96-small_2014.03.iso bs=512 count=1 of=isohdpfx.bin
> xorriso \
> -indev grml96-small_2014.03.iso \
> -outdev test_redone.iso \
> -as mkisofs \
> -isohybrid-mbr isohdpfx.bin \
> -partition_cyl_align on \
> -partition_offset 0 \
> -partition_hd_cyl 64 \
> -partition_sec_hd 32 \
> -c '/boot/isolinux/boot.cat' \
> -b '/boot/isolinux/isolinux.bin' \
> -no-emul-boot \
> -boot-load-size 4 \
> -boot-info-table \
> -eltorito-alt-boot \
> -e '/boot/efi.img' \
> -no-emul-boot \
> -boot-load-size 512 \
> -isohybrid-gpt-basdat \
> -- \
> -add $something --
I tried this on my Debian Squeeze system with xorriso version
0.5.6.pl00-2 and looks like new ISO is working perfectly and my
added files are readable.
Kind regards :)
--
http://markorandjelovic.hopto.org
One should not be afraid of humans.
Well, I am not afraid of humans, but of what is inhuman in them.
Ivo Andric, "Signs near the travel-road"