LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-21-2008, 08:43 AM   #1
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Smile Bandwidth challenged guy wants a custom live iso . . .


I tried to make a custom iso using live-helper of Debian.

Why, I know not, but after I got a complete chroot (installed a lot of packages, and they work when tested in the chroot.), the iso building step fails. Maybe dependency issues. but I cant download all that stuff again.

I still got the chroot and thinking of copying the /usr and /etc directories to some live iso.

I was thinking that I mount the iso to a directory, and copy the contents to a temporary directory. Most live distros are using squashfs for the / filesystem. So i unsquash that. Then I add the files from the chroot mentioned above to this /. Then i squash it again, and use mkisofs to finish off making the iso.

Will this work, if yes, please give me some pointers on how to proceed,
coz I will be using mkisofs and squashfs for the first time.
Thank you.
 
Old 06-21-2008, 09:33 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Why don't you try to give us a clue as to what exactly failed?
 
Old 06-21-2008, 02:18 PM   #3
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by pinniped View Post
Why don't you try to give us a clue as to what exactly failed?
Thanks for your concern Pinniped,
but I am not interested in trying live helper again anytime soon.

Please read the rest of the post and tell me if the option I have come up with is possible or not.
 
Old 06-21-2008, 06:59 PM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Aside from what you do to '/' from the CD iso, you also need to change:
'isolinux' bootloader config
kernel
initrd

Your '/' must have the modules for the kernel which will boot.
The initrd must be configured to mount '/' from the iso. You can decompress the iso's initrd and go through the 'init' script, look at its 'inittab' setup, and so on so you can make a comparison with yours.
 
  


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
Custom Install ISO pineapples Linux - Distributions 2 09-15-2005 11:15 PM
making custom bootable CD out of ISO? slackman Slackware 5 12-01-2003 01:16 PM
Custom ISO Jay_highlands Slackware 1 10-18-2003 06:37 PM
custom kernel for ISO CD ??? Bluesuperman Slackware 2 10-17-2003 11:16 PM
custom bootable iso with my own kernel? sneakerski Slackware 1 09-30-2003 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration