View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#487
Originally Posted by Benson View Post
Hmm... Funny; it looks like mount -o loop used to work (OS2007, PB used it for XFCE at least), but doesn't now. I even tried chrooting to an extracted initfs. Still no good. I'm not sure if mount -o loop uses losetup, or if something else is wrong (perhaps pertaining to mtd emulation; I had thought that was an alternative, not a corequisite). Oh, well, I'll look at it more when I get irritated enough . (Maybe it works from Debian... but I probably still need to compile the mtd stuff.)
Loopback was the first thing I tried, but I got the same results you did - no dice. It probably needs losetup, which (as qwerty12 observed) is not on the device.

I also tried Fanoush's initfs_flasher stuff, but ran into the same problems qwerty12 mentioned - it operates directly on the device's initfs partition, probably to get around the loopback problem. So that would require flashing the image onto the initfs partition, which (of course) is the whole problem in the first place.

I considered dd'ing the jffs2 file to one of the other partitions (like a memory card), and we'd be able to rip files out (either manually or with a modified initfs_flasher), but then we'd still need mkjffs2 in order to re-jffs2 the contents into a size small enough to fit onto the N8x0's initfs partition.

In the end, it's probably easier to just do it all on the desktop.
 

The Following User Says Thank You to gnuite For This Useful Post: