Re: Is there a way to squeeze the entire ISO intomemory?
"thomas pinkerton" <[email protected]> Thu, 11 Nov 2004 05:17:04 +0000
| Newsgroups | gmane.linux.debian.user.bootcd |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the quick reply Mark, Just in case anyone else ever wants to do this, I got it to work just now with the mindi project (a cousin of mondo) http://www.microwerks.net/~hugo/mindi/ It basically sucks down all of the necessary packages off your distro that are necessary for the tols you list in a config file and creates an ISO. It smartly uses ldd to dynamically fiure out dependencies and what-not. The only pain in the ass is that it is unfortunately not sentient and can't figure out, you gtta manually do that yourself. Like bootcd, I got it to work with no hassle out of the box. I got an entire bootable CD with the tools I needed that loaded itself entirely in a ramdrive in under 25 megs! >From: Mark Clarkson <[email protected]> >To: thomas pinkerton <[email protected]> >CC: [email protected] >Subject: Re: [Bootcd-user] Is there a way to squeeze the entire ISO >intomemory? >Date: Wed, 10 Nov 2004 21:05:37 +0000 > >On Wed, 2004-11-10 at 06:33, thomas pinkerton wrote: > > Hi, > > > > Nice work! I got a working bootable cd within a few minutes of playing > > around with bootcd. This is definately the answer for a lot of custom >apps. > > > > Anyway, I would like to make a boot cd that is able to: > > 1) boot from the cd drive > > 2) copy ALL of the filesystem into a ramdrive > > 3) unmount the cd drive > >Heavily modify the initrd to do all the above steps. > > > 4) then burn information to a blank CD on the same CD Drive that it > > previously booted from > >The [new] code for this would be in your newly mounted system. > > > > > Is there a way to do this with bootcd? > >I don't see bootcd being useful for this at all :( > >All the smarts would be in the initrd for your requirements, then the >whole system will live in RAM (tmpfs) bypassing much of the bootcd >cleverness. > >After fully loading a system with bootcd I think it would be a *very* >difficult task to move everything into RAM. (Nothing is impossible!) > > > > > So far I have a very stripped down install that takes up only ~80-100 MB >(no > > frills like X..., but I could probably make it even smaller) > > Is it as simple as altering the bootcd script to copy the other >directories > > like /bin and /lib as well as the ones it already copies like /home and > > /tmp? Then just do a pivot_root to the ramdrive or something? > > > > Any help with this would be greatly appreciated > >Best Regards >Mark. > > _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/