Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

rebuilding ISO after adding apps (apt-get)

Refracta Development, Scripts, etc.

rebuilding ISO after adding apps (apt-get)

Postby bill99 » Wed May 06, 2015 4:35 pm

Hello forum

I would like to add (and eventually remove as well) additional apps (e.g. with apt-get) to an
existing Debian based Linux Live CD ISO.

As I undestand, additional apps can not directly be "injected" into an ISO, but the operation
system (on the ISO) has to be installed first to the harddisk...


Question:

Is Refracta the preferred tool for such tasks?


Any feedback is appreciated very much. Thank you!

Bill
bill99
 
Posts: 1
Joined: Wed May 06, 2015 4:30 pm

Re: rebuilding ISO after adding apps (apt-get)

Postby fsmithred » Thu May 07, 2015 1:16 am

There are a couple of ways to approach this. You can install your live cd either to hardware or into a virtual machine, install refractasnapshot and its dependencies, configure the system the way you want it, and make a new iso file that's a bootable snapshot of your running system. If you also install refractainstaller, then you can install an exact copy of your custom live iso.

If the live iso is something other than straight debian (or Refracta, which is just a remixed debian), then there might be some special things you have to do. So, you might want to say what it is. If it's ubuntu, or ubuntu-based, you might have trouble finding some of the deps. (There's no live-config-upstart package in 14.04, but the one from wheezy seems to work.)

It's also possible to mount the iso, copy it, chroot into the filesystem to install packages, and then rebuild the iso. I probably skipped a few important steps there. dzz, the other main refracta dev, does it that way. He even posted a script here that automates part of the process, but I don't recommend you try it unless you know what you're doing. And read the warnings.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm


Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred