Sunday, June 24, 2007

vuck fista (how to save GRUB from the Vista bootloader)

I'll prolly write a full rant at some point in the near future but here is the condensed version. Months and Months ago, i bought this laptop. By the end of the first weekend i had it dual booting with Edgy as my Primary OS. Yay me!
well, i bought this laptop in the short time where the computer manufacturers thought that giving coupons for free Vista upgrades was worth their time and money.
Anyway, i sent in my coupon immediately and promptly (i sent in the coupon in January) received my very own copy of vista home premium.. should i upgrade my perfectly functional copy of XP that is used once a month?

Why the hell not?

Upgraded to vista (more to rant about later)

Vista has it's own bootloader and it doesn't ask if you like GRUB.

Bye GRUB!

so.. i spent today getting GRUB back... nothing i found in the support forums (thanks lytri) worked all the way through...
here is what you do:

Get a Ubuntu LiveCD... Boot with it
open up your terminal and type ('$' represents the prompt, don't type it):
$ sudo xterm (so you actually can do stuff as root... note: the next steps were the ones i couldn't do without 'sudo xterm')
$ grub (this brings you into the grub editor or something... if yot get scared type quit)
$ find /root/boot/stage1 (this kept saying 'not found' if you didnt do the sudo xterm and run it in the new window)
i got hd0, 2... so the next thing was:
$ root (hd0,2)
then
$ setup (hd0)
and
$ quit
and then i removed the ubuntu livecd and restarted... yay! my old GRUB was restored and everything worked again
Here is a forum thread that helped a lot:
http://ubuntuforums.org/showthread.php?t=224351

oh... then i went into /boot/grub/menu.lst (via 'sudo gedit /boot/grub/menu.lst') and just modified my previous Windows XP entry to say:

title Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1

more bitching about Fista to come (because vista is more like a horribly violent anal fisting than a beautiful view.. piece of shit)