Image Composer Tool Setup#
An alternative method for setup is to create a pre-configured OS image with ROS 2 and the appropriate repositories using the Image Composer Tool. This approach is similar to the Express Setup convenience script above, but instead of configuring an existing system, it creates a complete bootable OS image that can be deployed to multiple systems or used for fresh installations.
Image Composer Tool supports creating both ISO images (for installation via USB) and raw disk images (for direct deployment to storage devices or VMs). ISO images are suitable for interactive installations, while raw images can be directly written to storage media or VMs for immediate use. If you prefer to start with a base Ubuntu installation, without needing to reimage a system, use the Express Setup or the Step-by-step Setup guide.
For detailed instructions, see the Image Composer Tool repository. An abbreviated ISO image creation follows:
Install Go (Go 1.24+ required) + build dependencies:
sudo apt update && sudo apt install golang-1.24 git systemd-ukify mmdebstrap
Update go path since 1.24 isn’t default:
export PATH=$PATH:/usr/lib/go-1.24/bin source ~/.bashrc
Clone Image Composer Tool repository:
git clone https://github.com/open-edge-platform/image-composer-tool.git cd image-composer-tool
Build the tool (output:
./image-composer-tool):go build -buildmode=pie -ldflags "-s -w" ./cmd/image-composer-tool
Build the live-installer (required for ISO images):
go build -buildmode=pie -o ./build/live-installer -ldflags "-s -w" ./cmd/live-installer
Build ISO image:
sudo -E ./image-composer-tool build image-templates/ubuntu24-x86_64-robotics-jazzy-iso.yml
Once image is successfully built, modify the below command to point to the built image location (shown after build). Change
/dev/sdXto proper USB drive location (i.e./dev/sdb). Flash ISO Image to USB drive:sudo dd if=builds/robotics-jazzy-ubuntu24-24.04.iso of=/dev/sdX bs=4M status=progress conv=fsync
Boot from the USB drive and install the image to your system.
Setup complete! Next Steps: Explore the Tutorials for ready-to-use applications and examples.