LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-20-2009, 08:52 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Rep: Reputation: 30
Can linux and virtual box do this:


Is it possible to image my linux host OS, save it, then load that saved image into virtualbox?

Doing so would result in an exact duplicate that I could run as a guest.

Doing so appeals to me. Otherwise, I would have to re-configure the OS settings from memory once running in virtualbox.

Doing it this way would be very slick.

Is this possible? Or is it not that simple?
 
Old 08-20-2009, 09:07 PM   #2
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
It would probably work - Linux is pretty resilient when it comes to hardware changes. However, it's probably overkill for what you want, and likely won't work as well as a fresh install without a lot of work. More likely, it'd be sufficient to just transfer the relevant config files. Have you considered just copying .* from your homedir, and maybe /etc (though that could cause issues with some software)?
 
Old 08-21-2009, 12:35 PM   #3
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Various: pclos, Debian, Ubuntu, etc . . .
Posts: 649

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by karamarisan View Post
It would probably work - Linux is pretty resilient when it comes to hardware changes. However, it's probably overkill for what you want, and likely won't work as well as a fresh install without a lot of work. More likely, it'd be sufficient to just transfer the relevant config files. Have you considered just copying .* from your homedir, and maybe /etc (though that could cause issues with some software)?
Sorry, what is:

.*

I don't recall a folder / file labeled as such.

Regardless, do you think a fresh install into virtualbox would yield better results?

Thanks.
 
Old 08-21-2009, 12:55 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
karamarisan means moving all the hidden files and folders (all files prefixed with a . are hidden) as that would move any personalised configurations and profiles over.
 
Old 08-21-2009, 02:20 PM   #5
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Knoppix
Posts: 1,823
Blog Entries: 14

Rep: Reputation: 282Reputation: 282Reputation: 282
The vmware P2V convertor works great. VirtualBox can run the vmdk vmware image.

http://www.vmware.com/products/converter/

Hope that helps.
 
Old 08-21-2009, 03:13 PM   #6
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
Quote:
Originally Posted by MBA Whore View Post
Regardless, do you think a fresh install into virtualbox would yield better results?
I do. What you described can work, but I don't think it's worth the effort if the only reason you have is saving your configs.

As XavierP said, the purpose of .* is to copy the hidden files and directories in your homedir, which is where applications store their configurations. Because it has a * in it, it's not a filename but a glob - a pattern against which other things are matched. In your shell (which I am assuming to be bash), a simple * will only match non-hidden files, so you need .* to get all the hidden ones.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Virtual Box JATA01 Linux - Software 6 10-10-2008 08:47 AM
LXer: P2V: How To Make a Physical Linux Box Into a Virtual Machine LXer Syndicated Linux News 0 08-21-2007 12:11 AM
virtual box alf_frommars Ubuntu 6 08-14-2007 08:30 AM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM

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

All times are GMT -5. The time now is 11:19 PM.

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