Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just created live ubuntu usb using Unetbootin and an ISO of Ubuntu 11.10.

Everything works fine but I miss skype. Can I add skype to the ISO somehow? Not to download it and install on usb after I boot from the usb? I want to have the iso ready for next usb.

share|improve this question
You should be able to do this using preseeding, but it's been so long that I'll have to refresh myself. I'll get right on that. – Chuck R Mar 5 '12 at 9:41
up vote 1 down vote accepted

Actually, I missed the point of your question. You want Skype installed on the USB from the get-go. My other answer pertains to installing Skype after Ubuntu installation to a hard drive.

Really, the only way to go about doing what you asked is to either remaster the filesystem.squashfs or install it into casper-rw. But, either will require being in a Linux system (even the LiveCD, but will require several gigs of RAM to work with). You might be able to do it in Cygwin, but it will require knowledge of how to acquire and install Ubuntu source code.

Creating a casper-rw is the same as intalling it after booting the Live USB with persistance, but that's not what you want.

If you're looking to have it installed in the main filesystem, here's what you'll need to do:

sudo unsquashfs /cdrom/casper/filesystem.squashfs
sudo mount --bind /dev squashfs-root
sudo mount -t proc none squashfs-root/proc
sudo mount -t sysfs none squashfs-root/sys
sudo mount -t devpts none squashfs-root/dev/pts
sudo cp /etc/resolv.conf squashfs-root/etc
sudo chroot squashfs-root
# export HOME=/root
# export LC_ALL=C
# dbus-uuidgen > /var/lib/dbus/machine-id
# dkpg-divert --local --rename --add /sbin/initctl
# ln -s /bin/true /sbin/initctl
# wget
# dpkg -i skype-ubuntu_2.2.0.35-1_i386.deb
# rm skype-ubuntu_2.2.0.35-1_i386.deb
# wget
# dpkg -i skype-ubuntu_2.2.0.35-1_amd64.deb
# rm skype-ubuntu_2.2.0.35-1_i386.deb
# rm /etc/resolv.conf
# rm /var/lib/dbus/machine-id
# rm /sbin/initctl
# dpkg-divert --rename --remove /sbin/initctl
# exit
sudo umount squashfs-root/dev/pts
sudo umount squashfs-root/dev
sudo umount squashfs-root/proc
sudo umount squashfs-root/sys
sudo mksquashfs squashfs-root /cdrom/caser/filesystem.squashfs

All the above are if you're running from the LiveUSB, the only difference from Cygwin is the paths to your USB (referred to as /cdrom from the LiveUSB). Also, you'll have to compile squashfs-tools from inside cygwin. The source can be downloaded from

All-in-all, as you can see it's much easier to just install it once running the LiveUSB (if you stalled with a persistence file, you'll only have to install it once and you're set). If you want help on how to make a persistence file, I can show you that as well.

share|improve this answer
Also, if you want to always have Skype pre-installed when making a LiveUSB, you'll have to add the filesystem.squashfs (from the code block which was copied back to /casper/filesystem.squashfs on the USB iteself) to the Ubuntu ISO using a program like MagicISO or PowerISO – Chuck R Mar 6 '12 at 6:43

This is untested, but can give you a nudge in the right direction. What you'll probably want to do is use a preseed file to run a command after install to add the Skype pacakge.

So, you'd add the Skype package onto the disk, then change the /preseed/ubuntu.seed file to something like this:

# Enable
d-i    apt-setup/extras    boolean true
# Install the Ubuntu desktop.
tasksel    tasksel/first    multiselect ubuntu-desktop
d-i    preseed/late_command    cp /cdrom/skype-i386.deb /target
d-i    preseed/late_command    chroot /target dpkg -i /skype-i386.deb
d-i    preseed/late_command    rm /target/skype-i386.deb
# On live DVDs, don't spend huge amounts of time removing substantial
# application packages pulled in by language packs. Given that we clearly
# have the space to include them on the DVD, they're useful and we might as
# well keep them installed.
ubiquity    ubiquity/keep-installed string icedtea6-plugin

That should do it I believe. What it does it after installation, it will specifically install Skype into the system by running some manual command post-install but before restart.

share|improve this answer
How can I do this from Windows? I don't have ubuntu installed... – Radek Mar 5 '12 at 23:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.