Re: [OCLUG-Tech] how to mount a filesystem *inside* an SD card image?

2011-12-11 Thread Brett Delmage
On Sun, 11 Dec 2011, Robert P. J. Day wrote: >> mount with the offset option: >> >> mount -t ext3 -o loop,offset=your_start_offset sd_card.img /mnt/mountpoint > > ah, i'm embarrassed to admit i never knew the loop mount accepted an > offset. problem solved. Hey - I learned something new that I

Re: [OCLUG-Tech] how to mount a filesystem *inside* an SD card image?

2011-12-11 Thread Steve La Rocque
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

Re: [OCLUG-Tech] how to mount a filesystem *inside* an SD card image?

2011-12-11 Thread Robert P. J. Day
On Sun, 11 Dec 2011, Jeremy Carter wrote: > >  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

Re: [OCLUG-Tech] how to mount a filesystem *inside* an SD card image?

2011-12-11 Thread Jeremy Carter
>  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. > >  ca

[OCLUG-Tech] how to mount a filesystem *inside* an SD card image?

2011-12-11 Thread Robert P. J. Day
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, an