Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'm using the latest BackTrack ISO release for security analysis. BackTrack is basically a configured Ubuntu distro. However, I'm missing my wireless card driver (Broadcom 4313). There are several forum posts on the site explaining how to upgrade the kernel and install the drivers. However, I use the ISO file from a USB drive as a "Live CD" (i.e., no installation) and can therefore not tchange the original ISO.

My question is: how can I take an ISO file (any, for this matter), update its contents and repackage it to a new ISO that can be live-mounted? is there a procedure for this? Do I need to use a virtual machine?

share|improve this question
I have two comments for you - I'm not sure if BackTrack would be covered by the Ubuntu umbrella since they seem to have strayed far from it's original base: Discussion for this can be found on the Meta. Second it appears you have two questions. One regarding this ISO repackaging - the other about Broadcom Drivers. If they are two separate questions please remove one and ask it in a new post. – Marco Ceppi Sep 16 '10 at 11:23
@Marco - I was referred to this forum following a question on Meta. The question is generic enough, even if not Ubuntu specific. As for the second question, you're right, but I thought it was relatively easy to answer. – Traveling Tech Guy Sep 16 '10 at 18:11
I would split it to another question. The idea is to privde a 1 Question 1 Answer mentality. – Marco Ceppi Sep 16 '10 at 18:53
up vote 1 down vote accepted

Modifying an Ubuntu live CD is trickier than just replacing files in the ISO image.

The root filesystem of the live operating system is actually contained within a compressed SquashFS data file. The modification process typically consists of unpacking the SquashFS file, chrooting into the extracted filesystem, making your modifications, exiting the chroot, repacking the SquashFS file, and then regenerating the ISO.

This procedure is well described on the LiveCDCustomization page of the Ubuntu wiki.

My only experience is with adding packages to the live CD, but there isn't any reason you shouldn't be able to use this to replace the kernel, provided you can compile it successfully.

share|improve this answer
Thanks! Frankly, looks like too much work for me :( Guess I'll mount it on a VM and configure it there. – Traveling Tech Guy Sep 16 '10 at 23:23

I had used isomaster in the past to add BIOS update programs to a FreeDOS iso. I believe that it is what you want. You can find it in add/remove programs.


share|improve this answer

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.