Using Linux Live Kit to Build a bootable ISO of my Ubuntu VM to distribute it as a software

I tried using Linux Live kit by Mr Tomas the same developer who manages Slax to build an ISO image of my Ubuntu Machine which is basically a linux based software with applications like docker and systemctl services running together. First I got the cannot load ldlinux.c32 error for which I found the solution by just not changing the LIVEKITNAME variable in the config file. But after all this I am still getting an error which is Cannot Find Linux Data FATAL ERROR.
I want someone to help me out on this if someone is experienced in building ISOs of linux systems. For reference I am using Ubuntu Server 24.
Thanks
Salman

Please note that you will have to buy a redistribution trademark license from Canonical if you plan to do this in any way commercially (if you just plan to make it easier to distribute your free software freely, that does indeed not apply), selling modified Ubuntu in any form requires this…

2 Likes

I’ve not had good luck with Linux Live kit on Ubuntu and flavours.

But I found penguins-eggs dose a good job for my needs: https://ostechnix.com/create-installable-iso-from-linux-system-with-penguins-eggs/

E G G S: the reproductive system of penguins

      penguins-eggs       Perri's Brewery edition        ver. 10.0.57       
command: produce

eggs is finished!

You can find the file iso: arch-xfcecachyos-x8664-btrfs_amd64_2025-02-17_1316.iso
in the nest: /home/eggs/.

Remember, on liveCD user = live/evolution
                    root = root/evolution

sudo ls /home/eggs
[sudo] password for me: 
arch-xfcecachyos-x8664-btrfs_amd64_2025-02-17_1316.iso	iso  livefs  ovarium  README.md

Kindly disregard if this is not a good suggestion. :slight_smile:

2 Likes

Thanks A Lot, I will surely give it a try

Do you have any idea about this error @1fallen
By the way your tool was a great help I think I am just one step away from making the ISO.

I"m not a good snap triager I don’t use them sorry. :frowning:
Maybe someone else can help here. But I’ll keep my eye on this thread.

apt policy penguins-eggs 
penguins-eggs:
  Installed: 10.0.58-5
  Candidate: 10.0.58-5
  Version table:
 *** 10.0.58-5 100
        100 /var/lib/dpkg/status
     10.0.57-3 500
        500 https://pieroproietti.github.io/penguins-eggs-ppa ./ Packages
     10.0.57-2 500
        500 https://pieroproietti.github.io/penguins-eggs-ppa ./ Packages
     10.0.57-1 500
        500 https://pieroproietti.github.io/penguins-eggs-ppa ./ Packages

I installed the ISO from the live boot by running sudo eggs install or sudo eggs krill, and once the installation was complete, Docker worked perfectly—those errors disappeared as well. I marked your answer as the solution because I was really frustrated, and this tool made my life so much easier. Huge thanks, @1fallen!

Now, I’m working on automating the installation process and suppressing those errors. From what I’ve gathered, they seem to be caused by the live boot ISO lacking access to the VM’s memory and only utilizing its own. According to some sources, Docker tends to throw these kinds of errors when there isn’t enough available memory (reference).

Again, I really appreciate the help!

1 Like

Happy to hear that, and have fun producing eggs! :smiley:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.