Loading...

How To Repair Your Ubuntu System After Accidental Deletion Of All Linux Kernels

Getting Started

Insert your Live CD/DVD or USB and boot into it. In the welcome screen of Ubuntu, select "Try Ubuntu without installing":


For Linux Mint, select "Start Linux Mint":


Wait now until your desktop loads completely, then start the terminal and run this command to check your hard disks:

 sudo fdisk -l
For my system, the Ubuntu/Linux Mint partition is mounted as /dev/sda1:


Run now these sequence of commands to get root privileges on your hard disk:

sudo mkdir -p /media/ubuntu 
sudo mount /dev/sda1 /media/ubuntu 
sudo mount --bind /dev /media/ubuntu/dev 
sudo mount --bind /proc /media/ubuntu/proc 
sudo mount --bind /sys /media/ubuntu/sys 
sudo chroot /media/ubuntu

Note: the word "ubuntu" is randomly selected and can be changed to any other name of your choice.

Let's now install the Linux kernel with this command:

apt-get install linux-image-generic

When the installation is complete, remove the live CD/DVD/USB and reboot your system.

source:http://www.upubuntu.com/
ubuntu 5813092951612461907

Post a Comment

emo-but-icon

Home item

Popular Posts

Random Posts

Flickr Photo