During the upgrading installation from 15.10 to 16.04.1 the power went off, now the computer cannot launch the OS, so I cannot do anything. What can I do? Thank you in advance for your help
Asked
Active
Viewed 99 times
0
-
1Where does teh boot fail ? What is output to the screen ? – Soren A Dec 01 '16 at 13:42
-
Have you tried this solution? – Jose Barakat Dec 01 '16 at 13:55
-
Actually there are several lines that change in continue. I don't even have the time to read and I cannot perform any kind of command – Enrico Antonioli Dec 01 '16 at 13:59
-
Thank you Jose for your advise but Ubuntu don't start at all – Enrico Antonioli Dec 01 '16 at 14:01
2 Answers
1
Try this:
A. Boot your PC with the Ubuntu Live DVD/USB.
B. Open a terminal,
Press Ctrl+Alt+T
C. Use fdisk utility to list the partitions on a hard drive.
sudo fdisk -l
Suppose it informs that /
is /dev/sda1
, continue running:
sudo umount /dev/sda1
sudo fsck -y /dev/sda1
sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
nano /etc/resolv.conf
In the open file paste these lines:
nameserver 208.67.222.222
nameserver 208.67.220.220
Ctrl+O Save File
Ctrl+X Close nano
Continue running:
nano /etc/apt/sources.list
In the open file delete content and paste these lines:
deb http://archive.ubuntu.com/ubuntu/ xenial main universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse main universe restricted
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse main universe restricted
deb http://archive.ubuntu.com/ubuntu/ xenial-backports multiverse main universe restricted
deb http://archive.canonical.com/ubuntu xenial partner
Ctrl+O Save File
Ctrl+X Close nano
Continue running:
dpkg --configure -a
apt-get -f install
apt-get -m install
apt-get update
apt-get install --reinstall ubuntu-desktop
apt-get dist-upgrade
apt-get autoremove
apt-get clean
exit
sudo reboot

kyodake
- 15,401
0
You must make sure everything is intact. Without knowing more specifics, I suggest reinstalling the boot loader. Possibly a file that is involved in the boot process had been corrupted. First, boot into a live disk, mount your installation, chroot into it, and try to reinstall grub with "grub-install"

Kyle H
- 1,044
- 6
- 7
-
Thank you Kyle for your answer, since I cannot perform any commands how can I reinstall the boot loader? Do I need Ubuntu OS on a physical support? – Enrico Antonioli Dec 01 '16 at 14:10
-
You would need to be able to access the computer enough that you could insert a cd/dvd/usb with. Boot into it, find your installation and mount it, chroot into your install, run grub-install. Those are the basic steps, I'll have to direct you towards the wiki for the specific steps to do so. – Kyle H Dec 01 '16 at 14:27
-
-
You're welcome! If this helped you, would you mind up voting my post as the correct answer please? :) – Kyle H Dec 01 '16 at 14:42