windows查看linux ext4内容
2020-5-19
需要工具:
simg2img.exe:img提取工具
osfmount.exe:ext4文件系统挂载到windows
osfmount.exe下载地址:https://www.osforensics.com/tools/mount-disk-images.html
步骤:
1.simg2img.exe -i rootfs_256M.ext4 -o rootfs_256M.raw
2. osfmount.exe 挂载 rootfs_256M.raw
ext4 解包和打包
2020-5-14
环境:
Ubuntu
解包工具:
sudo apt-get install android-tools-fsutils
转换文件:
simg2img rootfs_256M.ext4 rootfs_256M
挂载
mkdir /tmp/rootfs
mount -o loop rootfs_256M /tmp/rootfs
修改
重新打包
make_ext4fs -l XXXXM -s rootfs_256M.ext4 /tmp/rootfs