mount -o loop initrd.img /mnt
把initrd.img挂载到/mnt这,挂载的目录可以自己指定
挂载后就可以在/mnt中看到initrd.img内容
cp -a /mnt/* /your floder
把/mnt中的内容拷贝到其他地方
umount /mnt
卸载挂载,卸载后就能编译刚拷贝的内容
mount -o loop initrd.img /mnt
把initrd.img挂载到/mnt这,挂载的目录可以自己指定
挂载后就可以在/mnt中看到initrd.img内容
cp -a /mnt/* /your floder
把/mnt中的内容拷贝到其他地方
umount /mnt
卸载挂载,卸载后就能编译刚拷贝的内容