From: "Peter T. Breuer" <firstname.lastname@example.org> Subject: Re: Mounting a hard disk image ... Date: Sun, 31 Jul 2005 10:38:31 +0200 Message-ID: <email@example.com> References: <I7YGe.1360$4F5.firstname.lastname@example.org> Mike <email@example.com> wrote: > There is a nice trick where if you use dd to copy a hard disk partition > to a file you can use the "-o loop" option to mount the file as though > it was a hard disk partition. > > This works great for files that contain images of partitions, but what > do you do if you imaged an entire disk? Then you'll have to mount them loopback with offsets or split the image up. You can attach the whole file to a loop device (no offset) and use fdisk on it to read the partition table and get the necessary offsets out of it. Peter
Specifically, see Mounting disk images on Linux loopback device, which details the necessary procedures.
Got something to add? Send me email.
As soon as an Analytical Engine exists, it will necessarily guide the future course of the science. Whenever any result is sought by its aid, the question will then arise — by what course of calculation can these results be arrived at by the machine in the shortest time? (Charles Babbage)