-   Linux - Newbie (
-   -   unable to install grub 2 in ubuntu 14.04? (

Carl_cj 12-24-2015 09:20 AM

unable to install grub 2 in ubuntu 14.04?
i am using windows 10 and i thought to install Ubuntu 14.04 so i installed it on windows 10 partition.after completed installed Ubuntu 14.04 it will ask to restart it when i restart my system displays a message

missing operating system
i think grub boot loader is missing on my i logged into my Ubuntu 14.04 with the help of system rescue cd by temporary.i searched on net about to install grub2 on Ubuntu i tried the following steps

sudo apt-get install grub
it display me a error

E: Package 'grub' has no installation candidate
can anybody guide me.Thanks in advance.

berndbausch 12-24-2015 09:34 AM

Running apt-get update first should fix this message.

But it's unlikely you need to install grub on your Ubuntu 14.04 - it's probably there. Run dpkg -l | grep -i grub to check. What you need to do is install grub on the bootsector. You will find instructions in many places, for example at; perhaps you may want to focus on the section "fixing a broken system".

Carl_cj 12-24-2015 10:38 AM

[QUOTE=berndbausch;5468442]Running apt-get update first should fix this message.

Thanks for your problem was solved.apt-get update is not working properly the main problem is with sources.list is corrupted in

i just delete that file and recreted with the help of Ubuntu's Forms

apt-get update
is working properly.then i use boot repair tool and i follow steps successfully it repair my system.thanks for your reply.:)

All times are GMT -5. The time now is 12:30 PM.