How to Uninstall Virtuozzo
Posted by Vanessa | Tagged under howto,tips | Posted on Jan 31, 2010
0
Sometimes you may need to remove Virtuozzo, either to reinstall or just remove it, but are not able to completely reinstall the OS. I’ll stress though that if possible, you should reinstall the OS entirely to completely remove VZ. But in case you can’t, here are the steps to uninstall:
1. Stop Virtuozzo
service vz stop
2. Uninstall all Virtuozzo packages
rpm -qa|grep swsoft|grep vz|xargs yum remove -y
rpm -qa|grep swsoft|grep -E “virtu|-ez-|-tmpl-”|xargs yum remove -y
3. Remove contents from /vz : actionlog, backups, lock, private, root, template, vzup2date
cd /vz/ && mkdir _before_reinstall && mv * _before_reinstall
I usually have /vz on a separate partion, so I move all its contents to another partition on the server and just reformat using mkfs.
4. Remove configs from /etc
mkdir -p /vz/_before_reinstall/etc && find /etc -name vz\* -exec mv {} /vz/_before_reinstall/etc \;
5. Check /etc/grub.conf and make sure the boot kernel is standard (meaning, the parent OS and not VZ)
6. Reboot the server
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.




