2

Okay guys, I was installing a program (I do not remember the name). When I did sudo apt-get update I was given missing dependencies. It told me to sudo apt-get install -f which deleted just about every dependency needed for Ubuntu, now I cannot log in or anything, now in GRUB it actually says Debian instead of Ubuntu. I have tons of important data in that partition. Can I some how use the live cd to fix this problem??? I mean like re-install without losing data.

Any help is greatly appreciated!!!

jrg
  • 61,707
jredkai
  • 505

1 Answers1

5

A reinstall is definitely your best option for getting Ubuntu working again.

Using the Live CD you can copy your data onto an external USB device (a stick or hard drive, for example).

If you do not have any external storage, and there is enough space on your existing hard drive, there is another more risky option; resize the existing partition and create a new partition to reinstall onto. Here are some instructions on doing this:

https://help.ubuntu.com/community/HowtoPartition/ResizingPartition

and here:

Why I'm seeing a lock besides the partition I'm trying to modify with gparted?

But be warned, resizing is potentially risky; if something goes wrong during the process, it could leave your data in an irretrievable state. Copying to another storage medium is definitely safer, because you can check the copy before deleting the original.