Linux Mint 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 Linux Mint 17.1 Rebecca Tahr LTS i386/amd64 GNU System After Upgrade.
-
Boot System with Linux Mint 13.1 Rebecca Live.
-
Open a Shell Terminal Emulator Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
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…
-
Chrooting into Mint System.
-
Mounting the Root.
sudo su
mount /dev/[sdaX] /mnt/
-
Only if Boot is a Separate Partition: Mounting the Boot
mount /dev/[sdaY] /mnt/boot
-
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
-
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
-
-
Updating Apt Repos.
apt-get update
-
Fixing Unresolved Installations.
apt-get -f install
-
Upgrading System Again.
apt-get upgrade
apt-get dist-upgrade
-
Rebooting Mint System.
exit
Possibly Eject the Live Mint Media…
reboot now
-
How to Fix Disk Errors Even if Mint Non Bootable