My computer's not starting up without the Ubuntu usb [duplicate]

Possible Duplicate:
Can't boot without Flash Drive plugged in

I installed Ubuntu 12.04 LTS in my Dell Inspiron 1545 from a usb stick but it is not booting up when I removed the usb from the computer. but it is working when I put the usb in my computer. I want ubuntu to start without the usb. Please can you help me? Thanks.


Sounds like grub has been installed to the usb. From your booted Ubuntu system, open a terminal, then use the following commands to install grub to the internal drive :

sudo grub-install /dev/sdX
sudo update-grub

Replacing sdX with the actual drive, which will probably be sda, but use disk utility to double check if you are unsure.

Accidently installed grub to usb