How to replace a system file on Ubuntu or Linux Mint that was deleted by accident.

If you executed a command on Ubuntu and messed up your system, there is hope. The apt-file utility can search the package repositories for the missing file and then tell you which package contains it. This is a good way to replace a system file that was accidentally deleted. This is impressive, and a good … Read more

Re-install the GRUB 2 bootloader in Debian easily.

To re-install the grub2 bootloader in Debian 6.0 , you need to be chrooted into the filesystem, this can be done from the installation DVD or an Ubuntu Live CD. Once you are sitting at a root prompt on the Debian system, you need to type: debian ~ # grub-install /dev/sdadebian ~ # grub-install /dev/sda … Read more

Re-installing the Grand Unified Boot loader (GRUB2) in Linux Mint 13.

I recently installed Ubuntu 11.10 on my computer, triple-booting with Linux Mint 12 and Linux Mint 13, this overwrote my boot-loader for my Linux Mint 13 installation. Therefore, after booting into my Linux Mint 13 distribution I re-installed the boot-loader using the command-line. Using the grub-install command to re-install the proper boot-loader to the boot … Read more