livecd-to-iso-disk: F42 live format change workaround
Select new boot/arch/loader directory for images. Allow filenames linux/initrd in addition to vmlinuz/initrd.img. Use full grub.cfg instead of stub. Delete EFI fallback exectuables.
Workaround: #262
Good work.
BTW, editliveos is broken too and needs similar fixes.
I am trying this with a newly formatted usb drive and unable to make it work. My drive has two partitions and I am trying to install on a 6GB large FAT32 partition.
Trying with different options, I always get a non-transparent error like "Error 2 detected at line 2676 /usr/bin/livecd-iso-to-disk". Commands I have tried:
livecd-iso-to-disk --overlayfs temp Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2
livecd-iso-to-disk --overlay-size-mb 1024 Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2
livecd-iso-to-disk --reset-mbr --overlayfs temp Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2
livecd-iso-to-disk --overlayfs temp Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2 livecd-iso-to-disk --overlay-size-mb 1024 Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2 livecd-iso-to-disk --reset-mbr --overlayfs temp Fedora-Workstation-Live-42-1.1.x86_64.iso /dev/sda2
It looks like you're trying to install to a single partition (/dev/sda2). livecd-iso-to-disk normally works on an entire disk - creating, destroying, & formatting partitions accordingly (i.e. /dev/sda). Refer to the #262 discussion for various working commands.
I was trying to use livecd-iso-to-disk, because it is specifically documented as a non-destructive way of writing a disk image. So I would then not use --format and instead install to an existing partition.
Am I misunderstanding something here?
I was trying to use livecd-iso-to-disk, because it is specifically documented as a non-destructive way of writing a disk image.
Yeah, looking further at the docs I think it might have been able to do that at one time, but I doubt that has worked since Fedora Workstation went EFI only. I've only used livecd-iso-to-disk to create a standalone rescue USB disk with persistence for very many generations of Fedora.