I extracted my router firmware using binwalk and it give a cpio archive that contain rootfs like this
cpio -it < 639000.cpio
/dev
/dev/pts
/mnt
/svn.info
/proc
/home
/sbin
...
When I recreate the folder using this command
find * | cpio -H newc -o > /home/kali/Desktop/Share/t.cpio
but it shows to me
dev
dev/pts
mnt
svn.info
proc
home
sbin
...
It doesn't show me the "/" and when I insert this on my router the router wont start and I need to dump it again.
How can I create the file with the "/" behind my main directory?
file 639000.cpio
639000.cpio: ASCII cpio archive (SVR4 with no CRC)
I tried like all find commend the only commend working good is find /.
But it will find all my base root file of my Linux.