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 Mon 22 Dec 2014, 06:49
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
GUI to edit initrd.gz
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Wed 26 Oct 2011, 07:53    Post_subject:  GUI to edit initrd.gz
Sub_title: Not compiling but development related
 

Forum member RSH published a nice little GUI to unpack/edit/repack the initrd.gz in the german forum section.
This is sometimes necessary, if you want to have some special settings, or you want to change messages during boot.

This is a pet which has a menu entry in "Utilities"
Edit-Initrdgz-1.0-en.pet

Might spare some forum search for the right commands ...
Back to top
View user's profile Send_private_message Visit_website 
saintless


Joined: 11 Jun 2011
Posts: 2729
Location: Bulgaria

PostPosted: Wed 26 Oct 2011, 08:16    Post_subject: Re: GUI to edit initrd.gz
Sub_title: Not compiling but development related
 

emil wrote:
Forum member RSH published a nice little GUI to unpack/edit/repack the initrd.gz in the german forum section.
This is sometimes necessary, if you want to have some special settings, or you want to change messages during boot.

This is a pet which has a menu entry in "Utilities"
Edit-Initrdgz-1.0-en.pet

Might spare some forum search for the right commands ...


Thanks, I needed to change the initrd file a few months ago and I used the information here:
http://www.murga-linux.com/puppy/viewtopic.php?t=24899
With a pet package it will be more easy for everyone.
Back to top
View user's profile Send_private_message MSNM 
L18L

Joined: 19 Jun 2010
Posts: 2620
Location: www.eussenheim.de/

PostPosted: Wed 26 Oct 2011, 09:09    Post_subject: Re: GUI to edit initrd.gz
Sub_title: Not compiling but development related
 

emil wrote:
Forum member RSH published a nice little GUI to unpack/edit/repack the initrd.gz in the german forum section.
This is sometimes necessary, if you want to have some special settings, or you want to change messages during boot.
...


I have used it now to change messages during boot in slacko52

Thank you, emil and RSH Smile
L
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Thu 10 Nov 2011, 01:18    Post_subject:  

Edit initrd.gz is now Version 1.1!

UPDATED at 10.11.2011

http://murga-linux.com/puppy/viewtopic.php?p=575208#575208

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
Peakeen


Joined: 28 Jan 2012
Posts: 14

PostPosted: Sat 04 Feb 2012, 08:13    Post_subject:  

"Who needs a utility? How difficult can it be to extract a file from an archive and then reinsert it?" Or so I thought before discovering cpio and having all my prejudices about unix confirmed and reinforced.

An archive utility could be called "archive" but this is unix so let's call it "cpio" for copy-in-and-out. Then let's provide switches -i and -o for in and out. Too obvious? OK we'll use i for out and o for in. And how about t for list?

Then, instead of simply having the archive name as a parameter, let's insist on using the greater-than and less-than signs as little arrows pointing to and from (or is it from and to?) the archive filename.

And the files to be inserted could be the other parameter but, no, let's make the user pipe it in from a listing utility. And, since most users are familiar with 'ls' , let's construct it so that it expects input from 'find'. That's more obscure and has some really weird parameters...

I could go on but, at this stage, I lost the will to live and looked for someone else's solution. Then, when I think I've almost cracked it, I discover the instructions are in German. Gott in Himmel, give me strength! At least it's not Finnish!

Ernst, RSH, vielen dank!
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 04 Feb 2012, 09:00    Post_subject:  

Why cpio?

RPMs have used cpio for ages, Red Hat isn't about to change that.

There are plenty of other links, go look Smile

I wonder if windows in some way is tied to legacy stuff? Laughing

Good on you RSH..

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 22 Feb 2012, 10:45    Post_subject: GUI to edit initrd.gz
Sub_title: Version 1.3 available
 

Quote:
I discover the instructions are in German. Gott in Himmel, give me strength! At least it's not Finnish!
Laughing Laughing Laughing Laughing

Uploaded version 1.3. German and English localisations. German and Engish short tutorial. Cool

http://murga-linux.com/puppy/viewtopic.php?p=581371#581371

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
nic007

Joined: 13 Nov 2011
Posts: 788

PostPosted: Mon 28 Oct 2013, 07:36    Post_subject:  

This utility is not working for me. It opens 4 files/scripts to edit. Then I do this, save it but the rebuilt initrd.gz is only a few bytes big. Surely this can't be right?
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2729
Location: Bulgaria

PostPosted: Mon 28 Oct 2013, 08:02    Post_subject:  

nic007 wrote:
This utility is not working for me. It opens 4 files/scripts to edit. Then I do this, save it but the rebuilt initrd.gz is only a few bytes big. Surely this can't be right?

Quick test with ver.1.4 and it works fine.
Open and read the help file.
initrd.gz file has to be in /root, otherwise you will get only few bytes big initrd.gz
If you still have troubles here is how you can edit initrd from command line:
http://www.murga-linux.com/puppy/viewtopic.php?t=24899

Cheers

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
charlie6


Joined: 30 Jun 2008
Posts: 1034
Location: South of Belgium

PostPosted: Sat 16 Nov 2013, 04:17    Post_subject:  

Hi,
thanks for this tool !
here is version 1.4 with french locale
Edit-Initrdgz-1.4.pet
Description  version 1.4 + french locale
pet

 Download 
Filename  Edit-Initrdgz-1.4.pet 
Filesize  6.99 KB 
Downloaded  195 Time(s) 
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 9065

PostPosted: Sat 16 Nov 2013, 06:38    Post_subject:  

Quote:
why cpio .... Why is cpio better than tar? A number of reasons.

sorry had to be annoying...ANYTHING is better than TAR!!! A primitive archive system based on tape drives without an index cos on tapes you could not have one.

Cpio is ok for initrds but needs some messing around to copy system files to the main system.
It also precludes reverting to the initrd for a clean shutdown....its more suited to embedded systems eg routers. You also cannot peek into the /initrd for convenience as half the original contents are missing...the obsession to save a KB or 2 goes too far...I am with Peakeen on this one.

ext2/gz initrds ftw.... got an unpack/pack script for those if anyone wants.

Don't even know why I posted here ... guess I had an itch to scratch Very Happy

mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0766s ][ Queries: 13 (0.0066s) ][ GZIP on ]