Last weekend I decided it is time to upgrade my existing Atom server running on CentOS 5 to the most recent version. Since I am not a big fan of upgrading the system during runtime, mostly due to many custom tools and packages I installed, I decided I’d rather try a completely new installation and copy over everything else from the old system.
So how would I go ahead and do that? I had no spare disks, my external disk just died and I was unable to turn the server off for an extended period due to monitoring and shares running on it. I had to find a way to get a new system running without touching my existing server.
This is what I figured out might work:
-
Install Virtualbox on my desktop
Use CentOS 6.3 ISO to install on a USB stick
Use USB device to boot Desktop into the new System
Prepare the USB device to run as my new server
Copy configurations and test them
Attach USB stick to old server and boot into the new system
Easy enough! And it sure was easy to get that far. Linux was really easy to get running on my USB device and I had no issues to get it to boot on my old server after changing the fstab and changing the boot loader.
I would say that this is something that you can only do with smoothly with Linux.