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!
438.   What is an anarchosexual? What is Anarchosexuality?
  [jake/2006-08-22]
419.   What is december 25th or christmas for jewish people in america?
  [jake/2004-12-26]
376.   What are three very useful online dictionaries?
  [jake/2003-09-22]
346.   How do I use IDEA with gpg? (thanks freiheit)
  [jake/2003-02-12]
339.   R. U. ready to Impeach the Entire Political Mainstream and Dramatically Decrease the Threat of International Terrorism?
  [strick/2002-12-06]
256.   How does the new Windows Product Activation (WPA) scheme work?
  [rupe/2001-07-10]
237.   how do i setup lm_sensors on an abit vp6 mobo?
  [jesse/2001-07-08]
226.   How do you eat vegetarian in central Texas?
  [combee/2005-04-08]
225.   What do I use to write cool Palm software?
  [combee/2001-11-01]
( combee/2001-09-21 )
169.   Where does The YAK go out to eat?
  [strick/2001-04-24]
( combee/2001-05-29 )
156.   Where did Sprint come from?
  [rupe/2000-12-30]
101.   Where can I find tech support anecdotes?
  [rupe/2000-06-12]
79.   Where can I find information on the QA process used to validate space shuttle software?
  [rupe/2000-05-19]
70.   How can I get info from my (email-capable) cellfon?
  [robey/2000-02-29]
16.   Where are the SF Bay Area Cypherpunk physical meetings?
  [strick/2001-04-08]