> r...@etchrouter:~# gzip -dc < /boot/initrd.img-2.6.25-2-amd64 | cpio -i
[...]
> r...@etchrouter:~# find . -print -depth | cpio -o -H newc
> >/var/lib/tftpboot/initrd.img
[...]
> + Problem, the new file is that it does not work :-)
> Please someone advise me how to do it correctly?
I don't know which format is used in initrd (you seem to know it's
`newc', so I'll believe you on that one), but the above commands seem to
indicate you forgot to gzip the new initrd image.
Stefan
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]