Possible Duplicate:
Can't boot without Flash Drive plugged in
I tried to install Ubuntu 12. 04 using USB on HP pavilion dv4 which has Windows 7 home premium. The installation went smooth, but after rebooting it directly booted into Windows 7. When I inserted the USB device it showed the grub menu. I suppose the boot loader got installed on the USB device.
Can any one give me a solution to this?