QEMU-Puppy 2.14-1

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

QEMU-Puppy 2.14-1

#1 Post by Erik Veenstra »

I've uploaded QEMU-Puppy 2.14-1.

QEMU-Puppy is an OS and a set of applications on a USB memory stick. This OS can be booted natively, or on top of an other, already installed, OS. Just borrow a PC, boot your own environment and return the PC unaffected.

"No installation, no garbage..."

QEMU-Puppy now comes with KQEMU!

More information and download:

http://www.erikveen.dds.nl/qemupuppy/index.html

(Please use the torrent and keep seeding it for a while. Thanks.)

gegroet,
Erik V. - http://www.erikveen.dds.nl/

zikarus
Posts: 12
Joined: Wed 06 Dec 2006, 09:08

#2 Post by zikarus »

Thanks for sharing Erik!!!

:D

BR
zikarus

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#3 Post by sccat »

Thanks Erik.

I love QEMU-Puppy very much.

Can you answer me some questions about it?

1.
I know that you use "EEE" to make "allinoneqemu.exe".
But what's the difference between qemu-0.9.0-windows and AllInOneQemu?
Can I use qemu-0.9.0-windows instead?

2.
I find that you have made some changes in "pup_save.3fs" then Puppy becomes easier to get on line and transfer files with the host.
How can I find exactly what changes you have made?

3.
What's "ftpserver_qemu.exe"?It must be another "EEE-make" file.
You have explained that it's an (experimental) FTP server , which listens on port 2121 and replies with 10.0.2.2:2121 instead of 127.0.0.1:2121.
Can I use another common FTP server software instead?

Thanks.

sccat

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#4 Post by Erik Veenstra »

> 1. I know that you use "EEE" to make "allinoneqemu.exe". But
> what's the difference between qemu-0.9.0-windows and
> AllInOneQemu? Can I use qemu-0.9.0-windows instead?

There's no difference. In fact, I used the content of
qemu-0.9.0-windows.zip to build allinoneqemu.exe. Well, there's
one difference: You don't have to install allinoneqemu.exe,
whereas qemu-0.9.0-windows.zip needs to be installed.

> 2. I find that you have made some changes in "pup_save.3fs"
> then Puppy becomes easier to get on line and transfer files
> with the host. How can I find exactly what changes you have
> made?

* Keyboard. (us)

* Display. (Vesa, 800x600x16)

* Background. (Although Puppy-Linux 2.14 is the first one I saw
with a decent background... Must be a matter of taste... ;])

* Network settings. (DHCP on eth0)

* /etc/hosts (10.0.2.2 for qemuserver and 10.0.2.4 for
smbserver)

> 3. What's "ftpserver_qemu.exe"?It must be another "EEE-make"
> file. You have explained that it's an (experimental) FTP
> server , which listens on port 2121 and replies with
> 10.0.2.2:2121 instead of 127.0.0.1:2121. Can I use another
> common FTP server software instead?

As far as I know: no. That's why I've built one myself... ;]

gegroet,
Erik V. - http://www.erikveen.dds.nl/

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#5 Post by sccat »

Thanks,Erik.Qemu-puppy is great.

I am confused that I can start Puppy using "START qemu.exe -L . -m 192 -cdrom puppy-213-seamonkey-fulldrivers.iso -soundhw all -localtime -M pc " with QEMU 0.9 and the ISO file ,while I can not start QEMU-Puppy using "qemu.exe -kernel vmlinuz -initrd initrd.gz -append root=/dev/ram0 -hda pup_save.3fs -hdb devx_214.sfs -hdc pup_214.sfs -hdd zdrv_214.sfs -m 256 -localtime" with QEMU 0.9 and the files in QEMU-Puppy.

But if I using "allinoneqemu.exe -kernel vmlinuz -initrd initrd.gz -append root=/dev/ram0 -hda pup_save.3fs -hdb devx_214.sfs -hdc pup_214.sfs -hdd zdrv_214.sfs -m 256 -localtime" as you told,it starts.

Whether the setting * Keyboard. (us) and * Display. (Vesa, 800x600x16) is OK if I went to France and using Qemu-Puppy on a "french Windows XP PC".

Can you hear sound from Qemu-Puppy?How?

Thanks.

sccat

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#6 Post by Erik Veenstra »

> I am confused that I can start Puppy using "..." with QEMU
> 0.9 and the ISO file ,while I can not start QEMU-Puppy using
> "..." with QEMU 0.9 and the files in QEMU-Puppy.

I can! Just guessing: QEMU is not installed properly... ;]

> But if I using "allinoneqemu.exe ..." as you told,it starts.

Obviously, allinoneqemu.exe is "installed" properly... ;]

Well, that's exactly the reason I once built EEE...

(Idea: You might have to play with the -L option op QEMU. See
[1].)

