Results 1 to 3 of 3

Thread: Knoppix -- virtual and real in the same CD/DVD

  1. #1
    Member registered user
    Join Date
    Aug 2004
    Posts
    35

    Knoppix -- virtual and real in the same CD/DVD

    It's possible to remaster a Knoppix CD, so that if you boot it it will run in the tradiitional way; but if you put it in a running Windows system, it wil autoplay a 'qemu' PC emulator from the CD, and boot under the emulator.
    This results in a (rather slow but fully functional) Linux in a Windows window.

    The first (as far as I can tell) version of this is at http://unit.aist.go.jp/it/knoppix/qemu/index-en.html. This version does not 'autoplay', but it is trivial to add the right command to the '.bat' file which normally causes the 'index.html' to be displayed.

    Knoppix is rather slow running this way, but just about tolerable; largely (it seems) becuase KDE is a heavyweight window manager. If you do the same to a Morphix (http://www.morphix.org/debian/autorun/) you can have a tolerable game of 'Castle Combat'.
    Networking is fine but the virtual Knoppix does not have sight of the real machine's disks.

    People haven't figured out how to get vmlinuz and initrd out of the 'cloop' image, so only relatively old (pre-3.6) Knoppixes have been got to work so far. 'qemu' has support for taking vmlinuz/initrd directly for the purpose od booting an emulated Linux; if this can be cracked for Knoppix then we can improve the virtual boot time considerably. At the cost of some space on the CD/DVD for an extra copy of the vmlinuz/initrd, of course.

    Also I haven't seen a virtual Linux with a 2.6 kernel; I think this is related to some 'strict timing checks' done by 2.6 which fail in emulation. I'd like to be able to run 2.6 'viritual', becuase I'd like that method of debugging kernel level code. Also because I'd like to think of leaving 2.4 behind in favour of 2.6 for all purposes.

    Then there's this thing http://www.metropipe.net/ProductsPVPM.shtml, which shows a production use for a 'virtual' Linux. This also shows how to use a file on the PC (disk or USB stick) as a hard disk for the virtual Knoppix.

    I've got a self-virtualising Knoppix 3.5 DVD now, too. The hardest part was stopping if from defaulting to Japanese language !

    A few things to fix, a few reasons to fix them, and a few pointers as to how. Let the forum know if it's useful, or if you make progress cracking the remaining items.

  2. #2
    Senior Member registered user
    Join Date
    Aug 2003
    Location
    Dublin, Ireland
    Posts
    164

    Re: Knoppix -- virtual and real in the same CD/DVD

    Quote Originally Posted by chris-uk
    People haven't figured out how to get vmlinuz and initrd out of the 'cloop' image, so only relatively old (pre-3.6) Knoppixes have been got to work so far. 'qemu' has support for taking vmlinuz/initrd directly for the purpose od booting an emulated Linux; if this can be cracked for Knoppix then we can improve the virtual boot time considerably. At the cost of some space on the CD/DVD for an extra copy of the vmlinuz/initrd, of course.
    Forgive me if I'm missing something, but isn't (on a knoppix cd, not the cloop) boot/isolinux/linux24 (vmlinuz) and boot/isolinux/minirt24.gz (initrd) what you are looking for?

  3. #3
    Member registered user
    Join Date
    Aug 2004
    Posts
    35
    Some discussion starting here http://lists.gnu.org/archive/html/qe.../msg00323.htmland replies to it. Not sure whether things ended up resolved successfully; one time I read it, it felt as if Knoppix thought it was booting from a system after installation to disk, and didn't set up the entries in '/dev' in the way that would be useful.
    If someone can give a list of the file structure and the 'qemu' command line ... ideally post a 'tar' of the files which if added to the CD will autoplay a working 'qemu' boot, with all the 'qemu'-related files in directory /qemu-0.6.0 or something like that, that would be useful.
    Presumably going along this path I won't be able to choose between 2.4 and 2.6 kernels (unless I rebuild the CD)

Similar Threads

  1. Real Player, a real Headache...
    By chris-harry in forum General Support
    Replies: 3
    Last Post: 06-02-2005, 03:36 PM
  2. Knoppix just a toy w/o real support
    By mgilley in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 12-31-2004, 10:20 AM
  3. Knoppix 3.7 is out ... for real!
    By EmDee in forum The Lounge
    Replies: 0
    Last Post: 12-09-2004, 06:20 PM
  4. Knoppix in a Virtual PC virtual machine hosted under Win XP
    By kenblood in forum MS Windows & New to Linux
    Replies: 7
    Last Post: 09-07-2004, 09:24 AM
  5. Real Audio for Knoppix?
    By JockVSJock in forum General Support
    Replies: 5
    Last Post: 01-19-2004, 04:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



TP-Link TL-SX105 10GB 5-Port Switch - Unopened picture

TP-Link TL-SX105 10GB 5-Port Switch - Unopened

$195.00



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$39.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$14.86



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP picture

Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP

$127.00