livecd-tools / livecd-tools

Tools for building live CDs using DNF
GNU General Public License v2.0
224 stars 111 forks source link

After (finally) getting livecd-creator to work, livecd-iso-to-pxe-boot says "The ISO image doesn't look like a LiveCD ISO image to me." #58

Open Ralithune opened 7 years ago

Ralithune commented 7 years ago

I've been trying for hours to get livecd-creator to work on a kickstart of Fedora 24. "livecd-creator --config fedora_livecd.ks --fslabel fedora_24_live"

After a massive amount of package screwing around (for some reason none of the @group shortcuts work; I had to collect a manual list of them from my on-disk Fedora 24 install), it finally worked. Here's system stats:

[root@localhost livecd_custom_kernel]# rpm -q livecd-tools
livecd-tools-23.4-1.fc24.x86_64
[root@localhost livecd_custom_kernel]# cat /etc/fedora-release
Fedora release 24 (Twenty Four)
[root@localhost livecd_custom_kernel]# uname -a
Linux localhost.localdomain 4.10.8-100.fc24.x86_64 #1 SMP Fri Mar 31 13:20:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost livecd_custom_kernel]#

I finally succeeded, and it created an ISO file. Then, "livecd-iso-to-pxeboot fedora_24_live.iso" produces:

[root@localhost livecd_custom_kernel]# livecd-iso-to-pxeboot fedora_24_live.iso
mount: /dev/loop3 is write-protected, mounting read-only
The ISO image doesn't look like a LiveCD ISO image to me.
Cleaning up to exit...
[root@localhost livecd_custom_kernel]#

So frustrating. What is going on here?

Ralithune commented 7 years ago

I think this might be happening because I can't seem to get away from:

dracut: No '/dev/log' or 'logger' included for syslog logging
dracut: dracut module 'dmsquash-live' cannot be found or installed.
mkinitrd failed

No matter how many packages I add to the list. What am I doing wrong here?

Conan-Kudo commented 7 years ago

v23 and v24 are quite different, you might want to test the latest version of the code.