I'll address some of your issues.
First not finding boot medium:
The iso produced via cubic is not a hybrid image and will only be bootable via a dvd therefore to boot from usb you need to run isohybird:
Image info prior to running isohybrid
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ file linuxmint-19.2.0-2020.02.040933-mate-64bit.iso
linuxmint-19.2.0-2020.02.040933-mate-64bit.iso: ISO 9660 CD-ROM filesystem data 'Linux Mint 19.2.0 2020.02.04 MAT' (bootable)
Running isohybrid:
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ isohybrid linuxmint-19.2.0-2020.02.040933-mate-64bit.iso
isohybrid: Warning: more than 1024 cylinders: 1987
isohybrid: Not all BIOSes will be able to boot this device
After running isohybrid:
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ file linuxmint-19.2.0-2020.02.040933-mate-64bit.iso
linuxmint-19.2.0-2020.02.040933-mate-64bit.iso: DOS/MBR boot sector ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'Linux Mint 19.2.0 2020.02.04 MAT' (bootable); partition 1 : ID=0x17, active, start-CHS (0x0,0,1), end-CHS (0x3ff,63,32), startsector 0, 4069376 sectors
Now we have an image bootable via usb.
Failing at busybox.
This is due to isolinux.cfg naming the initrd as initrd.lz where as the rt kernel has an initrd named initrd.gz. Editing grub doesn't help
the fix to that is by editing cubic.conf the section to be edited is as follows;
Code:
[Options]
boot_configurations = boot/grub/grub.cfg,boot/grub/loopback.cfg
to
Code:
[Options]
boot_configurations = boot/grub/grub.cfg,boot/grub/loopback.cfg,isolinux/isolinux.cfg
Then after exiting the chroot terminal you'll see on the next page that has the "ISO Boot Configurations" tab, under that tab on the left is an extra entry that lets you edit /isolinux/isolinux.cfg change an reference from initrd.lz to initrd.gz After fixing that issue click on next.
Once cubic has done it's thing and all finished you need to run isohybrid as mentioned before on the created iso image, dd to your USB drive and it's all good.
Some little extras:
DNS Issues
Whilst in the chroot environmet you may have issues with dns resolution the fix is as follows.
Source of fix is at
bugs.launchpad.net/cubic/+bug/1723568/comments/2
The link /etc/resolv.conf points to /run/systemd/resolve/stub-resolv.conf.
But stub-resolv.conf does not exist.
Outside the chroot environment, do the following...
Code:
$ sudo ln -sr /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf
To verify, inside the chroot environment, do the following...
Code:
$ cat /etc/resolv.conf
$ ping google.com
Prevent gimp from opening cnc help pdfs
Whilst in the chroot environment
open /usr/share/applications/gimp.desktop with nano
on the MimeType line remove reference to "application/pdf;"
save
Then run the following whilst still in chroot