LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-06-2009, 12:16 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,868

Rep: Reputation: 62
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.
 
Old 10-06-2009, 01:02 PM   #2
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
(mount the iso as a loopback device

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

then re-make the iso using mkisofs

Code:
mkisofs -r -o /tmp/disk1.iso /tmp/contents/
(edit)
 
Old 10-06-2009, 03:58 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
well
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
http://community.canabix.org/smf/index.php?topic=71.0

and the other is my grml-magix manual remaster
http://community.canabix.org/smf/index.php?topic=70.0

check em out if you want
 
Old 10-06-2009, 04:31 PM   #4
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,868

Original Poster
Rep: Reputation: 62
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.

Last edited by newbiesforever; 10-06-2009 at 04:36 PM.
 
Old 10-06-2009, 04:38 PM   #5
j_jerry
Member
 
Registered: Sep 2009
Distribution: fedora 11
Posts: 318

Rep: Reputation: 46
You can see what you've put by mounting the iso, read my last post
 
Old 10-06-2009, 04:42 PM   #6
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
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
 
Old 10-06-2009, 04:48 PM   #7
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,868

Original Poster
Rep: Reputation: 62
I selected remastersys backup--I think. I'll do "distributable CD" next time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remastersys help AZorin Linux - Software 5 01-11-2009 08:26 AM
i edited the fedora9.iso files... how do i create bootable iso now? Yaniv-Fer Linux - General 3 11-04-2008 02:52 AM
kinit problem and remastersys pcdoctor01 Ubuntu 0 03-27-2008 05:17 PM
how to make dvd iso file from cd iso files. hocheetiong Linux - General 1 09-29-2007 05:21 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration