Knoppix under Windows - help Linux appeal to wider audience
http://home.btconnect.com/chrisandca...ntaspecial.pngis unretouched, and is what happens when MS Windows 'autoruns' my modified games-knoppix CD. The same CD boots the way a Knoppix always does, as well.
This is done by adding the contents of http://home.btconnect.com/chrisandca...mu-knoppix.zip to the files from the games-knoppix CD from http://games-knoppix.unix-ag.uni-kl.de/, and running the 'mkisofs' command to complete the remaster.
The same works for the proper 3.7 Knoppix.
:D
http://home.btconnect.com/chrisandca...ntaspecial.png
Revised 'qemu' kits for GamesKnoppix
I have put revised kits at http://home.btconnect.com/chrisandcarolyn/gk3701.zip and http://home.btconnect.com/chrisandcarolyn/gk3702.zip for the St Nicholas' Day and Three Kings' Day editions respectively.
The boot sequence is cleaned up; otherwise pretty much the same as before.
Enjoy ! :D
Getting short of web space
I'm a little short of web space. If anyone would like to take the 'qemu kits' from http://home.btconnect.com/chrisandcarolyn/ and host them somewhere proper, that would be fine by me. (The kit for GamesKnoppix 3.7-0.2 is gone already. It's easy enough to rebuild from the 3.7-0.1 version)
Torrents for Knoppix under Windows
Knoppix under Windows for newbies ...
First I must thank Chris-UK for his help and also a CoMike at http://www.dad-answers.com/qemu-foru...opic.php?t=112 for his post or I would never have succeeded ... however I must say it was due more good luck than to thorough detailed instructions that weren't provided for real QEMU newbies like myself either in the QEMU on-line documentation or the forum posts.
Chris' Knoppix_qemu iso torrent that I downloaded and tried everywhich way but up would not work for me. Maybe bad data ??? or something else ... whatever I next tried to read the online QEMU documentation which was even less helpful. It was only with some luck and a post by CoMike above that I got Knoppix under windows to boot up in qemu. Here is what I did for anyone elses interest ...
My goal now to get a simple knoppix cd working under Qemu on my Win98 machine. I first downloaded the windows installer for qemu from http://ftp.club-internet.fr/mirrors/...win32/release/
After pouring through the online qemu documentation at http://fabrice.bellard.free.fr/qemu/user-doc.html and trying a lot of things with little success, I read that CoMike said that you must "create a hard disk image with qemu-img". But how ... it would have been helpful if he had given a command line without requiring us newbies to read the "c:\<qemu directory>\qemu-img.exe help" to find out. To CoMikes credit, he told us we needed to do this whereas the Qemu on-line documentation at http://fabrice.bellard.free.fr/qemu/qemu-doc.html did not seem to explain this at all!
Trying now to get a Knoppix v3.7 iso image to load in qemu ... and since the KNOPPIX_V3.7-2004-12-08-EN.iso being 700MB in size I created the following knoppix.img in my qemu directory at the DOS prompt:
c:\<qemu directory>\qemu-img.exe create knoppix.img 800M
(where the <qemu directory> is the local qemu folder on my c drive. I had no idea what size to use so I made it a little bigger than my iso file size)
The next problem was discovering that apparently on Windows one cannot load a Live-CD into QEMU. (I say discover since CoMike indicated this in his last post (see above link) though Chris-UK will no doubt dispute this. I wasted a lot of energy trying to get my LIVE CD to load into QEMU. Nowhere did the on-line documentation indicate that this was not possible. In fact Chris-UK indicates that he not only did this but also has provided us with an online torrent of a remastered Knoppix Live CD which he says will boot automatically into QEMU under windows. I downloaded his iso, burned it to a CD and was unable to get it to work at all. (If you want to try it go to http://home.btconnect.com/chrisandcarolyn/torrents/ to download his CD) I wasted a lot of time on not getting that to work. Though I do not doubt it may indeed work, there is little good documentation that explains thoroughly how, or I am simply missing some obvious insight.
Anyway I was playing around with CoMike's sample command line and by accident had the KNOPPIX_V3.7-2004-12-08-EN.iso in my <qemu directory> (I had tried it I don't know how many times without the iso in my <qemu directory> without success as nobody told me this is where I must put the iso image), when the following line suddenly worked :-) !!!! at my DOS prompt:
c:\<qemu directory>\qemu.exe -L bios -hda knoppix.img -cdrom KNOPPIX_V3.7-2004-12-08-EN.iso -boot d
While ecstatically happy ... I was trying to understand the command line
Why is "-L bios" not documented in the Qemu on-line documentation ???? as elsewhere I had seen examples of "-L ." and so on that just didn't work for me. Furthermore why is the "-cdrom" argument not "-hda". Again I could not find answers to this in the online doc. Only CoMike used this example. Like a real dummy I thought this meant the iso-image-file was to be loaded from a cdrom. This is not the case as I discovered by removing the CDROM during the Qemu bootup sequences. Furthermore while the online doc does mention the "-boot d" argument, it does not indicate this is to load a CDROM iso under windows ... in fact the on-line doc says almost nothing about loading anything under Windows. To be fair the Qemu site does say that Qemu under windows is in extreme alpha testing stage ... so I shouldn't expect documentation for this but I would be nice to know this instead of spending hours reading the documentation only to find '-cdrom file" in a brief line that seems to indicate where to find a <disk-image-file> rather than a <iso-image-file> as CoMike indicated.
Anyway the upshot is that when giving advice like CoMike's suggested commands:
qemu.exe -L [biospath] -hda [disk-image-file] -cdrom [iso-image-file] -boot d
Example:
qemu.exe -L bios -hda susehd.img -cdrom suse.iso -boot d
... it would really be nice to explain the obvious for the benefit of dummies like myself who spent lots of time trying to interpret it with many failed attempts. For instance what is the <biospath> <disk-image-file> <iso-image-file>, its purpose ... location ... etc. so that unnecessary confusion and wasted time is avoided. I thank both Chris-UK and CoMike for all their help ... even though writing for dummies like myself :-) is not an easy task for anyone who assumes the obvious is indeed obvious. Perhaps I have also succumbed in someway to this error in my own post ... let me know if I have utterly confused anyone and not explained all my steps clearly.
I will add that while the whole exercise was frustrating ... when I did get it working ... the ecstasy quickly gave way to dissappointment when I learned that under windows QEMU emulates at 5-10 times slower than normal use which on my machine was virtually useless while waiting forever just to load and to execute commands. The QEMU accelorator technology http://fabrice.bellard.free.fr/qemu/qemu-accel.html which drops the speed loss to 1-2 times isn't ready for Windows yet :-(
Doublezz.
Problems with Knoppix-for-Windows
There's some problems I'm aware of
1) If you have rather a lot of devices, then the sequence at the beginning of qemu*/qemu-knoppix.bat won't find your CD and things won't work. I'm not a Windows programmer;if someone could take a look and come up with a better way, please post it here.
2) If your machine can't make 1 GB of swap space available, things won't work. It is possble to reduce the size requirement, but then you get slower speed. Again look in the qemu*/qemu-knoppix.bat .
3) I have found it to work on WindowsXP, and not work on Windows95. Others have said it does not work on Windows ME. Looks like we have a 'mixed' result on Windows 98. Don't know why, possibly how 'qemu' is built.
QEMU can boot in 2 modes ...
1) You get it to boot a 'boot diskette' or 'boot cd', and then run the files off the CD.
2) You get it to boot a 700MB 'boot CD' iso file.
Mode (1) is needed to construct a CD which can boot 'real' and 'virtual'; this is how I left the Knoppix37-for-Windows set up. It looks like you converted things to mode (2), fine, but you get a CD which only 'boots' under Windows. Or an ISO file which runs Linux under Windows without a CD, which can be useful too.
I take the point about speed. It's enough for some purposes ... like learning, running an 'xterm' and a 'ssh', NFS-mounting and using an editor. And as PCs get faster, it will get faster too.
Sorry about how long it takes to download. My broadband is going flat-out (11 CDs and a DVD ... the DVD requesters know it will take the best part of a week, but at least they get a Live Linux DVD at the end of it even if the 'Linux-under-Windows' is slow)
If you want to make a better CD, or reconnect to the 'torrent' so that others can download it faster, that's fine too. I'd say 'thanks' for either ...
You'd probably get thanks for writing better documentation for QEMU, as well :D
Chris.