mount unknown (linux) image


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users mount unknown (linux) image
# 1  
Old 03-11-2011
mount unknown (linux) image

I want to buy an ereader described known among others as MDB-106 described here: ambiancetechnology . com . Because I promissed myself never to buy anything (again) that is closed I am trying to see how open it is.


It states there there is Linux 2.6 inside. Also some software updates can be downloaded there. Sofar I have found that there are software updates in the form of zipped files. Unzipping gives two files ebook.img (around 28MB) and qte.img (around 25 MB).

A cat of these files shows some recognizable text mainly text about "GCC" compiler, "libraries" and "crosstool". So the files are obviously not encrypted.

An od of the files show a lot of 00's and FF's so the files are not compressed.

I dd' ed one file to a disk and tried to mount that disk thereafter but to no avail. I tried several mount types but never success. fdisk -l shows no recognizable filesystem type. (it says "Disk doesn't contain a valid partition table"). Unfortunately I am no disk hero so maybe I made some error here(?).

I tried PowerIso but it finds no legitimate image in those files.

I tried tar but also no luck.

I am running out of options. Does somebody have other suggestions?


I did not find many information about this reader but a "Kogan eBook reader" described here: david.boxall.id.au sums it all up. Although it seems not exactly the same reader.

I made an octal dump of the beginning of the file "qte.img". Attached.
# 2  
Old 03-11-2011
It seems the file(s) aren't disk (or other) images, but rather produced by an unusual archiver using a fixed block size (4096 bytes). It's might be possible to extract some files that carry their own size in the header (like the BMP that's contained) using dd, but for a full extract one would have to analyze the archive format & write his own extractor.
# 3  
Old 03-11-2011
Quote:
Originally Posted by rocus
A cat of these files shows some recognizable text mainly text about "GCC" compiler, "libraries" and "crosstool". So the files are obviously not encrypted.

An od of the files show a lot of 00's and FF's so the files are not compressed.

I dd' ed one file to a disk and tried to mount that disk thereafter but to no avail. I tried several mount types but never success.
I wonder if it's an initrd or initramfs. I think those are CPIO archives. Have you tried running file ./filename on it to see what it thinks it is?
Quote:
fdisk -l shows no recognizable filesystem
It never would -- fdisk partitions disks, it doesn't understand or care about the contents of partitions.

I see no files attached. I wonder if it blocked them because of your first-post status?

Try hexdump -C filename | head and post that output in code tags, not as an attachment.
# 4  
Old 03-11-2011
Did a file on it, it's reported as an VMS executable, which I find very unlikely with ARM as the target architecture. ELF headers from within the file(s) support this, as they report being compiled with Linux on ARM as the target.
# 5  
Old 03-12-2011
Thanks very much for the replies!

I forgot about cpio (that was a long time ago for me). I tried it but all it said was "malformed number".

The attached file did go wrong so here follows some output of the qte.img file:

It is output of od -ah

Code:
0000000 etx nul nul nul soh nul nul nul del del nul nul nul nul nul nul
           0003    0000    0001    0000    ffff    0000    0000    0000
0000020 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
           0000    0000    0000    0000    0000    0000    0000    0000
*
0000400 nul nul nul nul nul nul nul nul nul del del del   m   A nul nul
           0000    0000    0000    0000    ff00    ffff    41ed    0000
0000420  ht stx nul nul  nl stx nul nul   Y  ff dc3   M   !   u   l   L
           0209    0000    020a    0000    0c59    4d13    75a1    4cec
0000440   !   u   l   L del del del del del del del del del del del del
           75a1    4cec    ffff    ffff    ffff    ffff    ffff    ffff
0000460 del del del del del del del del del del del del del del del del
           ffff    ffff    ffff    ffff    ffff    ffff    ffff    ffff
*
0000700 del del del del del del del del del del del del nul nul nul nul
           ffff    ffff    ffff    ffff    ffff    ffff    0000    0000
0000720 del del del del del del del del del del del del del del del del
           ffff    ffff    ffff    ffff    ffff    ffff    ffff    ffff
*
0010000 nul dle nul nul soh nul nul nul nul nul nul nul del del nul nul
           1000    0000    0001    0000    0000    0000    ffff    0000
0010020   0   g   q   ? enq nul nul nul enq nul nul nul   P   g   q   ?
           6730    bff1    0005    0000    0005    0000    6750    bff1
0010040  fs   W   q   ? etx nul nul nul   (   g   q   ? sub dc1 eot  bs
           571c    bff1    0003    0000    6728    bff1    919a    0804
0010060 del del nul nul enq  us eot  bs del nul nul nul nul nul nul nul
           ffff    0000    9f85    0804    00ff    0000    0000    0000
0010100 nul nul nul nul nul nul nul nul soh nul nul nul etx nul nul nul
           0000    0000    0000    0000    0001    0000    0003    0000
0010120 soh nul nul nul del del nul nul nul nul nul nul nul nul nul nul
           0001    0000    ffff    0000    0000    0000    0000    0000
0010140 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
           0000    0000    0000    0000    0000    0000    0000    0000
*
0010200 soh nul nul nul soh nul nul nul del del   o   p   e   n   _   s
           0001    0000    0001    0000    ffff    706f    6e65    735f
0010220   t   a   r   t   .   b   m   p nul nul nul nul nul nul nul nul
           6174    7472    622e    706d    0000    0000    0000    0000
0010240 nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul nul
           0000    0000    0000    0000    0000    0000    0000    0000



Sorry but the layout is a bit messed up.

I did a "file" on this file too and VMS/Alpha as file type seems a bit strange for this device as it is ARM.

As for the cpio: should I use special options to extract files from this supposedly cpio archive?

Thanks for any hints you can give.

And if it leads nowhere I will not buy the ereader: strange all these companies that sell products with doubtfull applications (I read that on a dutch ereader forum) and at the same time preventing anybody to do something about these problems. I am old enough to know that support for such a product will stop at the time it works more or less or when they made a new product that supposedly is much better.

Moderator's Comments:
Mod Comment Please use [CODE] tags for commands, listings, console output, ...

Last edited by pludi; 03-12-2011 at 10:37 AM..
# 6  
Old 03-12-2011
One thing you can do, since we already verified it's based on GPL software: demand a copy of the sources used and any changes made to them. Those parts based on GPL software are automatically licensed as GPL too, and thus have to be provided as machine-readable source code (means: files, not printout).
# 7  
Old 03-12-2011
Yes, that's what I'd do. they'd have to give you the real stuff, not an unreadable archive.

I don't suppose you could try hexdump -C like I asked?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Mount reiserfs .dsk image failed: can't read superblock

I have a failed 160 GB Western Digital Netcenter NAS disk and its image after failing in .DSK format. When I connect the disk to my ubuntu machine and typed: # losetup -o 512006144 /dev/loop1 /dev/sdc # mkdir /tmp/sdc # mount -r -t reiserfs /dev/loop1 /tmp/sdc I get my folders and... (0 Replies)
Discussion started by: jalil1408
0 Replies

2. SCO

Dd (raw) image of SCO 5.0.6 mount as second hdd

Hi all I have read about mounting crashed HDD from a sco system in this forum. However this I received an image on raw format of the crashed system that was using an IDE HDD. Which method should I mount my image? IDE scsi or USB? The image is stores in an external connected through USB . Also... (4 Replies)
Discussion started by: OrangeKenny
4 Replies

3. BSD

Mount ISO Image on FreeBSD problem!

I'm try to mount an iso on FreeBSD 8.2, but i recive an error; I use the following commands: # mdconfig -a -t vnode -f /path/to/myimage.iso -u 1 # mount -t cd9660 /dev/md1 /media and receive the next message: mount_cd9660: /dev/md1: Invalid argument I also use mdconfig -d -u * (*- is the... (5 Replies)
Discussion started by: AnbuBlack
5 Replies

4. AIX

How to mount an ISO image in AIX 5.2

Hi, Could anyone let me know how to mount an ISO image in AIX 5.2 ? --SaiP (2 Replies)
Discussion started by: saip
2 Replies

5. OS X (Apple)

Can't Mount Disk / Image after bad unmount

I have had a little issue with one of my disks, the usb cacble was pulled out and one of the external drives on it would no longer mount. I used First Aid and it verified and repaired both OK / nothing to do). After lots of messing around and not being able to mount I used Drive Genius 2 and that... (1 Reply)
Discussion started by: Cranie
1 Replies

6. SuSE

<92> unknown character when opened with Vi editor in Linux

Hi, One of our applications has this string : xxx ¿ yyyyy We are on Linux Suse and the character set is en_US.UTF-8. Our requirement is to replace this special character ¿ with a space. When we open the file containing this string using VI editor we see the same character as <92> xxx... (10 Replies)
Discussion started by: LinuxTest
10 Replies

7. Solaris

Virtual mount .image file?

Hi All, Is it possible to mount a DVD image file? I know it's possible to get some software to mount CD and DVD files on a PC I just wondered if this is possible on Solaris... Many thanks, p. (4 Replies)
Discussion started by: pondlife
4 Replies

8. Red Hat

Unbale ot mount chroot /sys/image

Hi frds i need ur help on this..! I am using redhat 9.0 recently someone has messed with mine filesystem and anyhow managed to hide mine linux partition both hd0,0 and hd0,1 ..!This is sick..i got mine Xp partition also hidden by this. I tried booting with linux rescue disk..but fail to mount to... (2 Replies)
Discussion started by: nicknihal
2 Replies

9. UNIX for Advanced & Expert Users

mount iso image

I would like to mount an iso CD image on my Suse linux (SLES 9), the image has been copied to my suse linux machine. am able to mount the iso image manually by mount -oloop /iso/SLES-9-i386-CD1.iso /free but I would like to put the above entry in /etc/fstab so that when the machine is rebooted,... (2 Replies)
Discussion started by: hassan1
2 Replies
Login or Register to Ask a Question