Hi all,
My first post here
I’ll hope i’m in the rigth spot/category …
I’m trying to change a livecd-iso but it won’t boot. It stops with messages about dracut. Later the complete messages.
I followed this video on youtube “watch?v=_LobCfU_uIY” (could use only 2 links as a new user ) … but with the latest Fedora livecd : Fedora-Workstation-Live-x86_64-34-1.2.iso
These are the steps I made allready.
sudo -i
cd /root
mkdir mnt
mkdir iso
mount -o loop Fedora-Workstation-Live-x86_64-34-1.2.iso ./mnt
cp -rfp ./mnt/* iso/.
cd iso/LiveOS
unsquashfs squashfs.img
cd squashfs-root/LiveOS/
mkdir rootfs
mount -o loop rootfs.img rootfs
chroot rootfs
# In "host" OS :
sudo cp /etc/resolv.conf /root/tmp/iso/LiveOS/squashfs-root/LiveOS/rootfs/etc/resolv.conf
ping google.com
dnf remove libreoffice-core (otherwise there isn't enough room)
dnf update -y
# All went well .....
exit # out of chroot
umount rootfs
rm -rf rootfs
cd ../..
rm squashfs.img
mksquashfs squashfs-root/ squashfs.img -noappend -always-use-fragments
rm -rf squashfs-root/
cd ..
# Now create new iso :
mkisofs -o /media/custom_iso.iso \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
--no-emul-boot \
--boot-load-size 4 \
--boot-info-table \
-R -J -v -T -V "Fedora-Workstation-Live-x86_64-34-1.2" .
This results in : genisoimage: Volume ID string too long
Because of this i came at : Custom Bootable ISO from RHEL 7.1 - Red Hat Customer Portal
Which say’s that the name is too long and has to be like " inst.stage2=
parameter in isolinux.cfg
"
This inst.stage2 isn’t in isolinux.cfg but there are names like : " Fedora-WS-Live-34-1-2" which i used.
And that works (only because its not longer than 32 characters i think ).
Run qemu :
qemu-system-x86_64 -boot d -cdrom /media/custom_iso.iso -m 512
This takes time ( 7 year old laptop ).
Result is dracut problems …
I even tried without dnf update but makes no difference.
Please anybody … point me to the rigth direction … .