Imaging with Linux

Posted on 2006-03-23
Last Modified: 2013-11-15
How do I image with a Linux based solution? Is there one that will image / read windows machines?
Question by:DrDamnit
    LVL 2

    Expert Comment

    .jpg, .bmp, .gif, etcetera are format used to save image files. A .jpg image you opened in Windows may be opened in Linux without any trouble using any of the imaging programs linux have.
    LVL 17

    Expert Comment

    If you want to read files in Windows machines in the network. You can setup samba server on your machine. Or if your machine is a doual boot hard drive with windows, you can use "captian nemo" ( kind of a software.

    BR Dushan
    LVL 3

    Expert Comment


    What do you mean by "image Windows" ?

    1 - If you are speaking about view/edit images like .jpeg, .gif, ..., in Linux, use the GIMP (GNU Image Manipulation Program), can be downloaded from:

    2 - If you want to access files from a Windows machine in the some machine, you can mount the partition where it is.

    More or less like:

    mkdir /hd
    mount -t type /dev/hdXY /hd

    Where X is the flat that the HD is connected and the Y is the partition number. Examples /dev/hda1, /dev/hda2, /dev/hda3, /dev/hda4, /dev/hdb1, /dev/hdb2, ...

    Type you should try fat32, fat and ntfs.

    3 - If you want to access a image shared in a Windows machine, use the Samba client package. Like smbclient command.

    4 - If you want to "image a Windows/HD" installation, like Symantec Ghost make, use the dd command.

    Example, suppose you want to create a image of Windows that is in /dev/hda1 and you want to save this image in your linux in the /root directory with the name of, so you make:

    dd if=/dev/hda1 of=/root/

    Hope this help,

    LVL 4

    Expert Comment

    A good solution would be partimage, or g4u. Both of these pieces of software will let you do what you are asking, and have very good tutorial on their web pages.

    g4u -
    partimage -
    LVL 32

    Author Comment

    g4u is pretty close to what I was thinking, but is there a browser for the imagefiles? Suppose I want to extract just one file from the image, can it handle that?
    LVL 4

    Expert Comment

    I dont know of many programs that do this, I know ghost explorer does, but this is commercial. I think with g4u that it is possible to mount the image using the lofiadm command. I have posted a link to the man page on this command.
    LVL 1

    Accepted Solution

    Basiclly, restoring a single file from a disk image is not reccomended, even ghost explorer has problems with that option, I would reccomend backing up the files with a backup\restore command, or, if you have linux, you can mount a dd based image file using the loop device like this:
    mount -o loop,ro -t <FS type> /image.file /mountpoint
    and copy the file like you would copy any other file...
    BTW, I'd reccomend compressing the image as well.
    I gave you an example that mounts the image in read-only mode to avoid damage to your backup.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now