-   Linux - Software (
-   -   Remastersys: removing files from the ISO (

newbiesforever 10-06-2009 12:16 PM

Remastersys: removing files from the ISO
I downloaded Remastersys, and have made an ISO of my system. How do I remove stuff from it? It's too large to fit onto a CD, and I don't have a DVD-RW drive.

j_jerry 10-06-2009 01:02 PM

(mount the iso as a loopback device


mount -o loop -t iso9660 discimage.iso /mnt/loop/
copy the contents to some folder

then re-make the iso using mkisofs


mkisofs -r -o /tmp/disk1.iso /tmp/contents/

linus72 10-06-2009 03:58 PM

I think you need to first delete files or remove any unnecessary apps
and orphaned libs
also, clear your browsers cache/history and remove anything you dont need

I've made like 20 remastersys ubuntu's and debians, some manaully
some with remastersys, in the last week!

the way I did it it was I installed a minimal system via net-install (via netbootcd)
I unchecked everything during install, no desktop, no base system

I then rebooted after install and started apt-get'ing apps like lxde, gimp, etc
after adding just minimal stuff I kicked in remastersys backup
and kept adding stuff till I hit 670MB+kernel/initrd

my Canabix-LXDE iso is a remastersys make
I actually made 2
one is lxde using remastersys/ubuntu

and the other is my grml-magix manual remaster

check em out if you want

newbiesforever 10-06-2009 04:31 PM

Okay, but could the problem be that remastersys included my home folder in the ISO and everything there, thereby inflating the ISO? I can't tell, because I don't know how to see everything that it put into the ISO.

j_jerry 10-06-2009 04:38 PM

You can see what you've put by mounting the iso, read my last post

linus72 10-06-2009 04:42 PM

the contents of the iso are a squashfs filesystem
mounting the iso isn't going to help
you can mount the squashfs too

but, did you do remastersys backup?
or did you do the distributable cd?

the backup includes everything in /home/user

if you dont want /home added, using remastersys gui
use the exclude files option

newbiesforever 10-06-2009 04:48 PM

I selected remastersys backup--I think. I'll do "distributable CD" next time.

All times are GMT -5. The time now is 11:50 AM.