Skip to contentSkip to conversation

quick start KNOPPIX on QEMU/Windows

Qemu-devel Kuniyasu Suzaki 3 participants 5 messages Sep 3, 2004

lore
Share & tools
lore
#0 lore raw

Dear

We took VM image of KNOPPIX to boot quick on QEMU/win. It can boot KNOPPIX in a few seconds! Sometimes KNOPPIX-QEMU/win is frozen. :-)

The image is downloadable.
-------------------------------------------------------------------------------
download:
VM (111M)
http://unit.aist.go.jp/it/knoppix/qemu/knoppix0820.vm
http://unit.aist.go.jp/it/knoppix/qemu/knoppix0820.vm.md5

     fe76d064441a88e8cfde4a4f9c1f9b99  knoppix0820.vm

ZIP copmressed (54M)
http://unit.aist.go.jp/it/knoppix/qemu/qemu-knoppix0820j.zip
http://unit.aist.go.jp/it/knoppix/qemu/qemu-knoppix0820j.zip.md5

     8aaeda5de6a7f4f96c656a3287aa55e5  qemu-knoppix0820j.zip

-------------------------------------------------------------------------------
Usage:
Download knoppix_v3.4_20040517-20040820.iso and make a CD-ROM with the image.

    ftp://ftp.dnsbalance.ring.gr.jp/archives/linux/knoppix/iso/knoppix_v3.4_20040517-20040820.iso

There is a batch file to start KNOPPIX on QEMU/Windows. Please click.

    \qemu-0.6.0-windows\qemu-knoppix.bat

On qemu console, please load VM image.
(qemu) loadvm c:\qemu-knoppix0820j\knoppix0820.vm

After that, KNOPPIX will appear with "wmaker" desktop and "xaos" which is a fractal drawing application. The window size is 800x600.

-------------------------------------------------------------------------------
Request&Question:
1) Can I designate vm file from command line?
2) Is there any idea to prevent freeze?
A visual application seems to suppress. A reason to run "xaos" is to prevent freeze.

------
suzaki

#1 lore raw
Quoted 2 lines · Kuniyasu Suzaki

2) Is there any idea to prevent freeze?
A visual application seems to suppress. A reason to run "xaos" is to prevent freeze.

Well save/load state is pretty new, so I guess what you're seeing is a bug or two in that code.

Will the virtual machine image fit on the Knoppix disk? Or do you have to remove something else to make it fit?

-- John.

#2 lore raw

John,

Quoted 9 lines
Quoted 9 lines

From: "John R. Hogerhuis" <[email protected]>
Subject: Re: [Qemu-devel] quick start KNOPPIX on QEMU/Windows

Quoted 2 lines · Kuniyasu Suzaki

2) Is there any idea to prevent freeze?
A visual application seems to suppress. A reason to run "xaos" is to prevent freeze.

Well save/load state is pretty new, so I guess what you're seeing is a bug or two in that code.

It sounds nice. I also want to designate VM image from command line.

Quoted 2 lines
Quoted 2 lines

Will the virtual machine image fit on the Knoppix disk? Or do you have to remove something else to make it fit?

No change. The VM image fit on the knoppix disk. Please try.

------
suzaki

#3 lore raw

Hi,

Quoted 1 line · Kuniyasu Suzaki

It sounds nice. I also want to designate VM image from command line.

The attached patch adds the option "-V" to Qemu. You can use it like

qemu -hda my_image.img -V a_saved_vm

I still don't know what is the matter with net, however (in my tests, a reloaded vm would not be able to establish network connections).

Ciao,
Dscho

#4 lore raw
In reply to Kuniyasu Suzaki

Hi,

I played around with the cloop driver, and it sure feels a little bit faster. I did two things for that:

1) I added the line

	mountit /dev/hda /KNOPPIX "-o ro" && FOUND_KNOPPIX=yes

at the end of the "mount_knoppix" function in /linuxrc (in minirt24.gz, which is just a gzipped ext2 image).

2) I started (cloop patched) qemu like

	qemu -kernel /cdrom/boot/isolinux/linux24 \
	  -initrd minirt24_qemu.gz \
	  -append "fromhd=/dev/null" \
	  -hda /cdrom/KNOPPIX/KNOPPIX

the "fromhd=/dev/null" is important so that KNOPPIX does not complain too much.

BTW: with Knoppix I did not have the network problems as with Windows after loadvm'ing. I guess that Windows 98 is too dumb to REDISCOVER the DHCP address...

Ciao,
Dscho