I cant boot from hdd,only pendrive

Asked by Tarık Ertekin

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:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

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.

Revision history for this message
Tarık Ertekin (tarikertekin) said :
#2

Thanks actionparsnip, that solved my question.