PDA

View Full Version : [SOLVED] win7/10.04 grub error



ArbiterOfTruth
January 12th, 2011, 12:26 AM
Hello. As with all the problems I have ever gotten, I turn to you, the Ubuntu Community, to come to my aid once again.

At the beginning of the year, as is my custom, I reinstalled my OS. This year however I did not reinstall XP, I decided to finally go with Windows 7. I chose Ultimate x86 (32-bit) & proceeded to adjust my partitions using Parted Magic. I then installed Win7 onto my former XP partition. I left the Ubuntu partition as it was (10.04 LTS ext3).

Win 7 gave me no problems during installation. However afterwards during the 1st boot up I noticed there was to boot options. I didn't mind at the time. When I decided to use Ubuntu, I decided since I am dual booted now as years before I was not I might as well format that partition & reinstall the 10.04 on it. I decided to use ext4 this time. Again installation was no problem. I did notice something else though, when there was no CD/DVD in the tray I got this error:

http://i894.photobucket.com/albums/ac143/Tru3b0rn/General/dvd_out.jpg

When my Win7 DVD was in the tray I got the GRUB loader (a small price to pay I thought) although it looked a lot different than the previous one.

I have 2 HDDs. The SATA is the one that is dual-booted & has 4 primary partitions as seen here:

http://i894.photobucket.com/albums/ac143/Tru3b0rn/General/SATA.jpg

The IDE is basically a dump drive.

http://i894.photobucket.com/albums/ac143/Tru3b0rn/General/IDE.jpg

Anyway I decided to format the IDE since it had not been for a long time however Windows did not give me the option to do so. I then inserted my Parted Magic CD & booted to that, formatted the IDE driver & here we are now.

As you can see the Win7 option is not present.

http://i894.photobucket.com/albums/ac143/Tru3b0rn/General/dvd_in.jpg

It was the last option in the GRUB loader.

I have tried using the Startup Recovery feature on the Win7 Installation disk to no avail. While it DOES see the OS is installed

http://i894.photobucket.com/albums/ac143/Tru3b0rn/General/os_seen.jpg

it can't seem to fix the problem.

I have also tried Test Disk which says that it is OK but clearly that is not the case.

My supervisor in work tells me I need to simply edit my grub. I have no idea how to do that.

Help me Ubuntu Community, you're my only hope!


EDIT: searched the forums for topics similar to mine & found that the command sudo update-grub fixes most instances of this error. I tried it & it worked! Thanks Ubuntu Community!