Author Topic: Extracting initrd.bin content to hard disk  (Read 2666 times)

tamarian

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://www.lowcarb.ca
Extracting initrd.bin content to hard disk
« 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

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Extracting initrd.bin content to hard disk
« Reply #1 on: February 28, 2004, 07:47:19 pm »
Quote
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

And you should search \'romburst\'

Greg

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Extracting initrd.bin content to hard disk
« Reply #2 on: March 27, 2004, 04:27:12 pm »
I just tried this.  Didn\'t work any other tips to extract pdaXrom initrd.bin?

jerrybme

  • Hero Member
  • *****
  • Posts: 639
    • View Profile
    • http://
Extracting initrd.bin content to hard disk
« Reply #3 on: March 27, 2004, 05:12:45 pm »
Quote
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
It should get you started. I used a similar method to extract the file system from the pdaXrom earlier this week.

Cheers,
Jerry
SL-C3100
Angstrom-GPE
Lexar SD 1 GB
PQI 2GB CF
Ambicom WL1100 CF

datajerk

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • http://
Extracting initrd.bin content to hard disk
« Reply #4 on: March 27, 2004, 05:25:18 pm »
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.