View Full Version : [ubuntu] If I boot from a live CD, can I repair my current 10.04 installation, dual boot XP?

July 14th, 2010, 01:54 PM
I deleted more files than I should have apparently and cannot successfully boot into gmk. This is such a shame as I had a really stable installation which did pretty much everything perfectly (sound aside).

I have tried quite a few fixes such as repairing packages, reinstalling fglrx (for Radeon HD 2600 XT card), etc.

Now in frustration I wonder if I can boot from an Ubuntu 10.04 CD and somehow repair my dual boot XP machine Ubuntu 10.04 installation? If this is possible I need instruction as I am not strong in Linux/Ubuntu terminal and system command work.


July 14th, 2010, 03:14 PM
I think that this is what you are looking for:


I had the same question and this is what I stumbled upon. I am not sure by the structure of your question as to what exactly needs to be done but it may help. I am working now and cannot try this fix. If it works let me know.

July 14th, 2010, 05:25 PM
You can chroot into you install from a boot of the liveCD. The chroot lets you run commands like you were in your system so usually you can repair it

kansasnoob converted the multiline entries into one line with & but you may have to edit the paritition:

Once chrooted:
apt-get autoclean # only removes files that cannot be downloaded anymore (obsolete)
apt-get clean
apt-get update #resync package index
apt-get upgrade #newest versions of all packages update must be run first
#would upgrade you to the latest kernel in the repositories
#dist-upgrade is also able to remove existing packages if required
apt-get dist-upgrade
apt-get -f install
dpkg --configure -a
# and/or anyother commands required to fix system