Sasquatch wrote:You can also Google on how to clone your system to a smaller hard drive, there are plenty of hits on the subject. But I believe that you have another thread running with roughly the same information but with another problem (unable to boot guest).
I'll have to try harder on google but with that search term. I've been all over the net about this but maybe I just didn't use the right search terms.
Sasquatch wrote:For Linux there is an option that's really easy to do. You note which packages are installed on the Host, if you installed anything extra other than VB from the base installation. Then you install the same packages in the guest using a fresh installation. You install the Guest exactly like the Host, with your designated 8 GB of disk space that you want to use.
Next, you copy your entire /home/user folder including hidden files and folders to a shared storage, like a USB stick. You use that to copy it to the Guest and put them in the same place, essentially copying your /home from the Host to the Guest. If you have made any changes to other system files, like in /etc, then make the same modifications, if you like. Reboot the guest and you should have an environment that's the same as the Host inside the Guest.
If you made changes to the system that required your password and want them again, redo them as well.
That's about it.
Another option is to compress the entire system, excluding the /dev and /proc directories into a tarball and extract that tarball in a freshly installed Guest. You may have to reinstall the bootloader, grub, but that's about it as well.
That first thing sounds like a tremendous amount of labor and no gurantee you get all the changes you've made carried over - unless, maybe, there are things you can do to sort of automate the changes in the guest. For instance, I read somewhere about the package management system having a file somewhere that records everything currently installed and how you can somehow use this to make the system go through and start installing everything in that list again. That would be one major item down. That would just leave configurations and home directory content. Home directory content would be easily done the way you we're telling me Sasquatch.
Another thing, and I didn't bring this up before because I didn't want to convolute things; but, my next step (after a succesful "p2v" (thanks mpack)) will be to sync everything important up so when I make changes to the host it changes on the guest too. Maybe I end up having to write a script that runs on startup as well but that''s where my head is at. Just to show why I would be concerned about exactness . . . .
Crap! I just thought of something right there at the end of that sentence. If it's possible to write a script that runs in the guest, on startup, and it differences between host and guest then updates guest to match - if that, then it is a solution for this in and of itself. That might be getting off base though.
Sasquatch wrote: But I believe that you have another thread running with roughly the same information but with another problem (unable to boot guest).
Yeah, about that. I wasn't getting any hits on this thread for like a long time and I was still trying things on my own. Trying to make it work. I ran into the specific situation I posted in the other thread. The ultimate goal has not changed from the beginning - just the specific problem I ran into there. I don't think it was even another day after I started that other thread that mpack gave me my first response on this thread. That's how things got to be this way. Sorry about that.
- - - - - - - - - -
I just thought there must be some simple enough way to get an exact copy p2v. The operative word here being exact
. There are some things I'd like to exclude - like a directory I have that has some movies and music in it. For the most part though I want the exact same configuration, exact same apps installed (except Virtual Box), most of the home directory contents. Then I want to do everything I can to synchronize things like installed apps, config changes, updates, and even some home directory content so it just automatically stays the same every time a start the guest. What would be nice is - Guest is booted, guest synchronizes everything you want it to/ set it up to do, guest makes a snapshot of itself, guest boots rest of the way into the system - viola! Ready to go!
So, anyway, you've both given me a lot of really great things to work on. I'm gong to try my darndest to find some time to set aside and work on those options. I'm relatively certain I have enough info to get where I need to go once I find the time to put into it.
If anyone wants to comment on my little idea in the paragraph above though it would certainly be appreciated. (The stuff about "What would be nice is . . .").