1.以 root 身份登陆
2.
mkdir root_fs
mount -t cramfs -o loop root.cramfs root_fs
3.mkdir new_fs
cd new_fs
4.
tar cf - ../root_fs | tar xBf -
在 new_fs目录下做了一份拷贝
5.
在new_fs下有个新的root_fs文件夹其内容是可以修改的
修改好后可以重新只做cramfs
mkfs.cramfs root_fs new_root.cramfs -v