Hi,
This group has been such a source of perl 
learning for me, that I thought I would share
this.
I found this useful little method of putting
my entire perl5 lib and scripts on a bootable
cdrom. I thought some of you might like to
create one yourself.

With a bit of ingenuity, you can also get
ppp support going by copying pppd and
chat into the BINARIES.  

This will boot, have perl ready to run,
and have Midnight Commander. This
is for linux systems, but the mkcdrec
utility can be setup for windows, that's
up to you.

Go to:
http://freshmeat.net/projects/mkcdrec/
and download mkCDrec_v0.6.0.tar.gz

then follow these additional instructions.

1. Untar the package and cd to the mkcdrec directory.
2. mkdir 'utilities'
3. copy the entire /usr/lib/perl5 directory to
   mkcdrec/utilities/perl5
4. Edit the Config.sh at(or near) line 325 where
   a section called 'Links=' is started.
   Add a link like this:
   /usr/lib=perl5=/cdrom/utilities/perl5
   
5. You can copy as many of your utilities as
   you want to this utilities directory, and
   make links. However, it is easier to do the
   next step.
   
6. Goto Config.sh around line 224 where the section
   called 'Binaries=' begins. Just add entries there,
   like:
   perl
   perldoc
   mycoolscript.pl
   etc
   etc.
This ends the perl part of the setup.

7. Goto the beginning of Config.sh and edit each
   entry to suit your system.
   For certain, specify LINUX_KERNEL that you wish to use.
   Like:'/boot/vmlinuz.suse-2.4.4-4GB'
   
   BURNCDR=y
   SCSIDEVICE='0,1,0'  ( or whatever you use for your system )
                       (cdrecord -scanbus will tell you)
    etc, etc,etc
    Don't ignore the line for DEVFS=0 , the cd won't boot
    if you set this wrong. Set it to 1 only if your kernel
    supports it.
8. Finally do a 'make test' to see how your Config.sh looks.
   If all is well, do a 'make'; select option 1 (Rescue CD),
   and your cd will be made.
   
9. Boot it, and start mc, I'm sure you can take it from there.

                   


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to