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
  •  


Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1774.24



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$316.61



Corsair MP600 PRO NH 1TB M.2 NVMe PCIe Gen4 SSD CSSD-F1000GBMP600PNH New Sealed picture

Corsair MP600 PRO NH 1TB M.2 NVMe PCIe Gen4 SSD CSSD-F1000GBMP600PNH New Sealed

$249.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i7 Up To 32GB RAM 1TB SSD Windows 11 Pro

$349.48



Acer Aspire 14

Acer Aspire 14" AI Copilot+PC Laptop Core Ultra 5 226V Gen 4 ARC 16GB 1TB Refurb

$461.10



HP ZBook Fury G8 15.6'' Intel Xeon W-11955M 2.6GHz 64GB RAM 1TB SSD RTX A2000 picture

HP ZBook Fury G8 15.6'' Intel Xeon W-11955M 2.6GHz 64GB RAM 1TB SSD RTX A2000

$599.99



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



External SSD 1TB 2TB  Portable Hard Drive USB 3.1 Type-C High Speed PC Mac picture

External SSD 1TB 2TB Portable Hard Drive USB 3.1 Type-C High Speed PC Mac

$15.99