by strick

How can I boot KNOPPIX off my hard drive?

The KNOPPIX Gnu/Linux distribution rules (oops, let me say that again for the meter: KNOPPIX RULES! Gnu/Linux RULES! ), but running it from a CDROM gets a bit slow, so I figured out how to copy it to my hard drive. I'm already running RedHat 8.0 (which also installed flawlessly) among other OSes on my Toshiba 4005 laptop, and I have an extra >750MB partition that I'd like to use to boot KNOPPIX from time to time. The slides in this German-language PDF give you some idea that it can be done, but there are a couple of problems I had with their procedure:

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.

Here's what I did:

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!

 


Annotation by jake :
You should not trust this to be a safe install for guest because you can simply use: sudo -s to get root. Change the root password and disable sudo, you will be better off.

 


 
Read more of   The Yak's Frequently Questioned Answers   (mod.2008-11-08)

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]