> Whether the setting * Keyboard. (us) and * Display. (Vesa,
> 800x600x16) is OK if I went to France and using Qemu-Puppy on
> a "french Windows XP PC".

QEMU always emulates a US keyboard and a Cirrus CLGD 5446 PCI
VGA card, regardless off the native hardware. So, yes, it
should work in France. (You still have to use the "Eagle
method" to find the right keys... ;] I can't change that.)

> Can you hear sound from Qemu-Puppy?How?

No, since I never added the right parameters. Sound parameters
are incompatible between different QEMU versions. If your
natively installed QEMU version is incompatible with the one
expected by puppy.sh, it simply won't work.

However, you could add one of the "-soundhw" parameters
manually, in order to get the sound working.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

[1] http://fabrice.bellard.free.fr/qemu/qemu-doc.html

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#7 Post by sccat »

Thanks to your replies.

EEE is great,too.

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#8 Post by sccat »

Hi,Erik

When I try to start QEMU-Puppy on a USB Drive,I encounter this error:

ERROR - Cannot find Puppy a 'idehd' boot media
PUPMODE=1 PDEV1=
.
.
.
.
(the Linux-guru can now debug, 'e3" editor is available)
/bin/sh: can't access tty; job control turned off

My PC recognized this USB as USBHDD0:Generic USB Disk Device.
I can use this USB to boot DOS and the USB Disk was C: after boot.

I found the following in "syslinux.cfg".
#default vmlinuz root=/dev/ram0 initrd=initrd.gz PMEDIA=usbflash
default vmlinuz root=/dev/ram0 initrd=initrd.gz
append QPM=true

I have change the usbflash to idehd and usbhd,but nothing happened.

Can you give me some advices?

Thanks.
sccat

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#9 Post by sccat »

Hi Erik,

Sorry,I did not see the "#" at the front.

Then I changed the "syslinux.cfg" as follows:
default vmlinuz root=/dev/ram0 initrd=initrd.gz PMEDIA=usbhd
append QPM=true

Puppy started.

But why does not puppy start without a PMEDIA parameter?Can it be more compatable?

Thanks.

sccat

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#10 Post by Erik Veenstra »

> But why does not puppy start without a PMEDIA parameter?Can
> it be more compatable?

I had the opposite problem: I couldn't boot with PMEDIA set,
but I could boot without one... ;]

gegroet,
Erik V. - http://www.erikveen.dds.nl/

User avatar
netjess
Posts: 29
Joined: Fri 17 Feb 2006, 14:24
Location: Oklahoma, USA
Contact:

QEMU-Puppy

#11 Post by netjess »

I didn't scroll down enough and posted first in a diiferent thread about an earlier version.
http://www.murga-linux.com/puppy/viewto ... 664&t=9942

I was wondering....
Why is this over 200MB? Before I looked here I downloaded the latest QEMU and Full Puppy ISO and have it on a 128 thumb it is only taking up 100MB.
Now I will confess that I havn't gotten the networking ironed out w/o having to use Win-Tab (openVPN) to bridge the nic. that is only another 1MB, but you have to jack with the host system. I am just getting started though. I have not used QEMU before this.

Is it the games you put on or is it items that you are using to get it to work more universal with less config changes?

Do you have a setup with less fluff and just basic apps, Office items, Browser, mail and maybe gzine.

FYI,
This is how I am launching it:
REM Start qemu on windows.
@ECHO OFF

REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
SET SDL_VIDEODRIVER=windib

REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
SET SDL_AUDIODRIVER=dsound

REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
SET QEMU_AUDIO_DRV=dsound

REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
SET QEMU_AUDIO_LOG_TO_MONITOR=0

REM PCI-based PC(default): -M pc
REM ISA-based PC : -M isapc
REM -M isapc is added for NE2000 ISA card.

qemu.exe -L . -m 512 -cdrom puppy.iso -soundhw all -localtime -M pc

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#12 Post by Erik Veenstra »

> Why is this over 200MB?

Because it already includes pup_save.3fs.

> Before I looked here I downloaded the latest QEMU and Full
> Puppy ISO and have it on a 128 thumb it is only taking up
> 100MB.

Including pup_save.3fs?

> Is it the games you put on or is it items that you are using
> to get it to work more universal with less config changes?
>
> Do you have a setup with less fluff and just basic apps,
> Office items, Browser, mail and maybe gzine.

Please, please, read the documentation [1]...

gegroet,
Erik V. - http://www.erikveen.dds.nl/

[1] http://www.erikveen.dds.nl/qemupuppy/index.html

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#13 Post by sccat »

I want to make a smaller pup_save.3fs around 32MB.
Just put some necessary softwares and fonts in it.
I can put other files in the USB disk.And it's easier to share these files with Windows.

Is this method feasible?And how to make .3fs files of specific size?

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#14 Post by Erik Veenstra »

> I want to make a smaller pup_save.3fs around 32MB. Just put
> some necessary softwares and fonts in it. I can put other
> files in the USB disk. And it's easier to share these files
> with Windows.
>
> Is this method feasible? And how to make .3fs files of
> specific size?

Please, please, read the documentation [1]...

gegroet,
Erik V. - http://www.erikveen.dds.nl/

[1] http://www.erikveen.dds.nl/qemupuppy/index.html#6.2.0

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#15 Post by sccat »

I found the following in the documentation [1]:

To create a bigger pup_save.3fs, do this on your native Linux system:

$ dd if=/dev/zero of=pup_save.3fs bs=1k count=800
$ mkfs.ext3 pup_save.3fs

But How big is this "bs=1k count=800 pup_save.3fs " file?
800k? or 800M?

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#16 Post by ICPUG »

When QEMU-Puppy is running under a Windows XP host is it possible to use the CD-ROM drive on the host PC? If so, how? I tried the CD/DVD wizard but that just showed me the CD and DVD devices were connected to nothing. I did not know how to alter that.

Similarly, if one wanted to, could one hook into the host PC hard drive partitions, to read them at least? If so, how?

ICPUG

User avatar
Erik Veenstra
Posts: 107
Joined: Wed 27 Jul 2005, 21:06
Location: NL
Contact:

#17 Post by Erik Veenstra »

> When QEMU-Puppy is running under a Windows XP host is it
> possible to use the CD-ROM drive on the host PC? If so, how?
> I tried the CD/DVD wizard but that just showed me the CD and
> DVD devices were connected to nothing. I did not know how to
> alter that.
>
> Similarly, if one wanted to, could one hook into the host PC
> hard drive partitions, to read them at least? If so, how?

Yes, you can. I don't know how, but you can probably find the
information in the QEMU documentation [1].

One additional note: Puppy, running within QEMU, can't access
your native hardware. All hardware Puppy sees, is emulated by
QEMU.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

[1] http://fabrice.bellard.free.fr/qemu/qemu-doc.html

thegeekster
Posts: 10
Joined: Thu 26 Oct 2006, 23:37

#18 Post by thegeekster »

ICPUG wrote:...Similarly, if one wanted to, could one hook into the host PC hard drive partitions, to read them at least? If so, how?

ICPUG
QEMU cannot load separate partitions, per se..............Instead, you have to load the whole physical drive without the partition number, eg.,

Code: Select all

qemu -hda /dev/hda
However, the QEMU documentation recommends not doing so, unless you mount it as read-only by using the "-snapshot" option, to avoid hosing the guest OS......Snapshot mounts the drive as read-only (sort of), and writes to a temporary file:
3.6.2 Snapshot mode
If you use the option `-snapshot', all disk images are considered as read only. When sectors in written, they are written in a temporary file created in `/tmp'. You can however force the write back to the raw disk images by using the commit monitor command (or C-a s in the serial console).
HTH :)
---thegeekster

