Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

after a sudo apt-get upgrade I was told that some packages could be safely removed. I guess these were old kernels, so I did

sudo apt-get autoremove

but now the system won't start anymore and just says Missing Operating System.

The computer unfortunately doesn't have a CD drive for a Live CD. I guess I could boot from a USB stick, but what exactly would I then do for a recovery?

share|improve this question

1 Answer 1

Method 1: Per Super Grub Disk

You can start Super Grub Disk via USB

Methode 2:

First you need a Live-CD/USB. Start the Live-CD and open a new terminal. First mount the Ubuntu-System (boot-partition):

sudo mount /dev/sda2 /mnt 

Here an example for sda2.

Now install GRUB

sudo grub-install --root-directory=/mnt /dev/sda 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.