live-cd/USB: Ubuntu/ROS custom live CD/USB creator
Description
This repository hosts scripts to create Ubuntu .iso
images where ROS is pre-installed.
-
What are the generated .iso files?
- The generated .iso works as the normal Ubuntu .iso image. ROS is already installed in addition. Versions of Ubuntu and ROS depend on .iso of your choice
- Each .iso file includes DEB files that were used during .iso generation
-
So, what can I do with these generated .iso
files for example?
- (general Ubuntu .iso feature) You can run Ubuntu on your computer from the CD/thumbdrive, without installing it. Also you can install Ubuntu on your computer from it.
- In the above scenario, ROS is already installed.
- You can use a thumbdrive made with these .iso images as as the local DEB repository. So for instance, if your computer is disconnected from internet but you still want to install some ROS packages from DEB (ie. by apt-get), this works.
How to create new .iso images
- Edit script and commit changes
- Run commands
sudo apt-get install -y uck
sudo rm -fr ~/tmp/remaster-*
./00-create-cd.sh --rosdistro indigo
./00-create-cd.sh --local-repo --rosdistro indigo # for installing local repository
sudo ./00-check-cd.sh tork-ubuntu-ros-14.04-amd64-*.iso # check generated iso file
- Burn iso to DVD or USB ( see https://help.ubuntu.com/community/Installation/FromUSBStick for more instructions )
Using custom live CD as local DEB repository
- Assuming that your USB drive is located at /media/USB\ DISK, using
ls -al /media/USB\ DISK
- Setup
sources.list
as follows, make sure that you have comment out ROS repository
sudo su -c 'echo "deb file:///media/USB%20DISK/repository binary/" > /etc/apt/sources.list.d/tork-usb.list'
sudo su -c 'sed -i "s/deb/# deb/" /etc/apt/sources.list.d/ros-latest.list'
sudo apt-get update
- Now, you can
apt-get install
ROS packages without Internet connection
- Do not forget to comment in ROS repository after you finish working
sudo su -c 'sed -i "s/# deb/deb/" /etc/apt/sources.list.d/ros-latest.list'