Can't boot from created ISO, installed kernels not visible in Cubic
Hi, I am in the middle of a very frustrating experience with your *fantastic* tool.
Several evenings ago, within an Ubuntu 18.04 Virtualbox VM, I created a custom Live ISO based on Xubuntu 16.04.4. Amongst changes to default xdg settings I installed two custom kernels, 4.15 compiled from apt-get source and 4.17 compiled from the mainline with Ubuntu patches. It worked, it was brilliant, it saved me hours. I did a few iterations of the ISO, using the existing Cubic project files each time.
Because squashfs compression was taking a while and I was running out of space on my laptop I moved my setup to a desktop machine running Ubuntu 18.04 on bare metal. However, whatever I do or do not do in the chroot, if I install any additional kernels they do not appear in the post-chroot menu. Only the kernel which comes with the live ISO appears. This is still true if I use the previous, successful custom ISO as the source.
I created a new VM (I'd removed the old one as it had become bloated) and have exactly the same problem. I cannot see installed kernels in the post-chroot menu.
If I try to boot from one of these images (where the added kernels are not visible in Cubic) I get to the initial menu asking whether to install or try Xubuntu, then a blank screen. On an EFI machine (my actual target for all of this, with the ISO flashed to USB) it goes to a black screen after the initial GRUB menu. So it seems that the image boots with the live kernel outside of the squashfs file system then everything goes wrong when it tries to hand over to a kernel within it.
I recall, when I successfully made the first ISO, I would see many console lines saying something like 'Ignoring command as in chroot' during various apt/dpkg installations but I haven't seen these on more recent attempts.
For the VMs (to run Cubic) I have tried Ubuntu 18.04 and Xubuntu 16.04.4. The results are the same. In each case I have updated the OS with either apt-get dist-upgrade or just apt-get upgrade.
I cannot for the life of me work out what I did/did not do the first time(s) which was then different each of the other times.
Any help would be much appreciated. It was like a magic bullet the first time around!
Thanks,
Jim.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Cubic Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jim Narey for more information if necessary.