Skip to content

edenraf/live-cd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

125 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  1. 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
  1. 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

  1. Edit script and commit changes
  2. 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
  1. 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

  1. Assuming that your USB drive is located at /media/USB\ DISK, using ls -al /media/USB\ DISK
  2. 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
  1. Now, you can apt-get install ROS packages without Internet connection
  2. 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'

About

script to create live cd/usb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%