I might have accidentaly purged some critical files, causing my Kubuntu 14.04 to not boot past the startup logo.
By entering the recovery mode from a LiveUSB, and running sudo apt-get install -f
, I am told that there are some unmet dependencies. So I am guessing those are the files that I purged.
Is there a way of installing all crucial files in recovery mode to get Kubuntu to run smoothly again?
Try this:
Boot from liveUSB.
Open a terminal.
Determine your HDD system partition.
Mount your HDD system partition. X is the drive letter. Y is the partition number. Substitute the correct partition like sda1, sdb5, etc. continue running:
Example:
mount /dev/sda5 /mnt
If you have a separate boot partition, mount your boot partition:
Example:
mount /dev/sdb6 /mnt/boot
Mount the critical virtual filesystems:
Chroot into your HDD system device:
Now reinstall kubuntu:
And reboot