View Single Post
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#41
Originally Posted by AlMehdi View Post
If i want to extract the rootfs on my Ubuntu machine. How do i do? I understand it is DD. But whatever i try don't work.

I thought it would be something like this.. but it wasn't
Code:
dd if=/path/to/file.img of=/to/folder/
You can't just use dd straight from the image, otherwise you end up with just a smaller chunk of the image. You'll need to mount the image as a filesystem. Assuming you've got all the necessary kernel modules built, you should be able to do:
Code:
mount -t ubifs -o loop /path/to/file/img /to/folder
 

The Following 3 Users Say Thank You to Rob1n For This Useful Post: