[MLB-WIRELESS] Minitar image

Sebastian Najnert sebby at internode.on.net
Sat Oct 25 14:39:12 EST 2003


Here's a quick'n dirty script to cut and unpack the Minitar AP upgrade.

#!/bin/bash
#-- START

wget http://www.minitar.com/downloads/MIN2APB_2.20.zip
unzip -jo MIN2APB_2.20.zip

dd if=general-ap_upg_2.20.bin bs=1 skip=12 count=$((0x18000)) | \
  zcat ->webpages-ap.bin

dd if=general-ap_upg_2.20.bin bs=1 skip=$((12+0x18000)) | \
  zcat ->vmlinux_img

dd if=vmlinux_img bs=1 count=$((0x166000)) >kcoff
dd if=vmlinux_img bs=1 skip=$((0x166000)) |zcat ->tmpimg.img
rm -f vmlinux_img
#-- END

You will get 3 files: webpages-ap.bin (the web pages), kcoff (the kernel

binary, probably in ECOFF format) and tmpimg.img (the initrd). 

Mount the ramdisk loop and have fun:
mount -t ext2 -o loop tmpimg.img /mnt/floppy -o ro,nodev,nosuid,noexec


Regards,
Sebastian Najnert
sebby at internode.on.net


-----Original Message-----
From: owner-melbwireless at wireless.org.au
[mailto:owner-melbwireless at wireless.org.au] On Behalf Of Sam Silvester
Sent: Saturday, 25 October 2003 1:49 PM
To: melbwireless at wireless.org.au
Subject: [MLB-WIRELESS] Minitar image

I remember seeing somebody saying how to mount the minitar image so that
you can see the files and stuff.

Can anybody point me in the direction of how to do this?

Cheers,

Sam

---
Sam Silvester
Software Development   
 
e-consortium
Office Phone: (08) 8237 0900
Facsimile: (08) 8237 0910
 
Internet: http://www.e-consortium.com.au/
Email: sam at e-consortium.com.au
 
Level 1, 33 King William Street
Adelaide 5000



To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message




To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message



More information about the Melbwireless mailing list