Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello all,
Last night I installed Ubuntu 10 on my external HDD. problem is, the bootloader(grub) Installed on my main HDD. i didn't know that this would happen. Now My Laptop will not boot unless the external hdd is hooked up. with the external attached, Grub works fine and I can choose ubuntu or vista. When the external isn't hooked up, I get GRUB errors (code 5 and 21, I think). How can i fix this. I only want to see GRUB when my external is attached.
thADVANCEanks
~winipcfgPlease sit back and relax while Windows 98 installs on your computer.

Welcome to the hair pulling club. I'm pretty sure GRUB should have been installed on the external disk.
Your Vista disk should allow you to do a "fix mbr" repair.
Skip

Thanks Skip. One more question. If I remove GRUB from my main drive, will that cause my Ubuntu on my external to become unbootable?
~winipcfgPlease sit back and relax while Windows 98 installs on your computer.

I'm sure it will. You should be able to reinstall Ubuntu though and choose the external to load GRUB on.
Skip

Sounds good. Once again thank you for your help.
~winipcfgPlease sit back and relax while Windows 98 installs on your computer.

In ubuntu, make a copy of ubuntus boot block.
It's just 512 byte of data.
The command to save the boot block is like this:
dd if=/dev/sdaX of=vmlinuz bs=512 count=1You might have to change sdaX, where X stands for the partition of the drive, where the boot block is located.
This file can be copied to the e.g. C:\ directory.
In the boot.ini of Windows, add a line like this to the end of the file:
C:\vmlinuz="Ubuntu Linux"Then, as SkipCox mentioned, fix the mbr in Vista.
You should now have 2 entries on startup bootmenu, one for Vista and one for Ubuntu.
Please send a reply, if you solved the problem !!!

There is a WEB site with a rather old how-to on using the Windows NTLDR boot manager to dual-boot Linux and Windows. You may have to change hda to sda, but the basic information may prove helpful in understanding the fundamental concepts.
Ernie Registered Linux User 247790

Sorry it took so long to reply,
I fixed this days ago. I found the linux commands to install grub onto my external. Vista MBR is repaired as well. Thought this post was done,thats why I haven't replied til now but thank everybody for their support. these forums are amazing and I'm always impressed that people take time out of their busy schedules to help others.
~winipcfgPlease sit back and relax while Windows 98 installs on your computer.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |