Top 5 Ways To Prevent A Damaged Ubuntu Installation
- 4
- Add a Comment
Keeping your Ubuntu install clean and working is actually pretty easy, when using some common Linux sense. Just follow the tips below and you will spend much less time in rescue mode with your Linux desktop.
1) Backup your fstab configuration. I cannot say this enough. Should something go wrong with your existing one, this simple backup will save you from attempting to rebuild it which is not a pleasant newbie experience.
2) Backup your xorg.conf configuration. Yes, more often than not you already have a few of these anyway. But it really nice to have a back up that is recognizable to the common user, not just to the power-geek.
3) Be wary of kernel upgrades with proprietary video drivers and some wireless cards. This is generally a huge problem people who are using proprietary video drivers for the sake of dual monitors, run an upgrade, only to hose the X configuration (no video, just an error in blue and red with jumbled text).
First, sudo into your xorg.conf file, locate “NVIDIA and change it back to “NV”. Ctrl-Alt-Backspace, login again, this time without the second screen. Assuming you had sense enough to install an NVIDIA driver via Envy, use this great little GUI tool to then uninstall the video driver. Reboot, then install the new kernel. Once this goes well, use Envy to install the proprietary video driver for you again - this has never failed me once, unlike more geeky methods.
4) Do not install software updates from pre-release or Gutsy Proposed. While things may seem like they are working at first, often times bugs sufface later on that can prove to be a real hassle.
5) Stay away from the 3D effect nonsense. If you are a newbie, are not sure how to fix a system once Compiz-Fusion pushes out yet another buggy update that makes your desktop unusable, just walk away and enjoy stability with Metacity (Ubuntu’s default desktop).
Tags: ubuntu, notebooks, linux, nvidia, video card

4 Comments
Alberto Milone
November 19th, 2007
at 3:14am
You can also type:
sudo envy –uninstall-all
so as to uninstall the nvidia driver and set the driver to “nv” in your xorg.conf automatically [NOTE: if you have an ATI card, the driver is automatically set to “vesa”].
Regards,
Alberto
Joshua K
November 20th, 2007
at 2:20pm
I’m glad that you made the point of backing up the fstab and xorg.conf files. Having backed up those two files has saved me a couple of hours struggling.
infodroid
November 20th, 2007
at 4:52pm
You should add.
Many people new to Ubuntu compile software in order to get features unavailable in the latest version.
When manually compiling software, remember to change the installation prefix so it does not store any files under /usr.
Always compile to a personal folder or somewhere that won’t interfere with Ubuntu-installed packages, such as in /opt/package_name
This way you can have a clean way of uninstalling the software, just by removing the folder /opt/package_name.
Chris Lees
November 20th, 2007
at 7:10pm
6. Don’t compile new versions of underlying system libraries just to satisfy the dependencies of xyz-bleeding-edge-program. I once tried to compile the latest libfreetype so I could install the .deb of Kdenlive; must’ve compiled it incorrectly, because from then on, no graphical programs worked! Only the saving grace of Aptitude kept my behind out of the fire…