Tente isto:
- Inicialize o Ubuntu Live DVD / USB.
- Pressione Ctrl-Alt-F1
-
Use o utilitário fdisk para listar as partições em um dispositivo.
sudo fdisk -l
Suponha que /
seja /dev/sda4
e o sistema EFI seja '/ dev / sda1', continue executando:
sudo -i
umount /dev/sda4
mount /dev/sda4 /mnt
umount /dev/sda1
mount -t vfat /dev/sda1 /mnt/boot/efi
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
nano /etc/resolv.conf
No arquivo aberto, cole estas linhas:
nameserver 208.67.222.222
nameserver 208.67.220.220
Control + O, salve o arquivo. Control + X, perto de nano. Continue correndo:
apt-get update
apt-get install --reinstall ubuntu-desktop aptitude deborphan grub-efi
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/boot/bootx64.efi
update-grub
aptitude remove '?and(?reverse-depends(kubuntu),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'
apt-get install --reinstall ubuntu-desktop
apt-get -f install
deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)
apt-get autoremove
apt-get clean
exit
umount /mnt/sys
umount /mnt/proc
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt
reboot