Overview
ROS2 Jazzy Jalisco requires Ubuntu 24.04 LTS (Noble Numbat). This guide covers installing Ubuntu and ROS2 on your development computer.Based on: “Preparing the computer for ROS2” document
ROS2 Version: Jazzy Jalisco (latest LTS)
Ubuntu Version: 24.04 Noble Numbat
Installation Options
Virtual Machine
Pros:
- Easy setup
- Keep existing OS
- Reversible
- Slower performance
- Gazebo laggy
- Needs 60GB+ disk
Dual Boot
Pros:
- Full performance
- Gazebo runs smoothly
- Native hardware access
- More complex setup
- Partition required
- Dual OS management
External SSD
Pros:
- Full performance
- Portable
- No partition needed
- Requires USB 3.0+ SSD
- Slightly slower than internal
- Boot configuration
Option 1: Virtual Machine Setup
Step 1: Install VirtualBox
- Download VirtualBox: https://www.virtualbox.org/
- Install for your OS (Windows/Mac/Linux)
- Download Extension Pack (same page)
- Install Extension Pack: VirtualBox → Preferences → Extensions
Step 2: Download Ubuntu 24.04
Download Ubuntu 24.04 Desktop image:- Website: https://releases.ubuntu.com/noble/
- File:
ubuntu-24.04.x-desktop-amd64.iso(~5GB) - Verify checksum (optional but recommended)
Step 3: Create Virtual Machine
1
New VM
- Open VirtualBox
- Click “New”
- Name: Ubuntu_ROS2
- Type: Linux
- Version: Ubuntu (64-bit)
- Click “Next”
2
Memory
- RAM: 8GB minimum (8192 MB)
- More is better if available (16GB recommended)
3
Hard Disk
- Create virtual hard disk
- Type: VDI (VirtualBox Disk Image)
- Storage: Dynamically allocated
- Size: 60GB minimum (100GB recommended)
4
VM Settings
Before starting, configure settings:Display:
- Settings → Display → Graphics Controller → VBoxSVGA
- Video Memory: 128MB
- Enable 3D Acceleration
- Adapter 1: Bridged Adapter (for WiFi)
- Adapter 2: NAT (for wired connection backup)
- Settings → USB → USB 3.0 Controller
- Add filter for ESP32 (click + icon)
- Settings → System → Processor → 4 CPUs (if available)
5
Install Ubuntu
- Start VM
- Select downloaded ISO file when prompted
- Follow Ubuntu installation:
- Language: English
- Keyboard: Your layout
- Installation type: Minimal / Normal
- Erase disk and install (VM disk, not real disk!)
- Create user account
- Wait for installation (~20 min)
- Restart VM
- Remove ISO from VM settings
Option 2: Dual Boot Setup
General Steps:
-
Create bootable USB:
- Download Ubuntu 24.04 ISO
- Use Rufus (Windows) or Etcher (Mac/Linux)
- Flash ISO to USB drive (8GB+)
-
Shrink existing partition:
- Windows: Disk Management → Shrink Volume → 100GB
- Mac: Disk Utility → Partition
-
Boot from USB:
- Restart computer
- Enter BIOS/UEFI (F2, F12, Del key during startup)
- Set USB as first boot device
- Save and exit
-
Install Ubuntu alongside existing OS:
- Choose “Install Ubuntu”
- Select “Install alongside [your OS]”
- Allocate 60-100GB to Ubuntu
- Follow installation wizard
-
Configure boot loader (GRUB):
- Automatically configured
- Choose OS at startup
- Windows + Ubuntu: https://itsfoss.com/install-ubuntu-dual-boot-mode-windows/
- Mac + Ubuntu: https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation
Install ROS2 Jazzy
Once Ubuntu 24.04 is running:1
Set Locale
2
Enable Required Repositories
3
Update Package Cache
4
Install ROS 2 Desktop
- ROS 2 core
- RViz2 (visualization)
- Demos and tutorials
- Development tools
5
Source ROS2 Setup
Add to Verify installation:Should show:
.bashrc for automatic sourcing:Install Additional Tools
Essential Tools
Optional but Recommended
Test ROS2 Installation
Test 1: Talker-Listener
Terminal 1:Test 2: Turtlesim
Test 3: RViz2
Troubleshooting
Black screen on VM startup
Black screen on VM startup
Solution:
- Settings → Display → Graphics Controller → VBoxSVGA
- Disable 3D Acceleration if issues persist
WiFi not working in VM
WiFi not working in VM
Solution:
- VM Settings → Network → Adapter 1 → Bridged Adapter
- Select your WiFi interface from dropdown
- OR use Adapter 2 with NAT for wired connection
USB devices not detected
USB devices not detected
Solution:
- Install VirtualBox Extension Pack
- Settings → USB → USB 3.0 Controller
- Add USB filter for ESP32
- Plug in device and select it in Devices → USB menu
ROS2 commands not found
ROS2 commands not found
Solution:Make permanent:
Gazebo very slow / laggy
Gazebo very slow / laggy
Cause: VM performance limitationsSolutions:
- Allocate more RAM to VM (12-16GB)
- Allocate more CPU cores (4-6)
- Use dual-boot or external SSD instead of VM
- Reduce Gazebo quality settings
Next Steps
Raspberry Pi Setup
Install ROS2 on Raspberry Pi (onboard computer)
ROS2 Basics
Learn ROS2 concepts: nodes, topics, packages
Communication Testing
Test PC ↔ Raspberry Pi communication
Software Reference
Set up development tools