ts-7000
[Top] [All Lists]

Re: [ts-7000] Reading filesystem data from SD image

To:
Subject: Re: [ts-7000] Reading filesystem data from SD image
From: Jason Stahls <>
Date: Tue, 02 Jun 2009 17:25:19 -0400
Rod Nussbaumer wrote:
> So this moves me to ask something which I've wondered about for a while. I 
> have the image for a TS7350 which was shipped on the flash card by TS. I 
> copied the image to a local disk file as a backup. I would like to be able to 
> extract the various partitions out of the image, possibly modify them, and 
> re-create a modified image. Since this image contains a bootloader (I think, 
> or does it?), plus at least a partition table, as well as the actual 
> filesystem partitions and data, how can I get at the individual pieces as I 
> would like to do. I assumed that the first 'n' 512-byte blocks would be 
> bootloader and partition table, after which I could try to mount at least the 
> first partition on a loop device. I tried iteratively chopping off the first 
> 512 byte blocks and mounting what was left over, but this always failed (I 
> forget the exact error message, but I seem to recall that it implied that the 
> filesystem was invalid/corrupt/unrecognized).
>
> Is there a way to do what I want, without having some kind of map of the 
> image file?

If you image just a partition and the computer you have the image on has 
support for that partitions filesystem you can mount it with

mount /path/to/image.img /mountpoint -o loop

This will also work on CD/DVD ISO's

-- 
Jason Stahls



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU