How to Recover After Upgrade A Non Bootable Ubuntu 14.04/14.10/15.04 Gnu/Linux System

April 19, 2015 | By the+gnu+linux+evangelist.

Linux Ubuntu How to Recover an Upgraded Non Bootable System

Hi! The 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 GNU+Linux 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.

    Burninging 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. Possibly to Find the Volume to Fix (LVM or Ordinary Partition)

    sudo apt-get install lvm2

    So now Execute a Disk Scan to Find out existing Partitions:

    lvmdiskscan

    In the Output you should be able to Recognize your Device…

  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 google.com

      If No Network Connection then Try:

      exit
      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 potential Unresolved Processes.

    apt-get -f install
  7. Upgrading System Again.

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

    exit

    Possibly Eject the Live Ubuntu Media…

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

    Restoring Ubuntu Disk

QuickChic Theme • Powered by WordPress