The time now is Sat 25 May 2013, 14:34
All times are UTC - 4 |
|
Page 2 of 2 [22 Posts] |
Goto page: Previous 1, 2 |
| Author |
Message |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Sun 22 May 2011, 04:48 Post subject:
|
|
updated code in main post - now works as I want it... considered mroe or less finished.
Thanks for the help everyone (I know it could be improved and I appreciate the suggestions..)
EDIT: just a quick question: I've tried many of the examples on this forum to open the initrd.gz of puppy2/214X, but get cpio errors, many lines such as :
| Code: | cpio: Malformed number ÁRûB5
cpio: Malformed number ÁRûB5Ú
cpio: Malformed number RûB5Ú
cpio: Malformed number ûB5Ú¬
cpio: Malformed number B5Ú¬¬
cpio: warning: skipped 165418 bytes of junk
cpio: warning: archive header has reverse byte-order
sh: line 1: 9935 Broken pipe zcat "$FILE" |
So what do I need to open the initrd.gz of 214X or puppy 2/3, whatever? What's the difference?
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Sun 22 May 2011, 17:53 Post subject:
|
|
To answer myself, I think the answer is here: http://www.murga-linux.com/puppy/viewtopic.php?p=293254#293254
Different archive formats after puppy 2... How can we detect the archive type, before trying to extract it?
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2505 Location: Hell more grotesque than any medieval woodcut
|
Posted: Mon 23 May 2011, 10:19 Post subject:
|
|
| sc0ttman wrote: | | How can we detect the archive type, before trying to extract it? |
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Tue 24 May 2011, 07:12 Post subject:
|
|
| Dougal wrote: | | sc0ttman wrote: | | How can we detect the archive type, before trying to extract it? |
|
you da man! so glad you hover around on these forums!
a constant time saver!
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Wed 25 May 2011, 02:46 Post subject:
|
|
I will update this tool today, so that it checks the archive type and runs the correct unpacking/packing commands...
Then done!
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Thu 26 May 2011, 19:15 Post subject:
|
|
updated main post...
initrd-editor can now edit initrd.gz files from puppy 1 and later
thanks for the help peeps
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2175 Location: UK
|
Posted: Fri 27 May 2011, 12:58 Post subject:
|
|
updated (last time)
better CLI options:
- give path to initrd.gz in CLI to skip the GUI completely
- give the save directory where your new initrd.gz will end up
(ready to be integrated into woofy )
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 [22 Posts] |
Goto page: Previous 1, 2 |
|
|
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
|