Jump to content

Trying to get rid of grub...


wellerson

Recommended Posts

So... when i was installing the new version of ubuntu on my laptop(sony vaio) vgnfw250j i accidentally wrote over my windows partition... i still have a restore partition but it wont work because when it goes through the process restarts and says grub error 22 i need to reinstall the boot loader maybe? but how? please help im trying to reinstall windows and dual boot with ubuntu 9.04 thanks.

Link to comment
https://forums.phpfreaks.com/topic/174833-trying-to-get-rid-of-grub/
Share on other sites

Humm error 22, sounds like you messed up the ubuntu partition, in any case,

boot from a windows recovery disk (or windows boot disk and choose recovery console) and type

FIXBOOT
FIXMBR

that should sort it for the restore partition, but your loss grub

 

you could also try to keep grub

 

Boot off of the live CD

Open a Terminal

sudo grub
root (hd0,0)
setup (hd0)

 

To Add windows to grub,

sudo gedit /boot/grub/menu.lst

 

and add

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

 

hope that helps

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.