PDA

View Full Version : Need to save files in knoppix without my HDD or FDD



christal
03-12-2004, 10:36 AM
Hi all,

I want to use Knoppix but I have some questions before... I have to do a "demo" of my program generated in Linux Mandrake 9.1. The problem is that I have to give to other people a demo of my program and it has to work instead of their SO.
I heared about knoppix, but I have to know some things: I have to save my demo in the knoppix linux in order to make a daemon to include it in the start up process... is there any way to save this config and the demo files without using the floppy or the hard disk space? I have to give this demo to some different clients, so they have to have the option to easily install and load my demo instead of making this through their SO. The best way I think is the knoppix one, as the vmware program is not useful in these cases... but I would like a little bit more help...
Waiting you could guide me through these theme...
Best regards,
Christal

arkaine23
03-12-2004, 10:04 PM
You should remaster knoppix. The process will take a few hours and should not be too difficult as there are nice guides in the docs section of this site.

You'd install your service, and set it to run in /etc/rc5.d with a shortcut pointing to the init script.

christal
03-12-2004, 10:32 PM
ok, thanks for your fast reply! but... I'm very new in knoppix and I'm not sure how to remaster knoppix... I understand you when you tell me that I have to save my daemon in to a rc5.d folder, but it's so simply as opening my knoppix cd and saving it again in another cd but including my daemon?

I'm very sorry.... but, could you please tell me a little more about what I have to do or wher I could go in order to know a little more about this theme? I'm very sorry but It's my first day with knoppix and I'm very lost...
Thanks a lot again and sorry very much if I could disturb you...

OErjan
03-13-2004, 08:31 AM
you should mount a knoppix iso -o loop and chroot to the image, that is:


mount -t iso9660 /search/path/to/knoppix.iso -o loop /mnt/iso
then

chroot /mnt/iso
now you are working in the iso image just as it was your regular install.
that is, you can remove packages, edit files..., i would remove unwanted/non-essentials first, at least enough to give room for your things.
you terminate the session with exit.
for more info man chroot man mount, man apt and man dpkg.
there is more in the customising section. look around there. http://www.knoppix.net/forum/viewforum.php?f=2

christal
03-13-2004, 09:24 AM
OK! Thanks a lot! I'll try it!! :mrgreen:

OErjan
03-13-2004, 09:36 PM
btw when chrooting you may have to use the full paths to your programes, that or addin them to your $PATH