What the heck has ubuntu done?!!

Associate
Joined
9 Nov 2005
Posts
767
Location
places..
heres the story:

I took my Ubuntu HDD out of my lappy, into my Win7 PC, started up wiped the Ubuntu disk (need to xfer loads of files). Later on i restart my pc with the UBUNTU drive in, and i get a Grub error (error 22) ok fair enough its booting from the broken ubuntu disk, so i remove it. SO I restart with ONLY my win7 disk in ....................GRUB ERROR 22

What the hell!!!! what is Grub doing on my win7 disk??? AM i going to have to use Grub as my boot loader now (reinstall grub as if dual booting?)

:mad: This has annoyed me a lot!! weill somebody please help me?!!!

please, you will win an internet!
 
Boot to your windows 7 CD and press the command prompt option on the setup screen, run the commands fixmbr and fixboot and it will replace the bootloader with the winblows one.

I highly doubt Ubuntu automatically overwrote the bootloader on your HDD unless you requested it somehow.
 
Boot to your windows 7 CD and press the command prompt option on the setup screen, run the commands fixmbr and fixboot and it will replace the bootloader with the winblows one.

I highly doubt Ubuntu automatically overwrote the bootloader on your HDD unless you requested it somehow.

I have tried that with my XP cd (have overwtitten my win7 CD) obv. didnt work,

And i really dont understand why it has overwitten the bootloader on my win7 disk, im reallly wondering what has happened!

Is it possible to load win7 using grub, thats what im going to (try and) do now..
 
Last edited:
This will sound stupid but are you absolutely sure you've removed the ubuntu disk and not the windows 7 one? Grub should never do what you've described, it would be a serious bug if it did and I've personally never come across anything like it.

For the record, you cannot use grub as a bootloader without ubuntu (or some form of linux) installed. The reason being is that the files for booting with grub are stored in the linux partition (/boot) itself, not on the mbr. The mbr is just used to effectively point the bios in the right direction.

Yep Grub can boot windows nicely.

You just need to edit /boot/grub/menu.lst and add something like what's in this guide:

http://www.linuxtopia.org/online_bo...nofficial_ubuntu_starter_guide/index_132.html

I agree its very strange if it silently overwrote the bootloader on your windows drive with no prompts. I guess it must have got confused over the drive boot order or something and tried to self fix.

If I understand correctly he's removed ubuntu though.
 
Last edited:
|Thomas| said:
If I understand correctly he's removed ubuntu though.

Ah yer sorry good point. I guess he will have to boot to a live cd and reinstall grub then. Better off just installing the windows bootloader again if that's the case.
 
I struggle to believe that ubuntu did this unrequested. What do you mean by 'wiped' exactly?

Don't need linux installed to have grub, google grub4dos.
 
I had something similar.. Had a machine with XP-Pro, Vista64, Win7-64 and Ubuntu 64bit on a Quad Boot (testing software)..

All the Discs were wiped and Formatted getting rid of all traces of the above OS's. Re-Installed Vista64 and re-booted only for a Grub Error 22 to pop up!..

Tried everything I could think of, Wiping the Discs again, removing some and replacing after install.. everytime - Grub Error 22...

Used EasyBCD did a 'Military Grade' Wipe of All discs, re-installed Vista64 again... all worked nicely! :)
 
Back
Top Bottom