OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: tamarian on February 28, 2004, 06:09:39 pm
-
Hi folks,
Is there a way to extract the contents of initrd.bin (from xrom) into hard drive? I\'d like to extract just the libs, to mix and match with qtrom+xqt
I tried bzip2 ang gzip, and none of them recognized it
-
I tried bzip2 ang gzip, and none of them recognized it
There\'s a little more to it then that...
Instructions here:
http://www.zaurususergroup.com/modules.php...lding%20a%20ROM (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Building%20a%20ROM)
And you should search \'romburst\'
Greg
-
I just tried this. Didn\'t work any other tips to extract pdaXrom initrd.bin?
-
I just tried this. Didn\'t work any other tips to extract pdaXrom initrd.bin?
It\'s not hard, the initrd.bin is a jffs2 file system. I don\'t remember the commands exactly but if you go here http://www.zaurususergroup.com/index.php?n...ght=mount+jffs2 (https://www.oesf.org/forums/index.php?showtopic=2495&highlight=mount+jffs2)
It should get you started. I used a similar method to extract the file system from the pdaXrom earlier this week.
Cheers,
Jerry
-
Nevermind. I didn\'t know it was jffs2. First I have heard of it. I Googled and got this:
modprobe mtdcore
insmod mtdram total_size=32768 erase_size=256
insmod mtdblock
insmod jffs2
mkdir /dev/mtdblock
cd /dev/mtdblock
mknod 0 b 31 0
mknod 1 b 31 1
mknod 2 b 31 2
dd if=/tmp/initrd.bin of=/dev/mtdblock/0
mkdir /mnt/x
mount -t jffs2 /dev/mtdblock/0 /mnt/x
It works.