View Full Version : [ubuntu] hardy install from usb will not boot without usb-hdd

June 3rd, 2008, 02:12 PM
hi. i installed a minimum netinstall from my usb key, but i'm pretty sure the installation didn't write an mbr sector to my hdd, so now all my mobo will see is a bootable usb drive, while the hard drive is not bootable. ubuntu runs fine but won't boot without the usb key in the drive. what sort of script or app do i need to run to install a master boot record to my primary hdd?

June 3rd, 2008, 02:44 PM
i'll try when i get home but i think i might be able to just install mbr from the repositories and then edit grub. but i'll have to wait to get home from work to do this... if anybody has more direct sure-fire solutions please post!

June 3rd, 2008, 03:07 PM
...but won't boot without the usb key in the drive...

When you installed Ubuntu on the usb key the installer did change the MBR to load the GRUB boot loader on the usb key.

What you need to do will depend on what OS is on your hdd. (Some type of windows OS I guess)

You have a couple of options my favorite IDBS make a dedicated GRUB partition (http://users.bigpond.net.au/hermanzone/p15.htm#How_to_make_a_separate_Grub_Partition_)

OR replace the GRUB stage1 code with code that boots the OS on your hdd. IDBS Remove/Replace/Uninstal Grub (http://www.users.bigpond.net.au/hermanzone/p18.htm)

In any case if you want to boot without the usb key inserted. Your right you will have to alter the MBR of the hdd.