LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: Virtualizing a Linux installation

[ILUG] Re: Virtualizing a Linux installation

Marcus Furlong furlongm at hotmail.com
Thu May 22 13:38:46 IST 2008


On Thursday 22 May 2008 10:07 in
<Pine.LNX.4.64.0805221006050.5571 at skynet.skynet.ie>, Ivan Griffin wrote:

> 
> 
> I've successfully done this in the past using the qemu-img tool.
> 
> In fact, it can go from raw disk to vmdk and back...
> 
> I booted using a liveCD, mounted a network partition, and then used dd to
> create a raw image of the drive on the network.  Left it run overnight.
> Then next day I ran qemu-img on it.
> 
> The following page has some details on using qemu-img:
>
http://www.robertpeaslee.com/index.php/converting-a-physical-disk-to-a-virtual-disk-for-free/
> 
> Cheers,
> Ivan.

I mentioned this before, and have found it incredibly useful:

http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html

For the OP, change the target system command to

   nc –l –p 7000 | dd of=my_hd_image.img

or somesuch. Same idea as above without mounting a network partition, and
includes optional gzip/bzip2 compression accross the network. Can also be
used on the live system (although if possible I'd prefer to boot using a
live cd).

Marcus.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell