On Wed, 2007-07-11 at 21:26 -0500, Rajko M. wrote:
> On Wednesday 11 July 2007 19:52, James Tremblay wrote:
> > Hey everyone,
> > I need to extract an initrd, some secret CPIO command, and modify the
> > scripts it runs. The initrd I want is the one used in the "mini" bootcd
> > for 10.2 , can anyone help?
> 
> Hi James,
> 
> initrd is gzip archive that has one file that is cpio archive. 
> 
> You need empty directory as in initrd is compressed few directories. 
> mkdir test
> cd test
> cp /boot/initrd-* ./initrd.cpio.gz
> gunzip initrd.cpio.gz
> cpio -iI initrd.cpio
> rm initrd.cpio
> 
> which will extract file with all subdirectories and remove initrd.cpio 
> leaving 
> you with content of initrd in current directory. 
> 
> Manual for cpio is best readable in Konqueror. 
> Type in Location: "info:cpio" and you can read it. 
> You will need it to package initrd after editing. 
> 
Rajko,

I'm in there and the 'init" script has been compiled rather than be just
a script, is there some magic there you can share or am I looking for\at
the wrong file?
-- 
James Tremblay
Director of Technology
Newmarket School District
Newmarket,NH
http://en.opensuse.org/Education
"let's make a difference"

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to