LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2006, 03:01 PM   #1
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
Image File - How to extract?


Hello everybody,

I have a linux operating system stored in two files (img files). The first file is a x86 boot sector, GRand Unified Bootloader (0.94) and the the second one is squash image. My Question is how can start this operating system on a pc or separate partition or maybe as a virtual machine on vmware?
 
Old 10-24-2006, 03:24 PM   #2
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
Quote:
Originally Posted by tobiasw
Hello everybody,

I have a linux operating system stored in two files (img files). The first file is a x86 boot sector, GRand Unified Bootloader (0.94) and the the second one is squash image. My Question is how can start this operating system on a pc or separate partition or maybe as a virtual machine on vmware?
I am no expert in this arena however I have some experience with it. These .img files I assume were raw copies of another machine done using dd correct?

You can mount these images using the /dev/loop device. You can google this or even search linux forums for mounting image files with /dev/loop.

If these are straight images off another machine and they are on a separate disk you should be able to boot from them (after you lay them down again from the .img file) HOWEVER this OS in these images was configured for a specific machine. If you boot it up on a different set of hardware then a failure awaits you.

As for VM ware I am not sure about using raw images in VMware. Typically you have to install the Guest OS in the VM Server as the Server offers up its virtual components. Again the previous image was installed against another set of hardware devices.

Best of luck
 
Old 10-24-2006, 04:57 PM   #3
tobiasw
Member
 
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by cygnus-x1

If these are straight images off another machine and they are on a separate disk you should be able to boot from them (after you lay them down again from the .img file) HOWEVER this OS in these images was configured for a specific machine. If you boot it up on a different set of hardware then a failure awaits you.
How is the best way to lay the image down? mount them with the boot -loop option, and then copy them with cp to a new harddisk or partition?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to extract image properties in C++ plisken Programming 1 11-24-2005 08:22 AM
How to extract bin/cue image? Mojojo Linux - Software 3 09-06-2005 04:13 PM
extract boot image from a iso SS KiLLeR Linux - Newbie 1 07-08-2004 02:57 PM
question on software that extract cd image file bbmak Linux - Newbie 1 07-03-2004 11:33 PM
how to extract an ISO image from a CD davido Linux - General 3 07-08-2003 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration