How to make your puppy able to load more than 6 .sfs files
How to make your puppy able to load more than 6 .sfs files
Hi,
this post will show you how to make your puppy able to load more than 6 .sfs files. It should work in every puppy.
http://murga-linux.com/puppy/viewtopic. ... 381#606381
RSH
Edit: please read the posts below also!
this post will show you how to make your puppy able to load more than 6 .sfs files. It should work in every puppy.
http://murga-linux.com/puppy/viewtopic. ... 381#606381
RSH
Edit: please read the posts below also!
Last edited by RSH on Tue 28 Feb 2012, 06:59, edited 1 time in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Here is the link to the edit initrd.gz GUI v1.3
It is localized in German and English and has short tutorial in German and English.
http://murga-linux.com/puppy/viewtopic. ... 371#581371
Edit: sorry, but i must have to fix the .desktop file for use in other puppies. Please download again!
It is localized in German and English and has short tutorial in German and English.
http://murga-linux.com/puppy/viewtopic. ... 371#581371
Edit: sorry, but i must have to fix the .desktop file for use in other puppies. Please download again!
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
RSH: I added version 1.3 to Racy 5.2.2.7 and I got a menu entry. I ran it and opened initrd.gz in Geany . When I clicked on the init tab the file was empty. Have I misunderstood something in the instructions?
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
You have to copy the initrd.gz to /root before you can edit the file init.
Did you do this?
Edit:
I do remember now, i did have this effect once in the first version of edit initrd.gz GUI. This was because of the initrd.gz wasn't completely extracted as geany starts and loads the init file. Therefor i did insert a command for geany to wait one second. Maybe this is still too short.
Go to /usr/sbin/ceelab/edit-initrd and open the file edit_initrdgz.
Go to line 23 and change sleep 1 to sleep 2 (or maybe 3 and above) if it doesn't work after changing this.
I do not know if racy does have the init file. I did hear newer kernel use systemd instead of init. Maybe this could be a clue?
However: after extracting initrd.gz there is a directory initrd-tree in /root, which contains the extracted data of initrd.gz. By opening this directory you should be able to load the init file manually into geany. Init is the only one file that is needed to edit.
Did you do this?
Edit:
I do remember now, i did have this effect once in the first version of edit initrd.gz GUI. This was because of the initrd.gz wasn't completely extracted as geany starts and loads the init file. Therefor i did insert a command for geany to wait one second. Maybe this is still too short.
Go to /usr/sbin/ceelab/edit-initrd and open the file edit_initrdgz.
Go to line 23 and change sleep 1 to sleep 2 (or maybe 3 and above) if it doesn't work after changing this.
I do not know if racy does have the init file. I did hear newer kernel use systemd instead of init. Maybe this could be a clue?
However: after extracting initrd.gz there is a directory initrd-tree in /root, which contains the extracted data of initrd.gz. By opening this directory you should be able to load the init file manually into geany. Init is the only one file that is needed to edit.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Information to previous post...
I did explore the following:
The need to copy initrd.gz to /root is not listed inside the tutorial (but a hint is placed inside the GUI). I do apologize for this and make a new, full improved version to upload.
RSH
I did explore the following:
The need to copy initrd.gz to /root is not listed inside the tutorial (but a hint is placed inside the GUI). I do apologize for this and make a new, full improved version to upload.
RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Duplicate - removed by poster.
Last edited by Terryphi on Sat 25 Feb 2012, 06:57, edited 1 time in total.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
thanks RSH
i now have 11 sfs's loaded with no noticeable problems.
and your edit initrd.gz gui makes it so easy
i now have 11 sfs's loaded with no noticeable problems.
and your edit initrd.gz gui makes it so easy
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Testing on Racy and Wary I followed RSH's instructions for editing the init file and on reboot the additional directories were created in /initrd (/pup_ro11 to /pup_ro15.) However if I load more than 6 SFS files in the Boot Manager only 6 are still copied to /initrd . Directories /pup_ro10 to /pup_ro15 remain empty. This means that if I add a seventh SFS then an earlier one is lost.
I have found a line in which BK limits the number of SFSs to be loaded. This is around line 1532 after RSH amendments have been made.
However, increasing the number say from 10 to 16 does not solve the problem. There must be another limiting parameter somewhere else. Any suggestions?
I have found a line in which BK limits the number of SFSs to be loaded. This is around line 1532 after RSH amendments have been made.
Code: Select all
[ $CNTLOOP -eq 10] && break
#...only support adding 3 extra .sfs files, as performance degrades as each layer added.
#...v410 bugfix, change 6 to 7 so can have 3 sfs files.
#...w015 change 7 to 10 so can have 6 sfs files.
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
Uuhhh,
that's new to me.
I do not load sfs files at bootup, so i did never run into this one limitation.
As i understand you, this line (BK limits the number... ...around line 1532) is in the initrd.gz? Maybe there is a limitation inside the bootmanager.
I am right on the way to improve this, but i do not have much time today. So, if you don't get a new reply to this, let's say, within the next hour, i am on the weekend and get back on the work at next Monday.
RSH
that's new to me.
I do not load sfs files at bootup, so i did never run into this one limitation.
As i understand you, this line (BK limits the number... ...around line 1532) is in the initrd.gz? Maybe there is a limitation inside the bootmanager.
I am right on the way to improve this, but i do not have much time today. So, if you don't get a new reply to this, let's say, within the next hour, i am on the weekend and get back on the work at next Monday.
RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Yes, the line is in the init file within initrd.gz. Line 1532 is the reference in Racy 5.2.2.7 after your additions. It may be different if you are using something else. I can't find anything else in the init file which seems relevant so I was also thinking about looking in the bootmanager. I have to do some other work now though. I may find time later.RSH wrote:Uuhhh,
that's new to me.
I do not load sfs files at bootup, so i did never run into this one limitation.
As i understand you, this line (BK limits the number... ...around line 1532) is in the initrd.gz? Maybe there is a limitation inside the bootmanager.
RSH
[b]Classic Opera 12.16 browser SFS package[/b] for Precise, Slacko, Racy, Wary, Lucid, etc available[url=http://terryphillips.org.uk/operasfs.htm]here[/url] :)
Ok,
i did try this with my LazY Puppy. Select to load 9 sfs files at bootup. All sfs files are loaded, all apllications are available and running (see test apps at screenshot).
Maybe contacting 01micko slacko-developer. Slacko can load more than 6 sfs files at a time and at bootup.
So, i am unfortunately out of ideas.
I did sometimes run a wary to check something, but did never used it to work with it. So, i do not really know these puppies.
Maybe BarryK could help (aren't racy/wary his favorite puppies)
i did try this with my LazY Puppy. Select to load 9 sfs files at bootup. All sfs files are loaded, all apllications are available and running (see test apps at screenshot).
Maybe contacting 01micko slacko-developer. Slacko can load more than 6 sfs files at a time and at bootup.
So, i am unfortunately out of ideas.
I did sometimes run a wary to check something, but did never used it to work with it. So, i do not really know these puppies.
Maybe BarryK could help (aren't racy/wary his favorite puppies)
He did write this on my "GUI for editing .mo files"-post.BarryK wrote:RSH,
That is a very useful tool, I will put it into Racy and Wary I reckon (well, I have to try it first!)
- Attachments
-
- sfs-load-at-bootup-9-sfs-loaded.jpg
- (67.59 KiB) Downloaded 1275 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Posting shortly from my girlfriends computer.
Another issue after reboot using 9 sfs files at bootup:
Fbpanel does not redraw after boot into desktop.
Manual refresh and everything is fine and works.
Will improve this later.
Greetings, RSH
Another issue after reboot using 9 sfs files at bootup:
Fbpanel does not redraw after boot into desktop.
Manual refresh and everything is fine and works.
Will improve this later.
Greetings, RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Tried the same using JWM as default window manager.
JWM needs no manual refresh and all menu entries of the 9 sfs files loaded at boot up are available.
Seems only fbpanel acts different.
JWM needs no manual refresh and all menu entries of the 9 sfs files loaded at boot up are available.
Seems only fbpanel acts different.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Update:
Editing line 1430 in LazY Puppy (file init in initrd.gz) and setting 10 to 16 fixes the redraw issue of fbpanel at boot up.
Unfortunately, after this, there are only 6 sfs files loaded at boot up.
Inserting a little script in diretory /root/Startup, instead of editing line 1430, using command
fixes redraw issue of fbpanel as well and loads all 9 sfs files at boot up.
I will go on to improve this a little more...
Code: Select all
[ $CNTLOOP -eq 16 ] && break
Unfortunately, after this, there are only 6 sfs files loaded at boot up.
Inserting a little script in diretory /root/Startup, instead of editing line 1430, using command
Code: Select all
#!/bin/sh
if (grep openbox /etc/windowmanager) then
exec pfbpanel refresh start
fi
I will go on to improve this a little more...
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
excess sfs using sfs_load
Do you know? The sfs_load > 1.3 allows more than 6 sfs without any change of the initrd.gz.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
The trick is the script /etc/init.d/sfs_load loads them after boot, the excessive sfs's (more than 6) which the initrd did not load. (idea from jamesbond)
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
The trick is the script /etc/init.d/sfs_load loads them after boot, the excessive sfs's (more than 6) which the initrd did not load. (idea from jamesbond)
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Re: excess sfs using sfs_load
Hello shinobar,shinobar wrote:Do you know? The sfs_load > 1.3 allows more than 6 sfs without any change of the initrd.gz.
http://www.murga-linux.com/puppy/viewtopic.php?t=64354
The trick is the script /etc/init.d/sfs_load loads them after boot, the excessive sfs's (more than 6) which the initrd did not load. (idea from jamesbond)
i must say, i do love your sfs_load really much and i do use it every day several times.
And now, you do make me also happy by your post. Not because of the so named "trick", but because of what i did find inside the script /etc/init.d/sfs_load. I did not know the --cli parameter/command that lets load sfs files without having a gui and/or clicking any OK button.
I did try to modify your sfs_load but failed very quickly and gave up.
Now i can rewrite my scripts to load all the LazY Puppy sfs files without any clicking.
Btw. there has been another user asking for that option - i do have to inform this user of this feature
Regarding the code in /etc/init.d/sfs_load:
Code: Select all
[ "$EXTRASFSLIST" ] || exit
I can not see the solution.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Re: excess sfs using sfs_load
Is it a question of the bash syntax?RSH wrote:Regarding the code in /etc/init.d/sfs_load:I can not read these steno-type scripting. Would you please translate this example into an if then else form and give an example, how to use this to load more than six sfs files at boot up?Code: Select all
[ "$EXTRASFSLIST" ] || exit
it is equal to:
Code: Select all
if [ "$EXTRASFSLIST" = "" ]; then exit; fi
The trick is:
- The sfs_load makes additional mount point /initrd/pup_roXX for the sfs more than 6, and load it.
- The sfs_load leaves the list of the loaded sfs(can be more than 6) in EXTRASFSLIST at /etc/rc.d/BOOTCONFIG.
- At next boot, the initrd loads the sfs looking up the EXTRASFSLIST, but only 6. The excess are not loaded but the file names are still in the EXTRASFSLIST.
- The script /etc/init.d/sfs_load finds the sfs which are in the EXTRASFSLIST but not loaded.
- The sfs_load loads on-the-fly the sfs not loaded at boot.
http://www.murga-linux.com/puppy/viewto ... 174#614174
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]