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 Fri 20 Oct 2017, 07:00
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Enhanced initrd (needs fixes and improvement)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Thu 05 Oct 2017, 22:15    Post subject:  Enhanced initrd (needs fixes and improvement)  

Hello this is an enhanced version of initrd. The initrd was based from X-Slacko 4.2

Features:
* More user friendly than the original initrd.
* Resume from hibernation support. (automatic and manual)
* Improved puppy search logging.
* SFS mountpoint logging and multisession folder logging.
* More stable (if user attempts to exit the init console the computer reboots)

Known issue: if exec is performed on init-console it reboots.

NOTE: Edit the DISTRO_SPECS inside the initrd first before using it. (The default DISTRO_SPECS was set to X-Slacko Slim)

Download link: https://drive.google.com/open?id=0B2FRkttfZuG0QThTakVNMkhTdWc

Last edited by mistfire on Today, at 05:49; edited 2 times in total
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4745

PostPosted: Fri 06 Oct 2017, 02:48    Post subject:  

How about a diff from the original init script it is based on. I don't mind reading code, but have too many irons on the fire to reboot to test.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Fri 06 Oct 2017, 19:06    Post subject:  

@technosaurus I took several tests on multisession mode but I fails to load the saved session from cd. I noticed that the root cause was it failed to detect the session saved from disc. I even not touching that portion of that original code for searching puppy files. Only some lines of code are added.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Sat 07 Oct 2017, 18:30    Post subject:  

At last after days of struggling. I successfully find the culprit and fix the error in detecting multisession folder. I will try to update the download link pretty soon.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Tue 10 Oct 2017, 03:28    Post subject:  

The latest enhanced initrd is now uploaded. The link was in the first post of this thread
Back to top
View user's profile Send private message 
Moose On The Loose


Joined: 24 Feb 2011
Posts: 773

PostPosted: Tue 10 Oct 2017, 10:55    Post subject: Re: Enhanced initrd (needs fixes and improvement)  

mistfire wrote:
Hello this is an enhanced version of initrd.


I have a hacked version of the one from 528

In front of every line of text sent out, I added 4 spaces

Reason: On some screens, the timing for the graphics mode and the timing in the startup mode differ enough to cause some characters to be off the left of the screen. The worst I found was 3 characters so I stuffed in 4 characters. This way the inexperienced user need not be shown how to adjust the monitor.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Tue 10 Oct 2017, 21:41    Post subject:  

@Moose can you provide some examples for that?
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 611
Location: PH

PostPosted: Today, at 05:50    Post subject:  

Here is another revision of enhanced initrd. It has more user-friendly on handling fatal error on init.

https://drive.google.com/open?id=0B2FRkttfZuG0QThTakVNMkhTdWc
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.0342s ][ Queries: 14 (0.0037s) ][ GZIP on ]