I cant boot from hdd,only pendrive

Asked by Tarık Ertekin on 2012-12-09

Recently I made an pendrive to install 12.04 on my acer netbook.Now I cant boot from hdd,only from pendrive (USB).How can I start 12.04 from hdd.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-12-12
Last query:
2012-12-12
Last reply:
2012-12-09

In the USB stick, if you run:

sudo fdisk -l

You will see the drive name (probably /dev/sda)

You can then run:

sudo grub-install --recheck /dev/sda

Obviously if yours is different then change the drive name.

Tarık Ertekin (tarikertekin) said : #2

Thanks actionparsnip, that solved my question.