You are not logged in.

#1 2015-08-07 01:10:49

jo-shva
Member
From: Sherman, TX USA
Registered: 2010-10-18
Posts: 133

how to create iso image for live cd with uefi and squashfs

The subject sums it up.  I need to create a live iso of a cd with uefi.  I can make the dvd without being live using xorriso

xorriso -as mkisofs -r -V 'Debian stretch-DI-a1 amd64 1' -o Debian-5.iso -J -joliet-long -cache-inodes -isohybrid-mbr /usr/lib/syslinux/bios/isohdpfx.bin -b isolinux/isolinux.bin -c isolinux/boot.cat -boot-load-size 4 -boot-info-table -no-emul-boot -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot -isohybrid-gpt-basdat -isohybrid-apm-hfsplus /home/jo-shva/Debian_install/cd2

but I can't seem to figure out how to do it with a live cd with squashfs.  The Boot sector is within the squashfs.filesystem.  I have googled till my head feels like its gonna explode, and I can find nothing on how to accomplish this.
Help is greatly appreciated!


"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/

Offline

#2 2015-08-07 16:58:00

scdbackup
Member
Registered: 2013-05-30
Posts: 73

Re: how to create iso image for live cd with uefi and squashfs

I am the developer of xorriso. Do you have an example ISO
with the desired features ?

> The Boot sector is within the squashfs.filesystem.

There EFI or BIOS will not find it.
EFI wants to see a FAT filesystem image inside the ISO.
If presented on CD it is marked by an El Torito boot
sector. If presented on USB stick it is marked by
an MBR partition 0xef or by a GPT EFI system partition
(Type GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B).

Offline

Board footer

Powered by FluxBB