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

© July 2005 (various authors)

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


Inexpensive and informative Apple related e-books:

Take Control of Parallels Desktop 12

Take Control of the Mac Command Line with Terminal, Second Edition

Take Control of OS X Server

iOS 10: A Take Control Crash Course

Take Control of iCloud





Printer Friendly Version

Have you tried Searching this site?

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


Printer Friendly Version





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)




Linux posts

Troubleshooting posts


This post tagged:

Linux



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com