Re: [SLUG] clone system to a vm?

2012-09-28 Thread Dave Kempe

- Original Message -
> From: li...@sbt.net.au
> To: slug@slug.org.au
> Sent: Tuesday, 25 September, 2012 6:55:23 AM
> Subject: [SLUG] clone system to a vm?

> 
> I have a Centos 4 machine, I'd like to try cloning it from a physical
> machine to a VM on another system, I've installed Centos 6 on the new
> machine, and, learning how to setup VM
> 
> how would I clone existing system across LAN to VM ?


I just used the vmware converter to clone a windows 2000 physical machine onto 
a virtual box VM flawlessly. 
We needed to rescue the software running on the machine due to age, so a VM was 
the way forward.
Just had to tweak the ACPI setting in the CPU advanced config and win2k booted 
straight away.
Vmware converter is a free program that does support some linuxes. Not sure if 
you can run it from linux though.

getting an image of a hard drive is one thing, getting it to boot as a vm 
straight away, is entirely different.

dave
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] clone system to a vm?

2012-09-26 Thread Piers Rowan
I have a Centos 4 machine, I'd like to try cloning it from a physical 
machine to a VM on another system, I've installed Centos 6 on the new 
machine, and, learning how to setup VM how would I clone existing system 
across LAN to VM ? thanks for any tips


That is a old version so I would be inclined to upgrade.

That being said I'll echo another’s comments and rebuild the machine.

* use RPM to list all the $packages
* Install a base install
* yum -y install $packages
* rsync /home/ server:/home/ (repeat for other data dirs)

If you want to clone the config then you could copy files from /etc or 
install webmin and backup (old) restore (to new) the config of the 
various services.


Just my $0.02

Cheers

Piers


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] clone system to a vm?

2012-09-26 Thread Voytek Eymont
Chris, Jake, thanks

H, I might try a fresh centos instal, and, copy/setup Web site first of 
all, might be simpler, (just need to resolve some 'include' path issues)


>
>VM something like this.
>http://digiassn.blogspot.com.au/2006/01/dd-over-netcat-for-cheap-ghost.html
>
>It'll take a while, consider also adding a file compression tool to the
>
>mix if you have lots of free space on the source disk (gzip with
>minimum 
>compression say) just to make sending all the zeros faster ;->

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] clone system to a vm?

2012-09-26 Thread Jake Anderson

On 25/09/12 06:55, li...@sbt.net.au wrote:

On Sun, September 2, 2012 7:21 pm, Ross Mitchell wrote:

I suggest that you install VirtualBox, then install your Centos 4 os
within it. * You don't risk your established data etc.
* The Centos 4 will have its own IP address, your legacy system
will be fine, of course it will have the security vulnerabilities that go
with the old OS, but these won't infect your broader systems. * by the

I have a Centos 4 machine, I'd like to try cloning it from a physical
machine to a VM on another system, I've installed Centos 6 on the new
machine, and, learning how to setup VM

how would I clone existing system across LAN to VM ?

thanks for any tips

Its probably the wrong way of doing it, but what I have done in similar 
situations is to boot the old system from a liveCD

boot the VM also into a liveCD
then use DD and netcat to move an image of the disk across into the new 
VM something like this.

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

It'll take a while, consider also adding a file compression tool to the 
mix if you have lots of free space on the source disk (gzip with minimum 
compression say) just to make sending all the zeros faster ;->

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] clone system to a vm?

2012-09-26 Thread Chris Barnes
Take a look at Ghost4Linux (G4L)

Its not necessarily fast, but its got a pretty comprehensive suite of tools.

On Tue, Sep 25, 2012 at 6:55 AM,  wrote:

> On Sun, September 2, 2012 7:21 pm, Ross Mitchell wrote:
> > I suggest that you install VirtualBox, then install your Centos 4 os
> > within it. * You don't risk your established data etc.
> > * The Centos 4 will have its own IP address, your legacy system
> > will be fine, of course it will have the security vulnerabilities that go
> > with the old OS, but these won't infect your broader systems. * by the
>
> I have a Centos 4 machine, I'd like to try cloning it from a physical
> machine to a VM on another system, I've installed Centos 6 on the new
> machine, and, learning how to setup VM
>
> how would I clone existing system across LAN to VM ?
>
> thanks for any tips
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.com
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] clone system to a vm?

2012-09-26 Thread lists
On Sun, September 2, 2012 7:21 pm, Ross Mitchell wrote:
> I suggest that you install VirtualBox, then install your Centos 4 os
> within it. * You don't risk your established data etc.
> * The Centos 4 will have its own IP address, your legacy system
> will be fine, of course it will have the security vulnerabilities that go
> with the old OS, but these won't infect your broader systems. * by the

I have a Centos 4 machine, I'd like to try cloning it from a physical
machine to a VM on another system, I've installed Centos 6 on the new
machine, and, learning how to setup VM

how would I clone existing system across LAN to VM ?

thanks for any tips

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html