How-to Recover After Upgrade a Non Bootable Ubuntu 14.04/14.10/15.04 GNU/Linux System

April 19, 2015 | By thelinuxevangelist | Filed in: Tutorial.

Linux Ubuntu How-to Recover an Upgraded Non Bootable System

The Linux Tutorial Shows You Step-by-Step How-to Try a Generic Recovery for a Non Bootable Ubuntu 14.04-Trusty/14.10-Utopic/15.04-Vivid i386/amd64 Linux+GNU System After Upgrade.

Ubuntu 14.04 Trusty LTS Recovering a Non Bootable System After System Upgrade
  1. Boot System with a Live Ubuntu Same as Your System

    and Burning Ubuntu Live
  2. Open a Shell Terminal Emulator Window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Fixing Non Bootable Ubuntu 14.04 Trusty LTS after Upgrade - Open Terminal
  3. Eventually to Find the Volume to Mount (LVM or Ordinary Partition)

    sudo apt-get install lvm2
  4. Chrooting into Ubuntu System

    1. Mounting the Root

      sudo su
      mount /dev/[sdAX] /mnt/

      For Example:

      mount /dev/sda1 /mnt/
    2. Only if Boot is a Separate Partition: Mounting the Boot

      mount /dev/[sdaY] /mnt/boot
    3. Mounting Proc,Dev & Sys

      mount -t proc none /mnt/proc
      mount -o bind /dev /mnt/dev
      mount -t devpts none /mnt/dev/pts
      mount -o bind /sys /mnt/sys
    4. Chrooting

      chroot /mnt/ /bin/bash

      Testing Network Connection:

      ping -c 3

      If No Network Connection then Try:

      cp /etc/resolv.conf /mnt/etc/resolv.conf

      And then Chroot Again!

      chroot /mnt/ /bin/bash
  5. Updating Apt Repos

    apt-get update
  6. Fixing eventual Unresolved Processes

    apt-get -f install
  7. Upgrading System Again

    apt-get upgrade
    apt-get dist-upgrade
  8. Rebooting Ubuntu System


    Eventually Eject the Live Ubuntu Media…

    reboot now
  9. How-to Fix Disk Errors Even if Ubuntu Non Bootable:

    Restoring Ubuntu Disk

Tags: , , , , , , , , , , ,