make a squashfs image editable

The forum for our foreign guests... Please post in English
Renwich
Interessierter
Interessierter
Beiträge: 62
Registriert: Freitag 26. Mai 2006, 00:34

make a squashfs image editable

Beitrag von Renwich »

I'm try to make a squashfs image editable without the need for linux, this means keeping the work on the dbox, Ive been running the following process, as you can see there is a shortage of space. this process used to work on older images, any ideas..??

/var # more /proc/mtd
dev: size erasesize name
mtd0: 00020000 00004000 "BR bootloader"
mtd1: 00020000 00020000 "FLFS (U-Boot)"
mtd2: 00660000 00020000 "root (squashfs)"
mtd3: 00160000 00020000 "var (jffs2)"
mtd4: 007e0000 00020000 "Flash without bootloader"
mtd5: 00800000 00020000 "Complete Flash"
/var # mount -t squashfs -o ro /dev/mtdblock/2 /tmp/root
/var # cd /tmp
/tmp # tar -cf root.tar root
/tmp # umount /tmp/root
/tmp # rm -r /tmp/root
/tmp # tar -xf root.tar
tar: Write Error: No space left on device
tar: Invalid tar magic
birkenhead
Neugieriger
Neugieriger
Beiträge: 7
Registriert: Donnerstag 10. Februar 2005, 14:52

Beitrag von birkenhead »

have a close look at cryo very last IMG (18b) he did do it & it worked... althought it was slow!