I had the luminous number 7 day today!

Drupal 7 came out and I tested it, great! I was not blown away but I hope * correction - I will * be blown away with the underneath codebasis that was so vastly improved! But everything takes time ofcourse..! :-)

But.. I also installed windows 7 and there was a painful issue.. Windows had overwritten my option to boot ubuntu/linux..! (In other terms, he changed the bootloader from GRUB to private MS bootloader)

Motivation why I installed Win 7? Even though I’m clearly an ubuntu/linux fan, you should keep your friends close but your enemies closer they say..! :-) And I need it for photoshop.. Damn you adobe!

note : If you never had a bootable windows install before then this is not the solution I guess. Comments are always welcome to tell me how you would work if you never had a bootable windows partition before.

A really easy solution to get our original grub back

  • Download gparted live cd/usb
  • Follow the instructions to put it on a bootable USB or burn it on a cd
  • Boot from the usb/cd
  • Double click the terminal icon and type the following code
sudo grub
find /boot/grub/stage1

It will return you something like **** (hd1,0)

  • Continue with the following code and replace (hdX,Y) with what you found in step 4
root (hdX,Y)
setup (hdX)
quit
  • Reboot your pc and behold! A lovely grub bootloader again with windows boot in there as well.

Enjoy this fast and easy solution!