Hey everyone! I'm a bit of a newbie in the world of virtualization and I'm curious about a process I heard about. Is it possible to create a system image in a virtual machine (like VirtualBox), experiment with it, and then create an ISO image to install it directly onto bare metal hardware? Has anyone tried this? Would love to hear your thoughts and experiences!
3 Answers
My recommendation would be to do a fresh installation on the bare metal, then just copy your home directory and the /etc directory over. After that, reinstall your packages. This is a solid strategy, especially if the target PC doesn't have internet access during the install. You can still pull everything you need from the USB!
Yes, it's definitely something you can do! I suspect it may lead to some unexpected issues, particularly if the installer isn't well-configured for the new hardware. You might run into things that just don't work right after an upgrade. Personally, I prefer automating the configuration process, often using tools like Ansible, that way I can easily install the OS on any machine with the same setup.
There are tools out there for creating custom images, like the OpenSUSE Build Service, but honestly, they’re more suitable for enterprise settings. If you just want to migrate your setup to a different machine, I'd recommend copying your configs and dotfiles to a USB drive instead of going through the hassle of creating an image.
That makes sense! If there's no internet, it's good to have everything prepped on the USB stick.