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.

A few days ago, I bought this laptop, and now I want to change its OS (Windows 7) to Ubuntu but failed.

I burn it to a USB stick, set BIOS to startup from USB and it worked. I followed the install steps to install Ubuntu, it was a success. But when I restart the computer after installation, it's not working, it'll be continual reboot at start up until I shutdown or let it start up from USB stick.

Can anybody to tell me this is why? Please help me to resolve it.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It might be because you installed GRUB on a partition. To resolve this:

  • Boot from the Live USB.
  • Open a terminal (Ctrl+Alt+T).
  • Run the following commands:

    sudo grub-install /dev/sda
    sudo update-grub

    Here, /dev/sda is the name of the harddrive. To check the name of the harddrive, run sudo fdisk -l.

enter image description here

In the screenshot, the devices /dev/sda1, etc are the partitions, whereas /dev/sda is the harddrive.

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.