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 16 Sep 2014, 07:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Edit initrd.gz with right-click-action
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 12 Sep 2012, 22:29    Post subject:  Edit initrd.gz with right-click-action  

Hi.

This is based on my Edit-Initrdgz-1.4.pet created at October 2011. I have made this one now a right-click-application.

To edit the initrd.gz just do a right-click on the file and choose Initrd.gz edit.

What does this do?

- makes a backup of the selected initrd.gz named initrd-bak.gz
- copies initrd.gz to /root
- makes directory /root/Init_rd_tmp
- extracts the initrd.gz to /root/Init_rd_tmp
- needed files to edit are automatically opened either in geany or nicoedit (leafpad)
- removes /root/initrd.gz

After editing the initrd.gz do a right-click on /root/Init_rd_tmp and choose Initrd.gz re-build.

Directories are automatically opened.

That's all

Have fun with it.

RSH

Note1: The Program does its job only if the file is initrd.gz or if the directory is /root/Init_rd_tmp. Otherwise it does nothing.

Note2: The DevX is not longer needed to Edit and Rebuild the initrd.gz file - it works now the same way as in the remasterpup2 script! - 2013-01-15
Edit-Initrdgz-rtc-0.3.pet
Description  The DevX is not longer needed to Edit and Rebuild the initrd.gz file
pet

 Download 
Filename  Edit-Initrdgz-rtc-0.3.pet 
Filesize  5.04 KB 
Downloaded  412 Time(s) 

_________________
LazY Puppy
RSH's DNA
SARA B.

Last edited by RSH on Tue 15 Jan 2013, 16:14; edited 1 time in total
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 15 Jan 2013, 15:07    Post subject:  

Version 0.3 uploaded!

The DevX is not longer needed to Edit and Rebuild the initrd.gz file
- 2013-01-15 Cool

New Version is at first post.

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2538
Location: New Zealand

PostPosted: Thu 11 Jul 2013, 15:51    Post subject:  

Hi RSH - is this only for Lazy pup?
Back to top
View user's profile Send private message 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Thu 11 Jul 2013, 16:20    Post subject:  

Hi greengeek.

Usually the programs that I've published on the forum are made and built in into LazY Puppy - but they are published for any other puppy (some of these applications might not work on FatDog, because it's really different). Applications especially for LazY Puppy are posted in the LazY Puppy thread or at smokey01.com, in the Updates directory for LazY Puppy.

This should work for as well as it (still!) does for me.

RSH

EDIT:

In newer puppies you need to copy a symbolic link, which is in /root/.config/rox.sourceforge.net/OpenWith/.application_x-gzip.
This is needed because newer puppies do have its own directory for the initrd.gz file, which is: /root/.config/rox.sourceforge.net/OpenWith/.application_initramfs-gz.

This is to open or to rebuild(?) the initrd.gz by right-click-action.

_________________
LazY Puppy Home
The new LazY Puppy Information Centre


Last edited by R-S-H on Thu 11 Jul 2013, 17:28; edited 1 time in total
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 2436
Location: France

PostPosted: Thu 11 Jul 2013, 16:52    Post subject:  

R-S-H wrote:
In newer puppies you need to copy a symbolic link, which is in /root/.config/rox.sourceforge.net/OpenWith/.application_x-gzip.
This is needed because newer puppies do have its own directory for the initrd.gz file, which is: /root/.config/rox.sourceforge.net/OpenWith/.application_initramfs-gz.

This is to rebuild the initrd.gz by right-click-action.

I did not know, thank you for the info.

I must soon take the time to test your script (it seems very practical).
Back to top
View user's profile Send private message Visit poster's website 
R-S-H

Joined: 18 Feb 2013
Posts: 490

PostPosted: Thu 11 Jul 2013, 17:22    Post subject:  

ASRI éducation wrote:
R-S-H wrote:
In newer puppies you need to copy a symbolic link, which is in /root/.config/rox.sourceforge.net/OpenWith/.application_x-gzip.
This is needed because newer puppies do have its own directory for the initrd.gz file, which is: /root/.config/rox.sourceforge.net/OpenWith/.application_initramfs-gz.

This is to rebuild the initrd.gz by right-click-action.

I did not know, thank you for the info.

I must soon take the time to test your script (it seems very practical).

Yes! It is practical. Believe me, I know this! Laughing

The information about the new directory /root/.config/rox.sourceforge.net/OpenWith/.application_initramfs-gz I found while working on a LazY Puppy based on Precise 5.6 (which is available in the German forum - German version only; it could be turned to English user interface but there will stay some German Menu or GUI parts).

In older Puppies it should work out of the box.

RSH

_________________
LazY Puppy Home
The new LazY Puppy Information Centre

Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2538
Location: New Zealand

PostPosted: Sat 13 Jul 2013, 02:38    Post subject:  

Hi RSH, I have installed the pet, but do not see any option in the rightclick menu. I am running precise 5.1.4.1

I can see the symlink /root/.config/rox.sourceforge.net/OpenWith/.application_x-gzip that you have mentioned. Perhaps I misunderstood your post - do I need to copy this symlink somewhere else?

EDIT : OK i got it - I had to use the "customize" entry and drag the "edit_initrd_gz" from /usr/local/apps into /root/.config/rox.sourceforge.net/OpenWith.

EDIT2 : It seems that Precise 5.1.4.1 needs your pet, but Precise 5.6.1 has it's own inbuilt initrd.gz editor which appears when you rightclick.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0764s ][ Queries: 13 (0.0177s) ][ GZIP on ]