Edit: changed "separate hard drives" to "separate partitions".... :)
Last edited by thegeekster on Thu 03 May 2007, 05:51, edited 1 time in total.

thegeekster
Posts: 10
Joined: Thu 26 Oct 2006, 23:37

Problem with USB install

#19 Post by thegeekster »

Hi Erik,

I just tried out your QEMU setup, but can't get it to finish booting.......It stops right after loading the kernel modules and looking for a Puppy installation......

The first time I did it, the message was it couldn't find pup_save.2fs, and not the .3fs extension..........No problem, I'll just change the extension to the one it's looking for.....

During the next boot, it stopped at the same place, complaining about not finding a "USBHDD" drive......... :roll:

The problem with that is I have an Award BIOS that doesn't identify USB pen drives as HDD, it identifies them as FDD........I have an Asus NF7-S2 mobo (not exactly the same as a NF7-S v2), which can boot an USB drive.......I know it works, cause I can boot RIPLinuX from a pen drive without any problem (instruction found here).....

I'm probably overlooking something, but I want to get this set up and running 'cause I was thinking of creating something along the same lines when I found your setup.....RIPLinux has QEMU installed, but it locks up the whole PC when I try to load my XP from the hard drive, so I wanted to see what would happen by trying out your setup...... :)

Any pointers greatly appreciated.........I'm very well acquainted with the command line and config files, so I should have no problems following any technical advice.......

Thanx :)
---Cole

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#20 Post by ICPUG »

the geekster

Thanks for your reply concerning accessing host hard drives from QEMU. I have had a good long look at the documentation now and must start experimenting. I only want to read the drives really - to get stuff from Windows. I can write files to the USB stick.

ICPUG

Post Reply