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 Sat 22 Feb 2020, 07:00
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
QEMU-Puppy and QP-puppy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
goingnuts

Joined: 07 Dec 2008
Posts: 924

PostPosted: Thu 19 Dec 2019, 12:08    Post subject:  QEMU-Puppy and QP-puppy
Subject description: QEMU_puppy with updated Puppy versions
 

QEMU-Puppy is described in details here.
"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."

A portable OS that can boot natively from a USB key, emulated in Windows or Linux. Even though its been around for more than 10 years it still works out of the box!

Several times the upgrade of the Puppy version has been discussed at the Puppy Linux Forum. Member CatDude made an upgrade to Puppy-400, link - which might be the same found at sourceforge link?

I have tried to do a more generic approach (I name it QP-xxx to differentiate from the original(s)) - starting with the official Puppy Linux iso and rebuild QP-Puppy with version 216, 217, 300, 301, 301retro, 400, 412, 412retro, 421, 431, lupu-501, wary-5.3, wary-5.5 racy-5.4.93 and Slacko-6.3.0. The approach works but gets more and more complicated the newer the version is so stopped with Slacko-6.3.0.

Read more and downloads
Back to top
View user's profile Send private message Visit poster's website 
goingnuts

Joined: 07 Dec 2008
Posts: 924

PostPosted: Thu 19 Dec 2019, 13:54    Post subject:  

Howto: To have Puppy running as QEMU-Puppy/QP-puppy one has to modify initrd.gz which involves unpacking the initrd.gz, doing the patching and repacking. The rest is somewhat trivial as all other files are original Puppy-files or original QEMU-Puppy-files. I ship QP-Puppy with an empty savefile and an empty devx-file. zdrv-file is also empty unless the original Puppy iso contained one.

I have worked with a simple general patch to init in initrd adding only one line:
Code:
#!/bin/ash
[ $QPE ] && exec /init_qemu
#LGPL Copyright 2006,2007 Barry Kauler, www.puppylinux.com

The second patch to initrd is to add the init_qemu next to init.
When boot parameter QPE=true init shifts to init_qemu which is used to start up the QP-puppy configuration. Same init_qemu is used in all the downloads. It is not totally general as it depends on knowing version of Puppy and in some cases version of kernel. Could probably be made more universal to some point for all historical Puppy versions.

The empty devx can be substituted with the original devx or with an sfs containing whatever you need of additional programs. If zdrv is supplied empty it can be used the same way (additional programs).
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.0317s ][ Queries: 11 (0.0076s) ][ GZIP on ]