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 Thu 15 Nov 2018, 20:09
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
[TESTING]"puppy pfix=recycle" Boot Parameter
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [51 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
Crash


Joined: 09 Dec 2005
Posts: 445
Location: Garland, TX

PostPosted: Sun 06 Sep 2009, 21:06    Post subject:  

Yes, making the new .iso is as simple as replacing initrd.gz. I used the shell script I posted earlier to make it. I saw that other post and it generally agrees with my experience. Thus at present I'm shying away from IsoMaster and just doing the .iso assembly brute force.

I don't mind uploading a .iso file of this version, since it actually works. I already have one ready to go, since I made it to burn to a CD for testing.

To tell you the truth, I have never uploaded anything to an ftp site, just downloaded. If the information needed to access it is private, you can PM the information to me. I'll send up the .iso file along with its md5 checksum.

Let's see, three and a half months to produce the first working copy. Probably equates to one line of code per day! I guess I'd better not quit my day job.
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Tue 08 Sep 2009, 04:49    Post subject:  

Crash has uploaded the full ISO to my server (cheers).

http://ecomoney.eu/puppy/recycle/

Testing required Very Happy

Aitch, thanks for the post, but only one OS is installed with this, so GRUB isnt necessary. Thanks for bringing it to my attention though.

_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
sidders

Joined: 23 Jul 2008
Posts: 470
Location: Bolton, uk

PostPosted: Tue 08 Sep 2009, 04:59    Post subject:  

I am keeping my beady eye on this post. I have a few things to look at, but i will get round to this.

Just to clarify Is it ok just to take the initrd.gz and stick it into any ISO (along with any other scripts needed)?
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4399
Location: West Lothian, Scotland, UK

PostPosted: Tue 08 Sep 2009, 06:04    Post subject:  

At 1st post on this thread:

QUOTE:
"Simply burn the CD, and invoke the installer with "puppy pfix-ram" to start the installer."
Shouldn't that read:
puppy pfix=ram ?
Back to top
View user's profile Send private message 
Crash


Joined: 09 Dec 2005
Posts: 445
Location: Garland, TX

PostPosted: Tue 08 Sep 2009, 09:10    Post subject:  

You should type "puppy pfix=recycle" when booting from a live CD.

GRUB v0.97 is indeed installed on the hard drive. However, only the binaries are copied. Kind of a GRUB install without GRUB.

The initrd.gz is specific to Puppy Linux V4.2.1. However, if you want to roll your own, it should work in a variety of releases. Just do similar steps as the README says, but modify your own init. The changes to init are minimal:

Code:
diff init_orig init_new

179a180
>    recycle)    RECYCLE="yes";;         #do an install directly from Kernel (recycle old computers)
301a303,318
> # Added Recycle code:
> if [ "$RECYCLE" = "yes" ];then
>  echo " "  >/dev/console
>  echo  "Executing an install from the Kernel." >/dev/console
>  echo  "Dropping out to initial-ramdisk console..." >/dev/console
> # echo " "  >/dev/console
>  /bin/sh  fruscr_init >/dev/console
>   echo "Finished attempting install. Type anything to continue boot." >/dev/console
>   echo  "For developers type 'quit' to drop out to console." > /dev/console
>   echo  "Type ctl-alt-del to reboot, or hold down power button to turn off." > /dev/console
>   read drop_to_console
>   echo > /dev/console
>   [ "$drop_to_console" = "quit" ] &&  exec /bin/sh >/dev/console
> fi
> # End Added Recycle code.
>


/// Edited 10 hours later:
Oops, we'll get the command right yet. 'Course it shouldn't be too hard to forget - the name of this post is "puppy pfix=recycle"

Last edited by Crash on Tue 08 Sep 2009, 21:33; edited 2 times in total
Back to top
View user's profile Send private message 
ecomoney


Joined: 25 Nov 2005
Posts: 2183
Location: Lincolnshire, England

PostPosted: Tue 08 Sep 2009, 18:02    Post subject:  

Fixed - You have sharp eyes Sylvander...if your not a coder already you should be!
_________________
Puppy Linux's Mission

Sorry, my server is down atm!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 4 of 4 [51 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.2414s ][ Queries: 12 (0.1999s) ][ GZIP on ]