On Tue, Feb 25, 2014 at 12:28 PM, Steve Clark sclark@netwolves.com wrote:
On 02/25/2014 01:17 PM, Fabrizio Di Carlo wrote:
Hello to all,
currently I have CentOS 6.4 32 bit, very simple setup on my notebook, I want to migrate it from 32 to 64 bits cause I want to play with some VMs etc etc.
Do you have some suggestions on how to do backup of folders (mainly I have 1 user) or just copy the user folder and stop?
Fabrizio
Hmmm... we have 32bit CentOS 6.3 running both 32bit and 64bit VirtualBox VMs just fine.
Yes, if you want to use KVM you'd need a 64-bit install, but for VirtualBox or VMware Player it should only depend on the CPU capability, not the host OS.
On 02/25/2014 10:32 AM, Les Mikesell wrote:
On Tue, Feb 25, 2014 at 12:28 PM, Steve Clark sclark@netwolves.com wrote:
On 02/25/2014 01:17 PM, Fabrizio Di Carlo wrote:
Hello to all,
currently I have CentOS 6.4 32 bit, very simple setup on my notebook, I want to migrate it from 32 to 64 bits cause I want to play with some VMs etc etc.
Do you have some suggestions on how to do backup of folders (mainly I have 1 user) or just copy the user folder and stop?
Fabrizio
Hmmm... we have 32bit CentOS 6.3 running both 32bit and 64bit VirtualBox VMs just fine.
Yes, if you want to use KVM you'd need a 64-bit install, but for VirtualBox or VMware Player it should only depend on the CPU capability, not the host OS.
While technically true, I can't imagine wanting to do much with VMs without the extra RAM space afforded by 64 bit O/S. Really, 2 (ok, 3) GB of RAM is *not enough* to do serious work. I'd strongly suggest starting with at least 8 GB of RAM. You can do it with the 2 or so that you have, but I wanted to scream with 2 GB using VirtualBox for Windows compatibility testing.
8 GB lets me run a host OS (Fedora) and 2 VMs without too much trouble. 3 VMs starts to slow down noticeably, no matter how I tweak the memory split.
-Ben
On Tue, Feb 25, 2014 at 5:07 PM, Lists lists@benjamindsmith.com wrote:
Hmmm... we have 32bit CentOS 6.3 running both 32bit and 64bit VirtualBox VMs just fine.
Yes, if you want to use KVM you'd need a 64-bit install, but for VirtualBox or VMware Player it should only depend on the CPU capability, not the host OS.
While technically true, I can't imagine wanting to do much with VMs without the extra RAM space afforded by 64 bit O/S. Really, 2 (ok, 3) GB of RAM is *not enough* to do serious work. I'd strongly suggest starting with at least 8 GB of RAM. You can do it with the 2 or so that you have, but I wanted to scream with 2 GB using VirtualBox for Windows compatibility testing.
8 GB lets me run a host OS (Fedora) and 2 VMs without too much trouble. 3 VMs starts to slow down noticeably, no matter how I tweak the memory split.
I think the CPU hardware support lets virtualbox give RAM to the guests even if there is more than the 32-bit host OS could use natively.
Well... I have 8GBs of RAM... But the point is: how is the best way to do this migration? How backup data? Il 26/feb/2014 01:01 "Les Mikesell" lesmikesell@gmail.com ha scritto:
On Tue, Feb 25, 2014 at 5:07 PM, Lists lists@benjamindsmith.com wrote:
Hmmm... we have 32bit CentOS 6.3 running both 32bit and 64bit
VirtualBox VMs just fine.
Yes, if you want to use KVM you'd need a 64-bit install, but for VirtualBox or VMware Player it should only depend on the CPU capability, not the host OS.
While technically true, I can't imagine wanting to do much with VMs without the extra RAM space afforded by 64 bit O/S. Really, 2 (ok, 3) GB of RAM is *not enough* to do serious work. I'd strongly suggest starting with at least 8 GB of RAM. You can do it with the 2 or so that you have, but I wanted to scream with 2 GB using VirtualBox for Windows compatibility testing.
8 GB lets me run a host OS (Fedora) and 2 VMs without too much trouble. 3 VMs starts to slow down noticeably, no matter how I tweak the memory split.
I think the CPU hardware support lets virtualbox give RAM to the guests even if there is more than the 32-bit host OS could use natively.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 2/25/2014 8:49 PM, Fabrizio Di Carlo wrote:
Well... I have 8GBs of RAM... But the point is: how is the best way to do this migration? How backup data?
my favorite way to upgrade a system is to get a new disk drive. pull the old one out, install the new one, do a clean install of the new OS on the new disk, THEN reconnect the old one as a slave drive, and mount it under /mnt or whatever, and copy my data, settings, etc from the old system. once done, wipe the old drive and reuse for something else.
On 02/26/2014 06:05 AM, John R Pierce wrote:
On 2/25/2014 8:49 PM, Fabrizio Di Carlo wrote:
Well... I have 8GBs of RAM... But the point is: how is the best way to do this migration? How backup data?
my favorite way to upgrade a system is to get a new disk drive. pull the old one out, install the new one, do a clean install of the new OS on the new disk, THEN reconnect the old one as a slave drive, and mount it under /mnt or whatever, and copy my data, settings, etc from the old system. once done, wipe the old drive and reuse for something else.
This line will archive (compress too) your entire OS (important parts) to tar archive:
tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev /
If you do not want everything, then add '--exclude=/<folder>" before the end part "/", but I suggest to at least keep /etc/and /home. Also, locate your VM's files and move them before tar-ing everything else, to avoid slowdown with compressing large compressed files.
Watch to have enough space on the directory you are starting the tar command from.
Also, you can compress to remote system via ssh. Here are examples of compressing single folder to server via SSH:
tar zcvf - /wwwdata | ssh root@192.168.1.201 "cat > /backup/wwwdata.tar.gz" or tar cvzf - /wwwdata | ssh root@192.168.1.201 "dd of=/backup/wwwdata.tar.gz"
On Tue, Feb 25, 2014 at 10:49 PM, Fabrizio Di Carlo dicarlo.fabrizio@gmail.com wrote:
Well... I have 8GBs of RAM... But the point is: how is the best way to do this migration? How backup data?
I usually make a full backup of /etc - not to restore, but to be able to check/compare any old settings I might want to duplicate after the re-install. If you aren't running database, web, or mail servers, 'your' data should all be under /home, so save that, re-install, and put it back. If you have plenty of storage space, you could use either the 'rear' package or clonezilla-live to make an image copy that would restore your system to its current state in the unlikely event that you want that.