Solved

how do i install a os to a .img file

Posted on 2013-01-31
1
307 Views
Last Modified: 2013-02-07
i want to install a clean os to .img file, how would i do that? i have a iso file which has the distro. can i use yum?
0
Comment
Question by:Kylo Ren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
Daniel McAllister earned 500 total points
ID: 38843869
The easiest way to do this is with a VM (virtual machine)... just make sure the "disk image" file is in a "raw" format that will fit on the eventual target media (e.g.: make the image file only 8GB for eventual burning to a DL-DVD).

As part of this solution, you can tell the VM manager (KVM or Xen, most likely) to perform the install using the ISO image of the install disk... also, you can RUN the OS in the VM and run yum to install updates and other packages.

When you're done creating the image, you'll want (need) to convert the disk from an ext4 (or similar) filesystem to an ISO-9660 one -- there are any number of tools available to do that.

I hope this helps!

Dan
IT4SOHO
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

705 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