APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

mount whole drive image with loopback


From: "Peter T. Breuer" <ptb@oboe.it.uc3m.es>
Subject: Re: Mounting a hard disk image ...
Date: Sun, 31 Jul 2005 10:38:31 +0200
Message-ID: <79fur2-70r.ln1@news.it.uc3m.es> 
References: <I7YGe.1360$4F5.647@fe06.lga> 

Mike <mbbrutman@yahoo.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.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> -> mount whole drive image with loopback



Increase ad revenue 50-250% with Ezoic

Kerio Samepage


Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us





People who are more than casually interested in computers should have at least some idea of what the underlying hardware is like. Otherwise the programs they write will be pretty weird. (Donald Knuth)





This post tagged: