I use kpartx for this kind of thing pretty successfully.

On 12/11/2011 02:08 PM, Robert P. J. Day wrote:
>   i may regret asking this if i suddenly realize how to do it after i
> hit ENTER but i still don't see a simple way to do this.
>
>   for booting beagleboards and pandaboards, one normally uses an SD
> card that is formatted as a tiny hard drive -- there's a partition
> table, an initial DOS partition, and the rest of the card is typically
> an ext2 or ext3 partition containing the root filesystem.
>
>   if i have a byte-for-byte image file for the SD card, is it possible
> to mount one of those internal filesystems?  i'm well aware of the "-o
> loop" option for mounting image files, but now i want to mount a
> filesystem that's *inside* such an image file, so i can make changes
> to it.
>
>   can i do this?  am i missing something stupidly obvious?
>
> rday
>
_______________________________________________
Linux mailing list
[email protected]
http://oclug.on.ca/mailman/listinfo/linux

Reply via email to