Computing.Net > Forums > Linux > I messed up

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

I messed up

Reply to Message Icon

Name: winipcfg
Date: July 25, 2009 at 14:14:16 Pacific
OS: Windows Vista
CPU/Ram: 2 gzh dual core/3 gig
Product: Dell / INSPIRON 1525
Subcategory: Configurations
Comment:

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
~winipcfg

Please sit back and relax while Windows 98 installs on your computer.



Sponsored Link
Ads by Google

Response Number 1
Name: SkipCox
Date: July 25, 2009 at 15:01:31 Pacific
Reply:

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


0

Response Number 2
Name: winipcfg
Date: July 25, 2009 at 15:05:26 Pacific
Reply:

Thanks Skip. One more question. If I remove GRUB from my main drive, will that cause my Ubuntu on my external to become unbootable?
~winipcfg

Please sit back and relax while Windows 98 installs on your computer.


0

Response Number 3
Name: SkipCox
Date: July 25, 2009 at 15:33:28 Pacific
Reply:

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

Skip


0

Response Number 4
Name: winipcfg
Date: July 25, 2009 at 16:19:39 Pacific
Reply:

Sounds good. Once again thank you for your help.
~winipcfg

Please sit back and relax while Windows 98 installs on your computer.


0

Response Number 5
Name: paulsep
Date: July 25, 2009 at 18:41:45 Pacific
Reply:

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=1

You 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 !!!


0

Related Posts

See More



Response Number 6
Name: ernie
Date: July 26, 2009 at 08:31:47 Pacific
Reply:

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


0

Response Number 7
Name: winipcfg
Date: July 31, 2009 at 13:49:13 Pacific
Reply:

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.
~winipcfg

Please sit back and relax while Windows 98 installs on your computer.


0

Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: I messed up

Red Hat Update Agent is messed up!! www.computing.net/answers/linux/red-hat-update-agent-is-messed-up/26585.html

My Cd Bunner is mess up www.computing.net/answers/linux/my-cd-bunner-is-mess-up/2488.html

how can I boot up to linux without www.computing.net/answers/linux/how-can-i-boot-up-to-linux-without-/15090.html