bug-xorriso
[Top][All Lists]
Advanced

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

[Bug-xorriso] Creating a data partition after writing iso-hybrid image


From: Andreas Heinlein
Subject: [Bug-xorriso] Creating a data partition after writing iso-hybrid image
Date: Wed, 30 Nov 2016 21:38:51 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

Hello,

I am one of the authors for a live system which is currently based on
Ubuntu (Debian in the near future). We have created iso-hybrid images
booting both on BIOS (using syslinux)and UEFI (using Grub), each in turn
both from CD and USB drive.

We now want to include a tool within the live system that creates a
persistence partition within the remaining space on the USB drive. We
are however unsure how to do this, because of the non-standard MBR and
GPT which xorriso creates.

For testing, I could create a partition in the free space in MBR only
using fdisk (gdisk refused to accept and alter the GPT), and it seems to
work. But I am courious if this will always work and if this is the
right way to do? Is there any guarantee that the linux kernel will
always use the MBR table and ignore the GPT table?

I hope I could make it clear what we want. We definitely want this to
run from within the live system, after it has been written to disk with
any disk imaging tool. We are not looking for ways to partition the
drive before writing the image or its contents.

We basically followed Ubuntu instructions; the xorriso command we use is:

xorriso -as mkisofs -r -V "UPR_12.04r1" -o $CURDIR/upr-12.04r1.iso \
    -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin -partition_offset 16  
-cache-inodes -J \
    -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot 
-boot-load-size 4 \
    -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot \
    -isohybrid-gpt-basdat $CURDIR/extract-cd Thank you, Andreas Heinlein


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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