Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 00:22
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to update QEMU-puppy 2.17 to 4.0?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 4 [54 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Author Message
francus

Joined: 06 Apr 2008
Posts: 6

PostPosted: Tue 29 Jul 2008, 13:54    Post subject:  

Ok Bruce, let me know if you are able to get it!
all the best
Back to top
View user's profile Send private message 
Micke


Joined: 01 Aug 2008
Posts: 2
Location: Sweden

PostPosted: Fri 01 Aug 2008, 10:45    Post subject:  

Hello everyone! As this is my first post here I'd first like to take the opportunity to say hello Smile

I've also tried to update qemu-puppy as I think that it's a great thing to use.

It seems to me that the only thing needed to do is replace:

*pup_217.sfs
*zdrv_217.sfs
*devx_217.sfs
*vmlinuz
*initrd.gz

with the corresponding files from puppy 4, as this as far as I can tell is the normal way of updating a frugal install of puppy. Then all that would need to be done is update puppy.sh and replace puppy.exe (perhaps with a puppy.bat, as a bat-file would be simpler to update). For some reason this doesn't seem to work though, and I can't figure out why...

The error message from qemu reads:
Quote:
Searching for Puppy files in computer disk drives...pup_400.sfs not found. Dropping out to initial-ramdisk console...
/bin/sh: can't access tty; job control turned over,


/Micke
Back to top
View user's profile Send private message 
Lorion

Joined: 11 Aug 2008
Posts: 3

PostPosted: Mon 11 Aug 2008, 08:22    Post subject:  

This thread is exactly what I want to do with my puppy!

Quote:
It would run as an application inside computers that were already booted.
It would boot from usb on machines that were capable of doing this.


Exactly thats what I am trying to do the whole day!

So get a paypal account and write me/us an easy to use qemu puppet 4.1...

I would be so happy!
Back to top
View user's profile Send private message 
brendoncdodd

Joined: 12 Aug 2008
Posts: 4

PostPosted: Tue 12 Aug 2008, 20:04    Post subject:  

Quote:
I am assuming from your post that by "install QEMU for your operating system" you mean to somehow install the emulator into the host computer and then run puppy with the emulator? Although that does sound like a good way of doing it on my own computers it wouldn't be acceptable on other people's computers.


Theoretically, you could "install" Qemu onto your flash drive, copy the Puppy 4.0 ISO onto it, and use a shell script or .bat file depending on the OS to make things easier on you. I think Qemu might run portably (I made that word up just now), as a matter of fact, I might have done so, I don't remember. Someone mentioned flash drive wear earlier, and that might pose a problem, though I have never had this problem myself, probably b/c I have never been able to keep a flash drive for more than a few months w/o losing it. Laughing
Back to top
View user's profile Send private message 
francus

Joined: 06 Apr 2008
Posts: 6

PostPosted: Mon 18 Aug 2008, 05:08    Post subject: Erik where are you?  

Well, it seems that after Erik made quemu-puppy, nobody is able to update it. Shocked

Erikkkkkkkkk where are youuuuuuu???? Laughing
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11129
Location: The Peoples Republic of California

PostPosted: Tue 19 Aug 2008, 01:53    Post subject:  

I'm bothered about putting a Puppy image on a flash stick.

A Qemu image can be transfered from computer to computer,
platform to platform. The guest operating system would not know or
care what it is running on in a physical sense.

If someone wants to test a Qemu Puppy in Windows XP and is
willing to work with me some to refine run instructions, please let me
know.

I guess Dingo 4.00 would be the version. How big do you want the
image? No less than 500MB, 1GB 2GB. Anyone of these sizes will
compress down to about a 100MB download.

Maybe the most practical would be a 500MB + an empty 500MB for
using as /dev/hdb if wanted.

If Pizzasgood reads this post, maybe he has a way to run a self
bootable, self contained frugal image on a flash stick. The problem
is Puppy thinks its running on a hard disk.

The virtual hard disk would be hda, the partition would hda1 and it
will have grub to add additional commands.

The question is: how can you fool Puppy running on a hard disk to
behave as if it were on a flash stick, meaning: managing and limiting
writes the way it does when it knows its on a flash stick?

? ? ?
Back to top
View user's profile Send private message 
T_Hobbit


Joined: 27 May 2006
Posts: 400
Location: Portugal - Lisbon

PostPosted: Fri 10 Oct 2008, 14:23    Post subject:  

I'm interested in update Qemu-Puppy and travel with it installed in my USB pendrive: that way if I can boot the computer I run Puppy frugal install, if I cannot boot the computer I run Puppy with Qemu,

Attention: pupwinqe and qemu-puppy are diferent projects with diferent goals that run in diferent ways:
- pupwinqe emulates an ISO file,
- qemu-puppy emulates a frugal install of Puppy 2.17!
Back to top
View user's profile Send private message 
robermann79

Joined: 17 Sep 2008
Posts: 22

PostPosted: Mon 14 Dec 2009, 18:48    Post subject:  

Does anyone had success porting qemupuppy to puppy 4.xx ?
Back to top
View user's profile Send private message 
robermann79

Joined: 17 Sep 2008
Posts: 22

PostPosted: Tue 15 Dec 2009, 05:36    Post subject:  

Micke wrote:
Hello everyone! As this is my first post here I'd first like to take the opportunity to say hello Smile

I've also tried to update qemu-puppy as I think that it's a great thing to use.

It seems to me that the only thing needed to do is replace:

*pup_217.sfs
*zdrv_217.sfs
*devx_217.sfs
*vmlinuz
*initrd.gz

with the corresponding files from puppy 4, as this as far as I can tell is the normal way of updating a frugal install of puppy. Then all that would need to be done is update puppy.sh and replace puppy.exe (perhaps with a puppy.bat, as a bat-file would be simpler to update). For some reason this doesn't seem to work though, and I can't figure out why...

The error message from qemu reads:
Quote:
Searching for Puppy files in computer disk drives...pup_400.sfs not found. Dropping out to initial-ramdisk console...
/bin/sh: can't access tty; job control turned over,


/Micke


I also tried your option, but it does not load the .sfs files.

IMHO the secret is in Erik's patch http://www.erikveen.dds.nl/qemupuppy/download/qemu-puppy-2.17-1.initrd.diff.html: the patch loads manually the partitions - for example:
Code:

mount -t ext3      -o noatime,rw      /dev/hda   /pup_ro1


So, in order to work in 4.xx, it would require a change in the /sbin/init inside the initrd.gz file. What do you think?
Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1290
Location: UK

PostPosted: Tue 15 Dec 2009, 09:21    Post subject:  

robermann79

I concur with your opinion. To follow Erik's way you would need to modify the init file.

I think the PupWINQE approach may be easier - but this is even more out of date!

I ran a Google search of 'puppy QEMU' and came up with two interesting targets.

http://untrammelled.co.uk/node/11

This seems to be following a PupWINQE approach with a series 4 Puppy

http://www.linuxquestions.org/questions/linux-general-1
/gleaming-the-cube-or-the-real-qemu-puppy-or-the-portable-cross-platform-os-736043/

(sorry no hyperlink here cos I did not want to make the forum screen go too wide!)

I think this as putting Puppy and QEMU on a stick like Erik. It uses BrowserPup and I am not sure what series that is based on.

If you have some time and get some success with one of these methods I am sure we would all like to know!
Back to top
View user's profile Send private message 
mderemick

Joined: 15 Dec 2009
Posts: 2

PostPosted: Tue 15 Dec 2009, 11:34    Post subject: I got QEMU-Win working with 4.3.1 - Newbie  

I am a linux newbie (well not really, but the last time I played with linux was 10 years ago or more) so please excuse me if I am doing something incorrect.

Before I get started, I just want to say how much I love puppy linux. Everything was really easy to setup and use, and the idea of bringing my desktop and applications with me wherever I go was really enticing.

With that said, I really wanted to be able to use QEMU with puppy as well. After searching for a day or two reading about setting up QEMU (v 0.10.6 Windows) I was able to get it working the way I wanted.

Here's what I did:

1) Use UNetBootIn to create the USB key - I used this because it was really simple and I had already downloaded the pup-431.iso to write to the key.
2) Boot puppy and set the save file - for some reason, I could not boot puppy on QEMU before setting up the pupsave - this could be because I was trying on an x64 system however - I am not really sure.
3) Download QEMU 0.10.6 for windows, extract to the USB key in the directory ?:\QEMU\
4) I then did some basic windows batch scripting (also havnt done that in 10 years so excuse me if it's not the best way to do it) as well as an Autorun file and a puppy Icon to place in the root of the drive.

Now, when I insert the drive into the computer with windows running I can launch QEMU from the Autorun popup *(actually it launches my batch file to launch QEMU).

I am sure this may help a few less-than-technical people, and perhaps some experts alike.

Notes:
I am still working out how to use x64 - havnt had the chance to try it again - and I'm also still learning how to use QEMU better.
I did not try the accellerator yet, im waiting to try it on a laptop I'm about to wipe and reinstall because I've heard it can mess with your system.

Any comments and feedback are most welcome!
QEMU_Launcher.rar
Description  The Autorun, Icon and Batch file I use
rar

 Download 
Filename  QEMU_Launcher.rar 
Filesize  6.31 KB 
Downloaded  310 Time(s) 
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8342

PostPosted: Tue 15 Dec 2009, 11:39    Post subject:  

I use Erik's standalone allinoneqemu all the time and just launch it like normal qemu...I found his puppy implementaion a little complicated compared to just running the standard qemu way.

mike
Back to top
View user's profile Send private message 
robermann79

Joined: 17 Sep 2008
Posts: 22

PostPosted: Tue 15 Dec 2009, 13:10    Post subject:  

Thanks for your answer.

ICPUG wrote:

http://www.linuxquestions.org/questions/linux-general-1
/gleaming-the-cube-or-the-real-qemu-puppy-or-the-portable-cross-platform-os-736043/


This seems a dead project - download links do not work anymore. What a shame! Smile
Back to top
View user's profile Send private message 
robermann79

Joined: 17 Sep 2008
Posts: 22

PostPosted: Tue 15 Dec 2009, 13:16    Post subject: Re: I got QEMU-Win working with 4.3.1 - Newbie  

mderemick wrote:
Any comments and feedback are most welcome!


Well my feedback is positive! It could be optimized, but it just works. I've just tried it with a mine previous Unetbootin Puppy key.

If I'm not wrong, you downloaded QEMU Windows binaries from http://homepage3.nifty.com/takeda-toshiya/. And, when your script asks for "Which Drive would you like to try to boot from?", the answer is a number (this puzzled me for a while until I googled it).

I'll keep doing some test, thank you.
Back to top
View user's profile Send private message 
mderemick

Joined: 15 Dec 2009
Posts: 2

PostPosted: Tue 15 Dec 2009, 13:25    Post subject: Re: I got QEMU-Win working with 4.3.1 - Newbie  

robermann79 wrote:

If I'm not wrong, you downloaded QEMU Windows binaries from http://homepage3.nifty.com/takeda-toshiya/.


You are correct, Sir. I did not want to include them in my archive because I think there is another version out already. I am using 0.10.6 as stated above.
robermann79 wrote:

And, when your script asks for "Which Drive would you like to try to boot from?", the answer is a number (this puzzled me for a while until I googled it).


Yes, because QEMU wants to boot from "//./PortableDriveX" where X is the number of the drive, counting from 0 I believe.

Sometimes it takes a couple of tries to run, before I'm able to correctly select which USB device I want to boot from.
robermann79 wrote:

I'll keep doing some test, thank you.

Thank you for the feedback.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 4 [54 Posts]   Goto page: Previous 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0982s ][ Queries: 12 (0.0059s) ][ GZIP on ]