On Sat, Dec 24, 2005 at 10:47:34AM -0500, G.Wolfe Woodbury wrote:
> On Sat, Dec 24, 2005 at 06:40:47AM -0800, Joseph Mack NA3T wrote:
> > I have a dd image of a disk with 4 partitions (partition 1 
> > vfat; 2 swap; 3 ext3; 4 ext3). Normally you can mount 
> > partition images with -o loop, but you have to specify the 
> > fstype (-t vfat or in the case of a cdrom -t iso9660). Since 
> > you have to specify the fstype, I assume that you can only 
> > mount a dd image if it's all one fstype. I don't know how to 
> > mount a whole disk containing several partitions. Is there a 
> > way of mounting the image so it looks like a disk, so I can 
> > look at the partition table and delete/add partitions, do 
> > mke2fs etc?
> > 
> > Thanks Joe
> 
> Use the "-o <offset>" option of losetup to position to the start of the
> partitions of interest.

http://edseek.com/~jasonb/articles/linux_loopback.html gives more details on 
how to find what offset to use. 

-- 
David W. Aquilina
[EMAIL PROTECTED]
-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to