1

I am making a custom Ubuntu (22.04) distribution and Live USB using Cubic. After installation, I would like to make the original live USB iso be installed on the hard drive and bootable from the Grub menu (similar in concept to a recovery partition). I think I have figured out how to make Grub have this menu entry and boot from the iso file, but I am having trouble figuring out how to make the installer copy the iso into the /boot folder (where Grub points to). I realize I could just manually copy it into there after installation, but that does not solve the problem for other users.

Of course, I could create the iso then make another version of it in Cubic which has the iso in the /boot directory, but this means making the iso twice and seems like a weird workaround.

What method would you suggest for making this happen?

Mr. T
  • 201

0 Answers0