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

Re: Docs on UEFI support in Debian 7 CDs



Hi,

i did with the current snapshot of xorriso-1.2.9 with version timestamp
2013.05.07.185653 :

  xorriso -indev /dvdbuffer/debian-7.0.0-amd64-netinst.iso -toc

to learn
  ...
  Volume id    : 'Debian 7.0.0 amd64 1'
  ...
  Boot record  : El Torito , ISOLINUX isohybrid MBR pointing to boot image
  Boot catalog : '/isolinux/boot.cat'
  Boot image   : '/isolinux/isolinux.bin' , boot_info_table=on
  Boot image   : '/boot/grub/efi.img' , platform_id=0xEF 


Then i repacked the image by

  dd if=/dvdbuffer/debian-7.0.0-amd64-netinst.iso bs=512 count=1 \
     of=/dvdbuffer/debian-7.0.0-amd64-netinst.mbr

  mount -o loop /dvdbuffer/debian-7.0.0-amd64-netinst.iso  /mnt

  xorriso -as mkisofs \
    -o /dvdbuffer/debian7_repacked.iso \
    -isohybrid-mbr /dvdbuffer/debian-7.0.0-amd64-netinst.mbr \
    -c /isolinux/boot.cat \
    -b /isolinux/isolinux.bin \
       -no-emul-boot -boot-load-size 4 -boot-info-table \
    -eltorito-alt-boot \
    -e /boot/grub/efi.img \
       -no-emul-boot -isohybrid-gpt-basdat \
    -V 'Debian 7.0.0 amd64 1' /mnt

On my Debian 6.0.2 test system i submitted both images to gdisk:

  # gdisk debian-7.0.0-amd64-netinst.iso
  ...
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present
  ...
  Found invalid GPT and valid MBR; converting MBR to GPT format.
  ...

  # gdisk debian7_repacked.iso
  ...
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: present
  ...

So it seems that at least gdisk was complaining about the GPT
checksum bug of xorriso-1.2.[68].
I have to thank Vladimir Serbinenko who spotted it in april.

This snapshot is available as
  http://www.gnu.org/software/xorriso/xorriso-1.2.9.tar.gz
(For Jigdo support you need zlib development headers "zlib-dev"
 installed.)


Have a nice day :)

Thomas


Reply to: