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/
|