Edit initrd.gz (SOLVED)

Booting, installing, newbie
Post Reply
Message
Author
User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

Edit initrd.gz (SOLVED)

#1 Post by nic007 »

I'm using this (the GUI one). My resulting initrd after the rebuit is only a few bytes. Can't be right. Anyone been using this and got it working?
Last edited by nic007 on Mon 28 Oct 2013, 12:36, edited 1 time in total.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

More info please.
What version of Puppy?
What edit GUI program?
Maybe link to program?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3 Post by saintless »

Same question from nic007 is also here:
http://murga-linux.com/puppy/viewtopic.php?t=72842
saintless wrote:
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

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#4 Post by nic007 »

saintless wrote:Same question from nic007 is also here:
http://murga-linux.com/puppy/viewtopic.php?t=72842
saintless wrote:
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
Ah, thanks Saintless. I didn't see the reply there.

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#5 Post by rg66 »

If you have edit-initrd.sh in /usr/sbin, from the command line use:

Code: Select all

/usr/sbin/edit-initrd.sh /path-to/initrd.gz
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#6 Post by nic007 »

Thanks guys, I copied the file to the root directory and it works.

Post Reply