Imaging with Linux

How do I image with a Linux based solution? Is there one that will image / read windows machines?
LVL 32
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

.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.
Dushan De SilvaTechnology ArchitectCommented:
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

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,

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

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 -
DrDamnitAuthor Commented:
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?
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.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.