Score:1

create custom ISO in Ubuntu Server 21.04 for unattended and offline installation

cn flag

I need to create a .ISO with the cloud-init folder inside that would hold the autoinstall-user-data and meta-data files and edit the grub file to use it

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

in the base .ISO for this release there isn´t (I don`t know if for a good reason?), the isolinux folder and files so if I follow the tipical procedure at the end I can´t create custom .ISO with genisoimage or similar software as I will be missing all that important part in isolinux, for example the isolinux/txt.cfg referenced in all the manuals for ubuntu server 20.4 to do this task.

any ideas on how to create custom .ISOs for this latest release that will use the autoinstall-user-data for an unattended installation in a server ?

Regards

David avatar
cn flag
There is no Ubuntu version 21.
Pabolito Garci avatar
cn flag
thanks for the remark. I edited the title for 21.04. in any case version was clearly stated in the body
Score:0
br flag

What I did was copy the isolinux directory from the Ubuntu 20 server ISO image, make my updates, and create my custom ISO image. It works for me, but I was wondering if there is a reason why the isolinux directory was missing, and if there is another preferred method for creating custom Ubuntu images on an Ubuntu version greater than 20.

Zanna avatar
kr flag
Thanks for posting what worked for you here! I'm not sure if you're hoping for a reply to your follow-up speculation, but if you are, I suggest asking a new question (or you may find some existing material that is up to date - we do have many posts about this but I've had trouble finding recent ones).
Score:0
jp flag

One of the subiquity developers published a project to customize the live-server ISO.

Before that, a community member had also created a project to customize the installer ISO specifically to embed autoinstall files.

I have not tried either of these solutions myself.

Pabolito Garci avatar
cn flag
great compilation of links, thanks. unfortunately those may work for ubuntu 20.04 but newer version 21.04 does not have isolinux folder in the .ISO and procedures are based on changes in files in there, and to recreate the .ISO so those scripts may work in in previous versions but not in the 21.04
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.