From: ciderly <ci...@co...> - 2001-09-17 12:02:22
|
Just sent this to per...@pe..., thought you might also like a copy, thanks for all the crazy work guys, you kick ass. -steven ----- Forwarded message from ciderly <ci...@co...> ----- From: ciderly <ci...@co...> Subject: single floppy perl mini-howto To: per...@pe... Date: Mon, 17 Sep 2001 04:53:25 -0700 User-Agent: Mutt/1.3.11i Ok, I had this crazy item on my wishlist for awhile, and finally figured out a solution worthy of crossing it off my list. If you have a floppy disk, a floppy drive, a network card and network connectivity (perhaps even dhcp) and are interested in booting a ramdisk environment capable of a fully functional perl within 5 commands or less, take a look at the mini-howto below, also available @ http://compulsion.org/prizes/single_floppy_perl When writing this hackish howto, I had fanatics and perl instructors teaching students in mind, also people without harddrives or those who feel safer sleeping with a single-floppy perl-capable linux distribition under their pillow. Sincerely, Steven Fountain (ciderly, ci...@co...) title: getting perl running using a single floppy image in a ramdisk environment mini-howto author: ci...@co... If you plan to hack this together on a laptop with a network card: 1) wget http://trinux.org/boot/trinux-0.80rc2-pcmcia.img # get the image 2) dd if=3Dtrinux-0.80rc2-pcmcia.img of=3D/dev/fd0 # put it on a floppy Otherwise you'll probably be hacking something without the need for pcmcia support, so you'll want to get the net image. 1) wget http://trinux.org/boot/trinux-0.80rc2-ide.img # get the image 2) dd if=3Dtrinux-0.80rc2-ide.img of=3D/dev/fd0 # put it on a floppy Next, boot up the floppy. When booted (with network support configured, i think it even does dhcp), you'll install a bunch of functional client utilities automaticly (ssh, lynx, ncftp) and you will then get dumped to a bash# prompt. =46rom here, you'll want to type: 1) getpkg libdb 2) getpkg perlbin 3) getpkg perlcore 4) getpkg perlsite 5) getpkg perlmods Now finally, dump yourself in code heaven: 1) perl -d -e 1 And enjoy. (Trinux can do a lot more then this, for a full list of getpkg'able files take a look at http://trinux.sourceforge.net/pkg/) (I'm thinking ngrep, apache, bind, or a horde of other neat things provided from a single floppy.) ----- End forwarded message ----- |