To be fair, that's kind of a "real install", and what I'm looking for is a "cdrom-style boot from hard drive." Here's my technique:
My system is like this, your partitions will be different.
# mke2fs (only-if-you-mean-it!) -i 99999 /dev/hda12 # tune2fs -j -c 0 -i 0 /dev/hda12 # mkdir /z # mount /dev/hda12 /z(You probably don't need to use a separate partition like I did. Look at the next step, and any ext2 or ext3 partition that won't have clashes with the next two "cp" commands should work.)
# cp -r /cdrom/* /z # mkdir /y # mount -o loop /cdrom/KNOPPIX/boot-en.img /y # cp /y/* /z
# mkdir /x # mount /dev/hda1 /x # vi /x/grub/grub.confHere's what I add to the end of grub.conf:
title KNOPPIX hda12
root (hd0,11)
kernel /vmlinuz ro vga=0x317 lang=en
initrd /miniroot.gz
In grub, things start at 0, so /dev/hda12 is called "(hd0,11)" --
the "hda" is called "hd0" and "12" becomes "11". "/vmlinuz"
and "/miniroot.gz" were copied from the floppy image
into the root directory of /dev/hda12. "vga=0x317" is for my 1024x768
laptop display; omit it if inappropriate. "lang=en" specifies
english, rather than german. Add any other cheatcodes to the
kernel line, such as the word "2" to make it boot text consoles
instead of X.
That's it. The only extra problem I had was my hda12 partition was not labled type 83 (hex) (Linux ext2 or ext3). I had to go into fdisk and change it, for grub to like it.
With this technique, KNOPPIX behaves as if my hda12 were the CDROM. It's still very stand-off-ish, not touching anything on my drive, and not saving any configurations. But that's kind of the beauty of it -- you could let guests use your computer in this mode, and they would have to really try to mess anything up.
Oh, and here's the link to the KNOPPIX Website again: http://www.knopper.net/knoppix/ -- you can download the ISOs from there, to burn your own CDROM, or to just mount the ISO image directly, and copy to a taret hard drive partition from there.
Disclaimer: I'm typing these notes from an internet cafe in Hua Hin, Thailand, and I don't have my laptop right here with me -- so I may make typos. Write me, strick, at the obvious secondlevel domain where this web page appears, if you find tpyos!
441.   What is Conware?
  [jake/2006-12-22]
440.   What are rainbow tables?
  [aestetix/2006-10-06]
433.   My boss has developers that use SOAP? How can I help them debug their lame web2.0 non-sense? (Or how can i search inside a given http session for a string using tethereal?)
  [jake/2006-05-24]
429.   why does my 802.11g network seem to die around Uniden 2.4ghz phones?
  [jake/2006-05-19]
425.   How do I make a FireFox search plugin?
  [gregr/2005-05-17]
422.   What is a tofinfant?
  [jake/2005-02-18]
401.   What is the Fly Over Zone?
  [jake/2004-01-28]
390.   Where can I learn more about the fascinating game of Go (aka Wei chi, Weiqi, Baduk, etc)
  [leif/2003-10-20]
364.   What is the best list of security tools at the moment?
  [jake/2003-07-06]
352.   Where can I see an example of looping code in G and in C?
  [jake/2003-02-26]
342.   Where is a good place to learn about secure programming (or how not to get laughed at)
  [jake/2002-12-19]
324.   whats the right command to use stunnel like an SSL version of telnet(client)?
  [jesse/2002-09-08]
322.   how do i verify an address in sendmail?
  [jesse/2002-08-30]
321.   what is jesse's first rule of backpacking?
  [jesse/2002-08-13]
265.   Who is Brad
  [brad/2002-07-16]
262.   Ricochet is dead for now. What are some alternatives?
  [rupe/2001-08-07]
261.   Which companies belong to the DVD Copy Control Association (DVD CCA) as of 08-2001?
  [rupe/2001-08-03]
221.   Where can I find information about odd places in San Francisco?
  [rupe/2001-06-04]
198.   What tiny laptop does strick travel with?
  [strick/2001-03-13]
175.   What's the best wine with chocolate chip cookies?
  [strick/2001-02-11]
174.   why doesnt an image change in a java applet when it changes on the server?
  [jesse/2001-02-10]
157.   In the intro to the Everclear song "A.M. Radio", what does the reference to KHJ Radio, Los Angeles refer to?
  [rupe/2001-01-01]
137.   where can i find docs for radioshack scanners?
  [jesse/2000-10-20]
124.   How do I make common modifications to my Gnu Emacs .emacs file?
  [rupe/2000-09-26]
121.   What time is it?
  [rupe/2000-09-18]
( josh/2001-04-03 strick/2001-03-10 )
118.   Where can I find out the cost of giving a sasquatch a funeral?
  [rupe/2000-09-14]
86.   How do those little Anti-Shoplifting tags work?
  [strick/2000-05-02]
74.   How many roads must a man walk down?
  [vonguard/2000-04-04]
73.   How many Zelda games are there?
  [vonguard/2001-06-25]
( combee/2001-07-10 mennonite/2001-03-27 )
72.   What happens when you smoke weed every day for a year and then quit cold turkey.
  [vonguard/2000-04-04]
16.   Where are the SF Bay Area Cypherpunk physical meetings?
  [strick/2001-04-08]